temporary fix for segwit networks.
This commit is contained in:
parent
cc6018a94e
commit
e884a9ed48
@ -701,7 +701,7 @@ Chain.prototype.getDeployments = function getDeployments(block, prev, ancestors,
|
|||||||
if (err)
|
if (err)
|
||||||
return next(err);
|
return next(err);
|
||||||
|
|
||||||
if (active) {
|
if (active && self.network.witness) {
|
||||||
state.flags |= constants.flags.VERIFY_WITNESS;
|
state.flags |= constants.flags.VERIFY_WITNESS;
|
||||||
if (!self.state.hasWitness())
|
if (!self.state.hasWitness())
|
||||||
self.logger.warning('Segwit has been activated.');
|
self.logger.warning('Segwit has been activated.');
|
||||||
|
|||||||
@ -542,7 +542,7 @@ testnet.block = {
|
|||||||
slowHeight: 750000
|
slowHeight: 750000
|
||||||
};
|
};
|
||||||
|
|
||||||
testnet.witness = false;
|
testnet.witness = true;
|
||||||
|
|
||||||
testnet.segwitHeight = 2000000000;
|
testnet.segwitHeight = 2000000000;
|
||||||
|
|
||||||
@ -602,7 +602,7 @@ testnet.maxRate = 40000;
|
|||||||
|
|
||||||
testnet.selfConnect = false;
|
testnet.selfConnect = false;
|
||||||
|
|
||||||
testnet.requestMempool = true;
|
testnet.requestMempool = false;
|
||||||
|
|
||||||
testnet.batchSize = [
|
testnet.batchSize = [
|
||||||
[100000, 500],
|
[100000, 500],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user