aboutsummaryrefslogtreecommitdiff
path: root/src/script/bitcoinconsensus.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-01-19 18:37:21 -0500
committerPieter Wuille <pieter.wuille@gmail.com>2015-02-01 17:57:38 -0400
commit773c30d7564882d347ec80c77992a61935f6675a (patch)
treeeac9f501a25520de08e216b43fe693813873f6f6 /src/script/bitcoinconsensus.h
parent18695f08ef1150851b3ff86cdf7bd5870f65e1dd (diff)
downloadbitcoin-773c30d7564882d347ec80c77992a61935f6675a.tar.xz
BIP66 changeover logic
Diffstat (limited to 'src/script/bitcoinconsensus.h')
-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 15e3337a8d..c57d8b3cc5 100644
--- a/src/script/bitcoinconsensus.h
+++ b/src/script/bitcoinconsensus.h
@@ -46,6 +46,7 @@ enum
{
bitcoinconsensus_SCRIPT_FLAGS_VERIFY_NONE = 0,
bitcoinconsensus_SCRIPT_FLAGS_VERIFY_P2SH = (1U << 0), // evaluate P2SH (BIP16) subscripts
+ bitcoinconsensus_SCRIPT_FLAGS_VERIFY_DERSIG = (1U << 2), // enforce strict DER (BIP66) compliance
};
/// Returns 1 if the input nIn of the serialized transaction pointed to by