aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.h
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2014-12-17 00:31:44 -0500
committerPeter Todd <pete@petertodd.org>2015-10-08 17:48:10 +0200
commit6ea5ca4b4e067cac3ad8de2027266bc62a8cb106 (patch)
tree765b9c5b3d55b151d207767945212778ef248b3a /src/script/standard.h
parent4fa7a048d1cc2309b64a58fdf4ecb593058d5ed6 (diff)
downloadbitcoin-6ea5ca4b4e067cac3ad8de2027266bc62a8cb106.tar.xz
Enable CHECKLOCKTIMEVERIFY as a standard script verify flag
Transactions that fail CLTV verification will be rejected from the mempool, making it easy to test the feature. However blocks containing "invalid" CLTV-using transactions will still be accepted; this is *not* the soft-fork required to actually enable CLTV for production use. Rebased-From: ffd75adce01a78b3461b3ff05bcc2b530a9ce994
Diffstat (limited to 'src/script/standard.h')
-rw-r--r--src/script/standard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/standard.h b/src/script/standard.h
index e4203f3771..6d72bad230 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -51,6 +51,7 @@ static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY
SCRIPT_VERIFY_NULLDUMMY |
SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS |
SCRIPT_VERIFY_CLEANSTACK |
+ SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY |
SCRIPT_VERIFY_LOW_S;
/** For convenience, standard but not mandatory verify flags. */