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:
parent
6d1c26e164
commit
dd39f9ebae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user