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
pull/1097/head
Refael Jan 3 months ago committed by GitHub
parent 6d1c26e164
commit dd39f9ebae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save