forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Mar 23, 2022, 04:13 am

Title: How do pre-segwit clients evaluate segwit spends true?
Post by: Bitcoin on Mar 23, 2022, 04:13 am
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? (https://bitcoin.stackexchange.com/questions/112944/how-do-pre-segwit-clients-evaluate-segwit-spends-true)