1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-26 18:08:31 +00:00

Edited ch07_authorization-authentication.adoc with Atlas code editor

This commit is contained in:
clenser 2023-10-19 11:40:24 +00:00
parent 4928e169d8
commit 0964f2c860

View File

@ -1267,7 +1267,7 @@ inside a P2SH script.
[[p2wpkh]] [[p2wpkh]]
===== Pay to witness public key hash (P2WPKH) ===== Pay to witness public key hash (P2WPKH)
Let's start by looking at the example of a P2PKH Let's start ((("P2WPKH (pay to witness public key hash)", id="p2wpkh")))((("output scripts", "P2WPKH (pay to witness public key hash)", id="output-script-p2wpkh")))by looking at the example of a P2PKH
output script: output script:
.Example P2PKH output script .Example P2PKH output script
@ -1349,7 +1349,7 @@ P2WPKH should be constructed by the receiver by converting a compressed
public key to a P2WPKH hash. Neither the spender nor anyone else should public key to a P2WPKH hash. Neither the spender nor anyone else should
ever transform a P2PKH script, Bitcoin address, or uncompressed public ever transform a P2PKH script, Bitcoin address, or uncompressed public
key to a P2WPKH witness script. In general, a spender should only send key to a P2WPKH witness script. In general, a spender should only send
to the receiver in the manner that the receiver indicated. to the receiver in the manner that the receiver ((("P2WPKH (pay to witness public key hash)", startref="p2wpkh")))((("output scripts", "P2WPKH (pay to witness public key hash)", startref="output-script-p2wpkh")))indicated.
==== ====
[[p2wsh]] [[p2wsh]]