mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-06 21:54:19 -04:00
Version 0.1.3 interrupted trade process working fine
This commit is contained in:
parent
0008202037
commit
aa1e141900
39 changed files with 209 additions and 148 deletions
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<artifactId>parent</artifactId>
|
||||
<groupId>io.bitsquare</groupId>
|
||||
<version>0.1.2-SNAPSHOT</version>
|
||||
<version>0.1.3-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ import org.springframework.core.env.Environment;
|
|||
public class BootstrapNode {
|
||||
private static final Logger log = LoggerFactory.getLogger(BootstrapNode.class);
|
||||
|
||||
private static final String VERSION = "0.1.3";
|
||||
|
||||
private static Peer peer = null;
|
||||
|
||||
private final Environment env;
|
||||
|
@ -51,7 +53,6 @@ public class BootstrapNode {
|
|||
public void start() {
|
||||
String name = env.getRequiredProperty(Node.NAME_KEY);
|
||||
int port = env.getProperty(Node.PORT_KEY, Integer.class, Node.DEFAULT_PORT);
|
||||
|
||||
try {
|
||||
Number160 peerId = Number160.createHash(name);
|
||||
|
||||
|
@ -94,7 +95,7 @@ public class BootstrapNode {
|
|||
}
|
||||
});
|
||||
|
||||
log.info("Bootstrap node started with name " + name + " and port " + port);
|
||||
log.info("Bootstrap node started with name " + name + " ,port " + port + " and version " + VERSION);
|
||||
new Thread(() -> {
|
||||
while (true) {
|
||||
if (peer.peerBean().peerMap().all().size() > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue