Skip to content

Update consensus branch ID for Canopy activation#12

Open
simbav911 wants to merge 1 commit intobitcoinz-dev-tools:masterfrom
z-bitcoinz:master
Open

Update consensus branch ID for Canopy activation#12
simbav911 wants to merge 1 commit intobitcoinz-dev-tools:masterfrom
z-bitcoinz:master

Conversation

@simbav911
Copy link

Summary

  • Update sighash consensus branch ID from Sapling (0x76b809bb) to Canopy (0xe9ff75a6)
  • Canopy activated at block 1,735,000 on BitcoinZ mainnet

Why this is needed

After Canopy activation, any wallet using this library (VDL, Coinomi, etc.) creates transactions signed with the old Sapling branch ID. Nodes reject these transactions because Canopy requires the new branch ID in the sighash personalization.

This one-line fix restores wallet functionality for all downstream consumers of bitcore-lib-btcz.

Temporary fix

Until this PR is merged, wallets can point to the fork at z-bitcoinz/bitcore-lib-btcz which already includes this fix.

Canopy activated at block 1,735,000 on BitcoinZ mainnet. Transactions
must be signed with the Canopy branch ID or nodes will reject them.
This fixes wallet breakage for any wallet using bitcore-lib-btcz
(VDL, Coinomi, etc).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant