diff options
author | Luke-Jr <luke_github1@dashjr.org> | 2016-06-24 12:36:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 12:36:50 +0000 |
commit | eab92a156e11542fa2eea518818e7ca7ccef5c6d (patch) | |
tree | 3b5aba7a8687003dc32906d1840a081119c59a7b /bip-0112.mediawiki | |
parent | ae70f3ec69bf3e66c28fa3a7813c08fdce125dab (diff) | |
parent | 7478ee3260c0d3c0cef39233931b307691764edc (diff) | |
download | bips-eab92a156e11542fa2eea518818e7ca7ccef5c6d.tar.xz |
Merge pull request #411 from jl2012/bip112_114_fix
BIP112/114 example fix
Diffstat (limited to 'bip-0112.mediawiki')
-rw-r--r-- | bip-0112.mediawiki | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bip-0112.mediawiki b/bip-0112.mediawiki index 19f74b6..e19e0e9 100644 --- a/bip-0112.mediawiki +++ b/bip-0112.mediawiki @@ -138,10 +138,10 @@ A simple output, paying to Alice might then look like: HASH160 <revokehash> EQUAL IF - <Bob key hash> + <Bob's pubkey> ELSE "24h" CHECKSEQUENCEVERIFY DROP - <Alice key hash> + <Alice's pubkey> ENDIF CHECKSIG @@ -153,10 +153,10 @@ With CHECKLOCKTIMEVERIFY, this would look like: HASH160 <revokehash> EQUAL IF - <Bob key hash> + <Bob's pubkey> ELSE "2015/12/15" CHECKLOCKTIMEVERIFY DROP - <Alice key hash> + <Alice's pubkey> ENDIF CHECKSIG @@ -181,13 +181,13 @@ Alice might look like the following in Alice's commitment transaction: IF "24h" CHECKSEQUENCEVERIFY 2DROP - <Alice key hash> + <Alice's pubkey> ELSE <Commit-Revocation-Hash> EQUAL NOTIF "2015/10/20 10:33" CHECKLOCKTIMEVERIFY DROP ENDIF - <Bob key hash> + <Bob's pubkey> ENDIF CHECKSIG @@ -196,12 +196,12 @@ and correspondingly in Bob's commitment transaction: HASH160 DUP <R-HASH> EQUAL SWAP <Commit-Revocation-Hash> EQUAL ADD IF - <Alice key hash> + <Alice's pubkey> ELSE "2015/10/20 10:33" CHECKLOCKTIMEVERIFY "24h" CHECKSEQUENCEVERIFY 2DROP - <Bob key hash> + <Bob's pubkey> ENDIF CHECKSIG |