mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 16:18:11 +00:00
Edited ch07_authorization-authentication.adoc with Atlas code editor
This commit is contained in:
parent
4928e169d8
commit
0964f2c860
@ -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]]
|
||||||
|
Loading…
Reference in New Issue
Block a user