Browse Source

paypro: example - add extra arguments for experimentation.

patch-2
Christopher Jeffrey 11 years ago
parent
commit
bd227930e1
  1. 7
      examples/PayPro/server.js

7
examples/PayPro/server.js

@ -288,7 +288,10 @@ app.post('/-/pay', function(req, res, next) {
});
print('Broadcasting transaction...');
conn.sendTx(tx);
if (!argv['no-tx']) {
conn.sendTx(tx);
}
});
} else {
print('No BTC network connection. Retrying...');
@ -311,7 +314,7 @@ var peerman = new bitcore.PeerManager({
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.bitcoin.petertodd.org', 18333));

Loading…
Cancel
Save