mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 08:08:11 +00:00
Edited ch07_authorization-authentication.adoc with Atlas code editor
This commit is contained in:
parent
826c5261c2
commit
77c364307c
@ -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 ((("scripts", "segregated witness", "P2WPKH", id="script-segwit-p2wpkh")))((("segregated witness (segwit)", "scripts and", "P2WPKH", id="segwit-script-p2wpkh")))((("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
|
Let's start ((("scripts", "segregated witness", "P2WPKH", id="script-segwit-p2wpkh")))((("segregated witness (segwit)", "scripts and", "P2WPKH", id="segwit-script-p2wpkh")))((("P2WPKH (pay to witness public key hash)", id="p2wpkh-ch7")))((("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
|
||||||
@ -1431,7 +1431,7 @@ the legacy input script field:
|
|||||||
|
|
||||||
===== Differentiating between P2WPKH and P2WSH
|
===== Differentiating between P2WPKH and P2WSH
|
||||||
|
|
||||||
In the((("scripts", "segregated witness", "P2WPKH", startref="script-segwit-p2wpkh")))((("segregated witness (segwit)", "scripts and", "P2WPKH", startref="segwit-script-p2wpkh")))((("P2WPKH (pay to witness public key hash)", startref="p2wpkh")))((("output scripts", "P2WPKH (pay to witness public key hash)", startref="output-script-p2wpkh"))) previous two sections, we demonstrated two types of witness
|
In the((("scripts", "segregated witness", "P2WPKH", startref="script-segwit-p2wpkh")))((("segregated witness (segwit)", "scripts and", "P2WPKH", startref="segwit-script-p2wpkh")))((("P2WPKH (pay to witness public key hash)", startref="p2wpkh-ch7")))((("output scripts", "P2WPKH (pay to witness public key hash)", startref="output-script-p2wpkh"))) previous two sections, we demonstrated two types of witness
|
||||||
programs: <<p2wpkh>> and <<p2wsh>>. Both types of witness programs
|
programs: <<p2wpkh>> and <<p2wsh>>. Both types of witness programs
|
||||||
consist of the same version number followed by a data push. They
|
consist of the same version number followed by a data push. They
|
||||||
look very similar, but are interpreted very differently: one is
|
look very similar, but are interpreted very differently: one is
|
||||||
|
Loading…
Reference in New Issue
Block a user