networks: update testnet slowHeight.
This commit is contained in:
parent
8f09755533
commit
1e3cc80e2d
@ -811,6 +811,8 @@ Pool.prototype.handleAddr = function handleAddr(peer, addrs) {
|
|||||||
var services = this.options.requiredServices;
|
var services = this.options.requiredServices;
|
||||||
var i, addr;
|
var i, addr;
|
||||||
|
|
||||||
|
this.emit('addr', addrs, peer);
|
||||||
|
|
||||||
if (this.options.noDiscovery)
|
if (this.options.noDiscovery)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -823,11 +825,9 @@ Pool.prototype.handleAddr = function handleAddr(peer, addrs) {
|
|||||||
if (!addr.hasServices(services))
|
if (!addr.hasServices(services))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (this.hosts.add(addr, peer.address))
|
this.hosts.add(addr, peer.address);
|
||||||
this.emit('host', addr, peer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emit('addr', addrs, peer);
|
|
||||||
this.fillOutbound();
|
this.fillOutbound();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -580,9 +580,8 @@ testnet.block = {
|
|||||||
bip66hash: '82a14b9e5ea81d4832b8e2cd3c2a6092b5a3853285a8995ec4c8042100000000',
|
bip66hash: '82a14b9e5ea81d4832b8e2cd3c2a6092b5a3853285a8995ec4c8042100000000',
|
||||||
pruneAfterHeight: 1000,
|
pruneAfterHeight: 1000,
|
||||||
keepBlocks: 10000,
|
keepBlocks: 10000,
|
||||||
// maxTipAge: 0x7fffffff
|
|
||||||
maxTipAge: 24 * 60 * 60,
|
maxTipAge: 24 * 60 * 60,
|
||||||
slowHeight: 750000
|
slowHeight: 950000
|
||||||
};
|
};
|
||||||
|
|
||||||
testnet.bip30 = {};
|
testnet.bip30 = {};
|
||||||
@ -896,7 +895,6 @@ segnet4.block = {
|
|||||||
bip66hash: '6c48386dc7c460defabb5640e28b6510a5f238cdbe6756c2976a7e0913000000',
|
bip66hash: '6c48386dc7c460defabb5640e28b6510a5f238cdbe6756c2976a7e0913000000',
|
||||||
pruneAfterHeight: 1000,
|
pruneAfterHeight: 1000,
|
||||||
keepBlocks: 10000,
|
keepBlocks: 10000,
|
||||||
// maxTipAge: 0x7fffffff,
|
|
||||||
maxTipAge: 24 * 60 * 60,
|
maxTipAge: 24 * 60 * 60,
|
||||||
slowHeight: 0x7fffffff
|
slowHeight: 0x7fffffff
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user