From 79f6ed1854ef959841b832dccb674d27c35e3b6b Mon Sep 17 00:00:00 2001
From: mruddy <mruddy@users.noreply.github.com>
Date: Mon, 22 Jun 2015 00:01:03 -0400
Subject: add section on ability to freeze funds, updated link to bitcoin-dev
 list, and added section on implementations

---
 bip-0065.mediawiki | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

(limited to 'bip-0065.mediawiki')

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.
+
-- 
cgit v1.2.3

