diff options
author | Peter Todd <pete@petertodd.org> | 2014-09-29 03:44:25 -0400 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2015-10-08 17:39:17 +0200 |
commit | 6d0132520c6944a2f9f0d571e88d7fd57f805c38 (patch) | |
tree | ea3a680e1167a5d05fec040d4a12482e09a1a298 /src/secp256k1 | |
parent | 750d54f9510d784c2a502089754241986fb1338a (diff) | |
download | bitcoin-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/secp256k1')
0 files changed, 0 insertions, 0 deletions