zips icon indicating copy to clipboard operation
zips copied to clipboard

[zip 202] clarification - were v3 transactions valid pre-Overwinter?

Open karelbilek opened this issue 7 years ago • 4 comments

I do not fully understand the migration from current tx format to v3 tx format. Please clarify if I understand this correctly.

  • Currently, pre-fork, only v1 and v2 transactions are valid
  • After the fork, only v3 transactions are valid

If we want our software to work both pre-fork and post-fork, we will need to create only v1 transactions now and only v3 transactions post-fork. Is this understanding correct?

karelbilek avatar May 16 '18 13:05 karelbilek

Yes on both points.

Pre-upgrade: only v1 and v2 txs are valid.

Post-upgrade: only v3 txs are valid.

bitcartel avatar May 16 '18 15:05 bitcartel

@bitcartel is correct. However, a subtle point is that the version field can be > 2 in a pre-Overwinter transaction, and according to the pre-Overwinter consensus rules this is interpreted as a v2 transaction. Don't create transactions with version field > 2 yet. The spec is going to be changed to clarify this point.

daira avatar May 18 '18 20:05 daira

This ticket is obsolete.

daira avatar Aug 21 '18 21:08 daira

Oh, no it's not because I haven't checked that there were no transactions affected by the above point in the block chain.

daira avatar Aug 21 '18 21:08 daira