From 2fcc1db70f180e7b6135a8178b6f5f150be01bd8 Mon Sep 17 00:00:00 2001 From: "Andreas M. Antonopoulos" Date: Sat, 3 Feb 2018 15:36:16 -0600 Subject: [PATCH] wording --- ch07.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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