forex.pm forex forum binary options trade - Binance - Сryptocurrency exchanges - About Pushdata operations of non-standard size
  • Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

About Pushdata operations of non-standard size

Started by Bitcoin, Feb 19, 2022, 12:47 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

About Pushdata operations of non-standard size

Pushdata operations that are not minimally encoded are non-standard since Bitcoin Core 0.9.


My question is: how is this check performed? From reading the source code it seems that it is performed only on executed branches of the script, but it seems not quite right. It would have made more sense to me if it were performed either on the entire script or only on the scriptSig, since malleability of pushdata operations in the scriptSig is what prompted for the check in the first place.


Am I wrong?


Source: About Pushdata operations of non-standard size