networks: update testnet slowHeight.

This commit is contained in:
Christopher Jeffrey 2017-01-16 19:31:59 -08:00
parent 8f09755533
commit 1e3cc80e2d
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 4 additions and 6 deletions

View File

@ -811,6 +811,8 @@ Pool.prototype.handleAddr = function handleAddr(peer, addrs) {
var services = this.options.requiredServices;
var i, addr;
this.emit('addr', addrs, peer);
if (this.options.noDiscovery)
return;
@ -823,11 +825,9 @@ Pool.prototype.handleAddr = function handleAddr(peer, addrs) {
if (!addr.hasServices(services))
continue;
if (this.hosts.add(addr, peer.address))
this.emit('host', addr, peer);
this.hosts.add(addr, peer.address);
}
this.emit('addr', addrs, peer);
this.fillOutbound();
};

View File

@ -580,9 +580,8 @@ testnet.block = {
bip66hash: '82a14b9e5ea81d4832b8e2cd3c2a6092b5a3853285a8995ec4c8042100000000',
pruneAfterHeight: 1000,
keepBlocks: 10000,
// maxTipAge: 0x7fffffff
maxTipAge: 24 * 60 * 60,
slowHeight: 750000
slowHeight: 950000
};
testnet.bip30 = {};
@ -896,7 +895,6 @@ segnet4.block = {
bip66hash: '6c48386dc7c460defabb5640e28b6510a5f238cdbe6756c2976a7e0913000000',
pruneAfterHeight: 1000,
keepBlocks: 10000,
// maxTipAge: 0x7fffffff,
maxTipAge: 24 * 60 * 60,
slowHeight: 0x7fffffff
};