mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-01-23 14:11:00 +00:00
CH07: Minor: wallets don't need to know what type of wit prog they spend to
This commit is contained in:
parent
d84c3be909
commit
90eafb5df8
@ -1502,7 +1502,7 @@ the other as a script hash, which is satisfied by a witness script. The
|
|||||||
|
|
||||||
This is the one difference that allows a wallet to differentiate between
|
This is the one difference that allows a wallet 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 wallet can determine what type of witness program it is, P2WPKH or
|
a node can determine what type of witness program it is, P2WPKH or
|
||||||
P2WSH.
|
P2WSH.
|
||||||
|
|
||||||
==== Upgrading to Segregated Witness
|
==== Upgrading to Segregated Witness
|
||||||
|
Loading…
Reference in New Issue
Block a user