aboutsummaryrefslogtreecommitdiff
path: root/src/script/bitcoinconsensus.h
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2014-09-29 03:44:25 -0400
committerPeter Todd <pete@petertodd.org>2015-10-08 17:39:17 +0200
commit6d0132520c6944a2f9f0d571e88d7fd57f805c38 (patch)
treeea3a680e1167a5d05fec040d4a12482e09a1a298 /src/script/bitcoinconsensus.h
parent750d54f9510d784c2a502089754241986fb1338a (diff)
downloadbitcoin-6d0132520c6944a2f9f0d571e88d7fd57f805c38.tar.xz
Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65)
<nLockTime> CHECKLOCKTIMEVERIFY -> <nLockTime> Fails if tx.nLockTime < nLockTime, allowing the funds in a txout to be locked until some block height or block time in the future is reached. Only the logic and unittests are implemented; this commit does not have any actual soft-fork logic in it. Thanks to Pieter Wuille for rebase. Credit goes to Gregory Maxwell for the suggestion of comparing the argument against the transaction nLockTime rather than the current time/blockheight directly. Rebased-From: bc60b2b4b401f0adff5b8b9678903ff8feb5867b
Diffstat (limited to 'src/script/bitcoinconsensus.h')
0 files changed, 0 insertions, 0 deletions