Activate Taproot/Tapscript on regtest (BIP 341, BIP 342)

Define a versionbits-based activation for the new consensus rules on regtest.
No activation or activation mechanism is defined for testnet or mainnet.
This commit is contained in:
Pieter Wuille
2020-09-11 14:34:17 -07:00
parent e9a021d7e6
commit d7ff237f29
6 changed files with 37 additions and 1 deletions

View File

@ -146,7 +146,19 @@ class BlockchainTest(BitcoinTestFramework):
'possible': True,
},
},
'active': False}
'active': False
},
'taproot': {
'type': 'bip9',
'bip9': {
'status': 'active',
'start_time': -1,
'timeout': 9223372036854775807,
'since': 0
},
'height': 0,
'active': True
}
})
def _test_getchaintxstats(self):