diff options
author | mruddy <mruddy@users.noreply.github.com> | 2015-06-22 00:01:03 -0400 |
---|---|---|
committer | mruddy <mruddy@users.noreply.github.com> | 2015-06-22 15:50:14 -0400 |
commit | 79f6ed1854ef959841b832dccb674d27c35e3b6b (patch) | |
tree | e5ad9c9f43567f01c0a5ae5a3cd4c3768dcbad29 /bip-0065.mediawiki | |
parent | 1e34cd7f33cd329c2a15313445c4eff2b7648fd4 (diff) |
add section on ability to freeze funds, updated link to bitcoin-dev list, and added section on implementations
Diffstat (limited to 'bip-0065.mediawiki')
-rw-r--r-- | bip-0065.mediawiki | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/bip-0065.mediawiki b/bip-0065.mediawiki index 5c687c6..3667f4c 100644 --- a/bip-0065.mediawiki +++ b/bip-0065.mediawiki @@ -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. + |