diff --git a/ch07.asciidoc b/ch07.asciidoc index e8ef0dfb..7d1c3990 100644 --- a/ch07.asciidoc +++ b/ch07.asciidoc @@ -145,15 +145,15 @@ echo \ 54c557e07dde5bb6cb791c7a540e0a4796f5e97e ---- +The series of commands above first encodes Mohammed's multisig redeem script as a serialized hex-encoded bitcoin Script. The next +bx+ command calculates the SHA256 hash of that. The next +bx+ command hashes again with RIPEMD160, producing the final script-hash: The 20-byte hash of Mohammed's redeem script is: - ---- 54c557e07dde5bb6cb791c7a540e0a4796f5e97e ---- -A P2SH transaction locks the output to this hash instead of the longer script, using the locking script: +A P2SH transaction locks the output to this hash instead of the longer redeem script, using the locking script: ---- HASH160 54c557e07dde5bb6cb791c7a540e0a4796f5e97e EQUAL