Implement NULLDUMMY softfork
Github-Pull: #8636 Rebased-From: 482f852da65457eb2fbea6b259e7568133fb81c4
This commit is contained in:
committed by
Wladimir J. van der Laan
parent
cef633ce63
commit
9dfa0c8d90
@@ -2399,6 +2399,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
|
||||
// Start enforcing WITNESS rules using versionbits logic.
|
||||
if (IsWitnessEnabled(pindex->pprev, chainparams.GetConsensus())) {
|
||||
flags |= SCRIPT_VERIFY_WITNESS;
|
||||
flags |= SCRIPT_VERIFY_NULLDUMMY;
|
||||
}
|
||||
|
||||
int64_t nTime2 = GetTimeMicros(); nTimeForks += nTime2 - nTime1;
|
||||
|
||||
Reference in New Issue
Block a user