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
9cf8896cd7
commit
2e9c1d1a9d
@ -1355,7 +1355,7 @@ to the receiver in the manner that the receiver ((("P2WPKH (pay to witness publi
|
|||||||
[[p2wsh]]
|
[[p2wsh]]
|
||||||
===== Pay to witness script hash
|
===== Pay to witness script hash
|
||||||
|
|
||||||
The second type of
|
The ((("P2WSH (pay to witness script hash)", id="p2wsh")))((("output scripts", "P2WSH (pay to witness script hash)", id="output-script-p2wsh")))second type of
|
||||||
segwit v0 witness program corresponds to a pay to script hash (P2SH) script. We
|
segwit v0 witness program corresponds to a pay to script hash (P2SH) script. We
|
||||||
saw this type of script in <<p2sh>>. In that example, P2SH was used by
|
saw this type of script in <<p2sh>>. In that example, P2SH was used by
|
||||||
Mohammed's company to express a multisignature script. Payments to
|
Mohammed's company to express a multisignature script. Payments to
|
||||||
@ -1444,7 +1444,7 @@ critical difference between them is the length of the witness program:
|
|||||||
|
|
||||||
This is the one difference that allows a full node to differentiate between
|
This is the one difference that allows a full node to differentiate between
|
||||||
the two types of witness programs. By looking at the length of the hash,
|
the two types of witness programs. By looking at the length of the hash,
|
||||||
a node can determine what type of witness program it is, P2WPKH or
|
a node can determine what type of witness program it is, P2WPKH ((("P2WSH (pay to witness script hash)", startref="p2wsh")))((("output scripts", "P2WSH (pay to witness script hash)", startref="output-script-p2wsh")))or
|
||||||
P2WSH.
|
P2WSH.
|
||||||
|
|
||||||
==== Upgrading to Segregated Witness
|
==== Upgrading to Segregated Witness
|
||||||
|
Loading…
Reference in New Issue
Block a user