Add locktime to payout tx

This commit is contained in:
Manfred Karrer 2015-04-06 21:44:01 +02:00
parent f24ebb9038
commit 08dde43ffc
33 changed files with 620 additions and 198 deletions

View file

@ -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);

View file

@ -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);
}