This diff makes tx version 3 standard and consensus compliant after wellington activation. The versions 2 and 3 have similar meaning.
Depends on D13223.
Differential D13224
[consensus] Extend the accepted tx versions to 3 Fabien on Mar 2 2023, 13:50. Authored by
Details
Diff Detail
Event TimelineComment Actions There is a test in mempool_accept.py checking that version 3 is rejected from the mempool. Should this be addressed in this diff? self.log.info('Some nonstandard transactions') tx = FromHex(CTransaction(), raw_tx_reference) tx.nVersion = 3 # A version currently non-standard self.check_mempool_result( result_expected=[ {'txid': tx.rehash(), 'allowed': False, 'reject-reason': 'version'}], rawtxs=[ToHex(tx)], ) It is not wrong right now, but it will fail after wellington. Comment Actions After discussion with the various involved actors, I decided the benefit does not warrant the maintenance cost for this change. |