aboutsummaryrefslogtreecommitdiff
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:50:56 +0200
commit0e01d0f89d4f24eac7c8a21a6779e7956ad13a87 (patch)
tree9a6892a8cf18f7d4784c04bff0aff16d34767a5d
parent6d0132520c6944a2f9f0d571e88d7fd57f805c38 (diff)
downloadbitcoin-0e01d0f89d4f24eac7c8a21a6779e7956ad13a87.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
-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 7079574b8c..d7f023f208 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -50,6 +50,7 @@ static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY
SCRIPT_VERIFY_MINIMALDATA |
SCRIPT_VERIFY_NULLDUMMY |
SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS |
+ SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY |
SCRIPT_VERIFY_LOW_S;
/** For convenience, standard but not mandatory verify flags. */