From dd39f9ebae2ba880a6b442e201c02f9dc2f1ab9e Mon Sep 17 00:00:00 2001 From: Refael Jan Date: Thu, 22 Feb 2024 12:32:11 +0200 Subject: [PATCH] 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 --- ch06_transactions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch06_transactions.adoc b/ch06_transactions.adoc index db25c8f3..1b1af64d 100644 --- a/ch06_transactions.adoc +++ b/ch06_transactions.adoc @@ -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