Peter Todd bc60b2b4b4 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.
2015-06-21 23:56:28 -04:00
..
2014-08-19 10:28:58 -04:00
2015-04-29 15:56:30 +02:00
2014-03-31 11:19:19 -03:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00
2014-08-19 23:15:58 -04:00

Description

This directory contains data-driven tests for various aspects of Bitcoin.

License

The data files in this directory are distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.