Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Conversation

argjv
Copy link
Contributor

@argjv argjv commented Aug 27, 2019

Update Zcash branch id due to Blossom network upgrade in testnet following https://github.com/zcash/zips/blob/master/zip-0206.rst#specification

@argjv argjv self-assigned this Aug 27, 2019
@argjv argjv requested review from dpc, marktoda and paddyquinn August 27, 2019 21:06
3: 0x5ba81b19,
4: 0x76b809bb
// 4: 0x76b809bb (old Sapling branch id)
4: 0x2bb40e60
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does the old sapling branch id get commented out in favor of blossom? Why doesn't sapling stay as branch id 4 and blossom become branch id 5?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The enum id (4) is actually the transaction id. This one is changed every time the transaction struct changes. Last time it happened was when Sapling was introduced. For Blossom, the struct is the same, but the branch id was updated to 0x2bb40e60 https://github.com/zcash/zips/blob/master/zip-0205.rst#specification

@argjv argjv requested a review from paddyquinn August 28, 2019 20:21
@argjv argjv merged commit 51a3108 into master Aug 28, 2019
TomasZorvan pushed a commit to trezor/trezor-utxo-lib that referenced this pull request Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants