paypro: example - add extra arguments for experimentation.
This commit is contained in:
parent
f972baf42c
commit
bd227930e1
|
@ -288,7 +288,10 @@ app.post('/-/pay', function(req, res, next) {
|
||||||
});
|
});
|
||||||
|
|
||||||
print('Broadcasting transaction...');
|
print('Broadcasting transaction...');
|
||||||
|
|
||||||
|
if (!argv['no-tx']) {
|
||||||
conn.sendTx(tx);
|
conn.sendTx(tx);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
print('No BTC network connection. Retrying...');
|
print('No BTC network connection. Retrying...');
|
||||||
|
@ -311,7 +314,7 @@ var peerman = new bitcore.PeerManager({
|
||||||
network: 'testnet'
|
network: 'testnet'
|
||||||
});
|
});
|
||||||
|
|
||||||
peerman.peerDiscovery = false;
|
peerman.peerDiscovery = argv.d || argv.discovery || false;
|
||||||
|
|
||||||
peerman.addPeer(new bitcore.Peer('testnet-seed.alexykot.me', 18333));
|
peerman.addPeer(new bitcore.Peer('testnet-seed.alexykot.me', 18333));
|
||||||
peerman.addPeer(new bitcore.Peer('testnet-seed.bitcoin.petertodd.org', 18333));
|
peerman.addPeer(new bitcore.Peer('testnet-seed.bitcoin.petertodd.org', 18333));
|
||||||
|
|
Loading…
Reference in New Issue