From a9093c2e3bc59438d16acb3226c03506d070eca9 Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Thu, 25 May 2017 13:49:48 -0700 Subject: [PATCH] Update 8_2_Building_a_Bitcoin_Script_with_P2SH.md --- 8_2_Building_a_Bitcoin_Script_with_P2SH.md | 1 + 1 file changed, 1 insertion(+) diff --git a/8_2_Building_a_Bitcoin_Script_with_P2SH.md b/8_2_Building_a_Bitcoin_Script_with_P2SH.md index f75e0d0..43fa4bb 100644 --- a/8_2_Building_a_Bitcoin_Script_with_P2SH.md +++ b/8_2_Building_a_Bitcoin_Script_with_P2SH.md @@ -11,6 +11,7 @@ To lock a transaction with this Script, do the following: 1. Serialize `OP_ADD 99 OP_EQUAL`: 1. OP_ADD = 0x93 — a simple opcode translation 2. 99 = 0x01, 0x63 — this opcode pushes one byte onto the stack, 99 (hex: 0x63) + * No worries about endian conversion because it's only one byte 3. OP_EQUAL = 0x87 — a simple opcode translation 4. `` = "93016387" 2. SHA-256 and RIPEMD-160 hash the serialized script.