1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-23 07:08:13 +00:00

Update ch06_transactions.adoc

small fix for the description of how output scripts in old nodes can spent segwit output script (anyone-can-spend script). The way is by using input script containing OP_TRUE command, as described in the first mention of "anyone-can-spend" in this chapter, and not by using empty input script
This commit is contained in:
Refael Jan 2024-02-22 12:32:11 +02:00 committed by GitHub
parent 6d1c26e164
commit dd39f9ebae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -952,7 +952,7 @@ program_. It's also possible to wrap the segwit template in a P2SH
commitment, but we won't deal with that in this chapter.
From the perspective of old nodes, these output script templates can be
spent with an empty input script. From the perspective of a new node that
spent with an input script containing just OP_TRUE. From the perspective of a new node that
is aware of the new segwit rules, any payment to a segwit output script
template must only be spent with an empty input script. Notice the
difference here: old nodes _allow_ an empty input script; new nodes