mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-06 13:44:23 -04:00
Add locktime to payout tx
This commit is contained in:
parent
f24ebb9038
commit
08dde43ffc
33 changed files with 620 additions and 198 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
package io.bitsquare.app.bootstrap;
|
||||
|
||||
import io.bitsquare.p2p.BootstrapNodes;
|
||||
import io.bitsquare.p2p.Node;
|
||||
|
||||
import net.tomp2p.connection.ChannelClientConfiguration;
|
||||
|
@ -52,7 +53,7 @@ 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);
|
||||
int port = env.getProperty(Node.PORT_KEY, Integer.class, BootstrapNodes.DEFAULT_PORT);
|
||||
try {
|
||||
Number160 peerId = Number160.createHash(name);
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ package io.bitsquare.app.bootstrap;
|
|||
|
||||
import io.bitsquare.app.BitsquareEnvironment;
|
||||
import io.bitsquare.app.BitsquareExecutable;
|
||||
import io.bitsquare.p2p.BootstrapNodes;
|
||||
import io.bitsquare.p2p.Node;
|
||||
|
||||
import joptsimple.OptionParser;
|
||||
|
@ -34,7 +35,7 @@ public class BootstrapNodeMain extends BitsquareExecutable {
|
|||
parser.accepts(Node.NAME_KEY, description("Name of this node", null))
|
||||
.withRequiredArg()
|
||||
.isRequired();
|
||||
parser.accepts(Node.PORT_KEY, description("Port to listen on", Node.DEFAULT_PORT))
|
||||
parser.accepts(Node.PORT_KEY, description("Port to listen on", BootstrapNodes.DEFAULT_PORT))
|
||||
.withRequiredArg()
|
||||
.ofType(int.class);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue