• Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

How do pre-segwit clients evaluate segwit spends true?

Started by Bitcoin, Mar 23, 2022, 04:13 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

How do pre-segwit clients evaluate segwit spends true?

Quoting Bitcoin wiki:



A transaction is valid if nothing in the combined script triggers
failure and the top stack item is true (non-zero).



However, P2WPKH and P2WSH scriptPubkeys are two data pushes of witness versions and witness programs with empty scriptsigs spending them. From a pre-segwit client perspective, stack is ending with data pushes which are non-true? If so how do legacy clients evaluate segwit spends true?


Source: How do pre-segwit clients evaluate segwit spends true?