Skip to content

Conversation

@codablock
Copy link

56ff71f mistakenly increased the coinbase transaction version instead
of the block version. This fixes it.

56ff71f mistakenly increased the coinbase transaction version instead
of the block version. This fixes it.
@UdjinM6 UdjinM6 added this to the 12.3 milestone Apr 30, 2018
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK


CMutableTransaction txNew;
txNew.nVersion = 4;
txNew.nVersion = 2;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: v1 should be enough here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v2 started to use the height in coinbase and I wanted to provide the height in the genesis block as well. don't remember however why I wanted this in the first place

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are confusing tx/block version here again then - block v2 (bip34) started to use height, tx v2 is about bip68, not bip34.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you're right. This confusion seems to haunt me...adding a commit on top

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-ACK

Copy link

@nmarley nmarley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 added the bug label May 10, 2018
@UdjinM6 UdjinM6 merged commit 1dbf5a0 into dashpay:develop May 13, 2018
@codablock codablock deleted the pr_fix_devnet_genesis_version branch September 14, 2018 12:50
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
* Fix transaction/block versions for devnet genesis blocks

56ff71f mistakenly increased the coinbase transaction version instead
of the block version. This fixes it.

* Use v1 for coinbase transaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants