mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
test: set segwit height back to 0 on regtest
This was changed in #22818 from 0 to 1. Since it changes BLOCK_OPT_WIT of the genesis block, older versions of bitcoin core would not read regtest directories created with newer versions without a reindex.
This commit is contained in:
@@ -397,7 +397,7 @@ public:
|
|||||||
consensus.BIP65Height = 1; // Always active unless overridden
|
consensus.BIP65Height = 1; // Always active unless overridden
|
||||||
consensus.BIP66Height = 1; // Always active unless overridden
|
consensus.BIP66Height = 1; // Always active unless overridden
|
||||||
consensus.CSVHeight = 1; // Always active unless overridden
|
consensus.CSVHeight = 1; // Always active unless overridden
|
||||||
consensus.SegwitHeight = 1; // Always active unless overridden
|
consensus.SegwitHeight = 0; // Always active unless overridden
|
||||||
consensus.MinBIP9WarningHeight = 0;
|
consensus.MinBIP9WarningHeight = 0;
|
||||||
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
||||||
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
|
consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
|
||||||
|
|||||||
Reference in New Issue
Block a user