temporary fix for segwit networks.

This commit is contained in:
Christopher Jeffrey 2016-07-24 23:50:01 -07:00
parent cc6018a94e
commit e884a9ed48
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 3 additions and 3 deletions

View File

@ -701,7 +701,7 @@ Chain.prototype.getDeployments = function getDeployments(block, prev, ancestors,
if (err)
return next(err);
if (active) {
if (active && self.network.witness) {
state.flags |= constants.flags.VERIFY_WITNESS;
if (!self.state.hasWitness())
self.logger.warning('Segwit has been activated.');

View File

@ -542,7 +542,7 @@ testnet.block = {
slowHeight: 750000
};
testnet.witness = false;
testnet.witness = true;
testnet.segwitHeight = 2000000000;
@ -602,7 +602,7 @@ testnet.maxRate = 40000;
testnet.selfConnect = false;
testnet.requestMempool = true;
testnet.requestMempool = false;
testnet.batchSize = [
[100000, 500],