From 5e27f5a21d11c03742343a9f7d12f3c13821f1cd Mon Sep 17 00:00:00 2001 From: "myarbrough@oreilly.com" Date: Tue, 18 Nov 2014 07:58:41 -0800 Subject: [PATCH] Made changes to ch05.asciidoc --- ch05.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch05.asciidoc b/ch05.asciidoc index 4ab2ed00..d6bf6c26 100644 --- a/ch05.asciidoc +++ b/ch05.asciidoc @@ -349,9 +349,9 @@ Check the source code of the Bitcoin Core client (the reference implementation) The five standard types of transaction scripts are pay-to-public-key hash (P2PKH), public-key, multi-signature (limited to 15 keys), pay-to-script hash (P2SH), and data output (OP_RETURN), which are described in more detail in the following sections. [[p2pkh]] -==== Pay-to-Public-Key-Hash (P2PKH) +==== Pay-to-Public-Key Hash (P2PKH) -((("Pay-to-Public-Key-Hash (P2PKH)", id="ix_ch05-asciidoc15", range="startofrange")))((("transactions","Pay-to-Public-Key-Hash", id="ix_ch05-asciidoc16", range="startofrange")))The vast majority of transactions processed on the bitcoin network are Pay-to-Public-Key-Hash, also known as P2PKH transactions. These contain a locking script that encumbers the output with a public key hash, more commonly known as a bitcoin address. Transactions that pay a bitcoin address contain P2PKH scripts. An output locked by a P2PKH script can be unlocked (spent) by presenting a public key and a digital signature created by the corresponding private key. +((("pay-to-public-key hash (P2PKH)", id="ix_ch05-asciidoc15", range="startofrange")))((("transactions","pay-to-public-key hash", id="ix_ch05-asciidoc16", range="startofrange")))The vast majority of transactions processed on the bitcoin network are pay-to-public-key hash, also known as P2PKH transactions. These contain a locking script that encumbers the output with a public key hash, more commonly known as a bitcoin address. Transactions that pay a bitcoin address contain P2PKH scripts. An output locked by a P2PKH script can be unlocked (spent) by presenting a public key and a digital signature created by the corresponding private key. For example, let's look at Alice's payment to Bob's Cafe again. Alice made a payment of 0.015 bitcoin to the cafe's bitcoin address. That transaction output would have a locking script of the form: