Skip to content

Commit 6ea5ca4

Browse files
committed
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: ffd75ad
1 parent 4fa7a04 commit 6ea5ca4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/script/standard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY
5151
SCRIPT_VERIFY_NULLDUMMY |
5252
SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS |
5353
SCRIPT_VERIFY_CLEANSTACK |
54+
SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY |
5455
SCRIPT_VERIFY_LOW_S;
5556

5657
/** For convenience, standard but not mandatory verify flags. */

0 commit comments

Comments
 (0)