aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2016-07-27 22:42:13 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-07-29 01:16:57 +0200
commit8360d5b37dd4d8248da0552de40e5ea1d17f51eb (patch)
tree1342044ac2d8e403783ff560ed2212a768edc3bd
parentc3c82c48d9d7b07e1c7db134afe086b31fea34c5 (diff)
downloadbitcoin-8360d5b37dd4d8248da0552de40e5ea1d17f51eb.tar.xz
libconsensus: Expose a flag for BIP112
We added the segwit one, but we forgot CHECKSEQUENCEVERIFY Github-Pull: #8412 Rebased-From: d12b732ac287a1ed7543481b79801c9afc333b7f
-rw-r--r--src/script/bitcoinconsensus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/bitcoinconsensus.h b/src/script/bitcoinconsensus.h
index 6f868d0d6d..f73a8e30bc 100644
--- a/src/script/bitcoinconsensus.h
+++ b/src/script/bitcoinconsensus.h
@@ -51,6 +51,7 @@ enum
bitcoinconsensus_SCRIPT_FLAGS_VERIFY_P2SH = (1U << 0), // evaluate P2SH (BIP16) subscripts
bitcoinconsensus_SCRIPT_FLAGS_VERIFY_DERSIG = (1U << 2), // enforce strict DER (BIP66) compliance
bitcoinconsensus_SCRIPT_FLAGS_VERIFY_CHECKLOCKTIMEVERIFY = (1U << 9), // enable CHECKLOCKTIMEVERIFY (BIP65)
+ bitcoinconsensus_SCRIPT_FLAGS_VERIFY_CHECKSEQUENCEVERIFY = (1U << 10), // enable CHECKSEQUENCEVERIFY (BIP112)
bitcoinconsensus_SCRIPT_FLAGS_VERIFY_WITNESS = (1U << 11), // enable WITNESS (BIP141)
};