aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@xbt.hk>2016-08-31 19:38:23 +0800
committerJohnson Lau <jl2012@xbt.hk>2016-08-31 19:38:23 +0800
commit482f852da65457eb2fbea6b259e7568133fb81c4 (patch)
treedb5babd2bac902f8dde5bd0f80730633c9dba700 /src/main.cpp
parent53f8f226bd1d627c4a6dec5862a1d4ea5a933e45 (diff)
Implement NULLDUMMY softfork
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5160e60750..7eb7194a3f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2387,6 +2387,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;