|
|
@ -171,6 +171,15 @@ assuming miners behave optimally and rationally) but only at a time |
|
|
|
sufficiently far into the future that large miners profitably can't sell the |
|
|
|
sacrifices at a discount. |
|
|
|
|
|
|
|
===Freezing Funds=== |
|
|
|
|
|
|
|
In addition to using cold storage, hardware wallets, and P2SH multisig outputs |
|
|
|
to control funds, now funds can be frozen in UTXOs directly on the blockchain. |
|
|
|
With the following scriptPubKey, nobody will be able to spend the encumbered |
|
|
|
output until the provided expiry time. This ability to freeze funds reliably may |
|
|
|
be useful in scenarios where reducing duress or confiscation risk is desired. |
|
|
|
|
|
|
|
<expiry time> CHECKLOCKTIMEVERIFY DROP DUP HASH160 <pubKeyHash> EQUALVERIFY CHECKSIG |
|
|
|
|
|
|
|
===Replacing the nLockTime field entirely=== |
|
|
|
|
|
|
@ -271,14 +280,23 @@ Thanks goes to Gregory Maxwell for suggesting that the argument be compared |
|
|
|
against the per-transaction nLockTime, rather than the current block height and |
|
|
|
time. |
|
|
|
|
|
|
|
|
|
|
|
==References== |
|
|
|
|
|
|
|
PayPub - https://github.com/unsystem/paypub |
|
|
|
|
|
|
|
Jeremy Spilman Micropayment Channels - http://www.mail-archive.com/bitcoin-development%40lists.sourceforge.net/msg02028.html |
|
|
|
Jeremy Spilman Micropayment Channels - https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2013-April/002433.html |
|
|
|
|
|
|
|
==Implementations== |
|
|
|
|
|
|
|
Python / python-bitcoinlib |
|
|
|
|
|
|
|
- https://github.com/petertodd/checklocktimeverify-demos |
|
|
|
|
|
|
|
JavaScript / Node.js / bitcore |
|
|
|
|
|
|
|
- https://github.com/mruddy/bip65-demos |
|
|
|
|
|
|
|
==Copyright== |
|
|
|
|
|
|
|
This document is placed in the public domain. |
|
|
|
|
|
|
|