The Ledger
Zcash forum member proposes overhaul of consensus branch IDs
A Zcash forum member proposes splitting consensus branch IDs by pool, transaction direction and backward compatibility. The proposal also calls for recent block hashes in transactions to address replay risks across forks.

A Zcash forum member has proposed splitting consensus branch IDs into separate identifiers for pools, transaction direction and backward compatibility, with the aim of reducing disruption when network rules change. The member, posting as zeckzodel, also called for transactions to include a recent block hash to address a potential replay risk across forks.
The post is a proposal for discussion, not an adopted network change. Published on December 1, it says its immediate goal is to raise awareness of the trade-offs associated with the current ID system.
Payment arrangements and upgrades
The existing mechanism allows Zcash to make design changes that invalidate pending transactions or transactions from older wallet apps, according to the post. It also allows the network to distinguish itself from a fork that imports its history and rules, including the ID.
ZIP 200 describes replay protection after the Overwinter upgrade as relying on transaction signatures committing to a specific consensus branch ID. Such protection addresses transactions being accepted across different consensus branches.
The author argues that future durable payment arrangements, such as subscriptions, could be disrupted if ID changes periodically invalidate them. At present, crossing an ID boundary may require a user to update a wallet app and retry a transfer; the post suggests a similar issue might apply to an emerging equivalent of Bitcoin Lightning.
Separate IDs for separate uses
Under the proposal, IDs would be partitioned by pool so that a restriction affecting one pool would not necessarily change the ID used by another. For example, a change to the Sapling ID could leave the Orchard ID unaffected, allowing old funds to be extracted from Orchard.
The proposal would also divide IDs by direction. Its hypothetical example describes separate entry and exit IDs for Ironwood, so a restriction on deposits would not necessarily prevent withdrawals.
A further division would account for backward compatibility. In an illustrative future scenario, the post describes an addition to Ironwood that would require an updated exit ID for spending from an augmented address while allowing a classic address to use earlier IDs.
Fork replay risk
The author also describes a possible attack during the period before an ID change gains community consensus: a user could be induced to sell tokens on an otherwise benign fork, only for the transaction to be replayed on Zcash. The scenario could result in a loss of funds, the post says.
To address that scenario, the proposal would require transaction data to include a recent block hash. The author argues that this would not disrupt a subscription because each payment would still need to be explicitly released by the spending wallet when a recent hash was available.
The post cautions that a malicious fork could import recent block hashes and have its miners accept them. The author also cautions that the measures would add transaction metadata visible at least when submitted to miners, and that historical analysis of the data might or might not be exploitable.
Earlier discussion
In an earlier forum discussion, ValarDragon proposed removing consensus branch ID updates to stop wallets breaking with each network upgrade. Another participant, str4d, responded that any removal proposal needed a replacement mechanism to prevent transaction replays across forks.
A separate commenter, nuttycom, preferred deploying ZIP 248 signing variants that would let users opt out of signing over the branch ID and transaction expiry height. That option would trade some replay protection for transactions remaining valid across upgrade boundaries, the commenter said.
Sources
- Original source Zcash Community Forum · Consensus branch id needs an overhaul forum.zcashcommunity.com
Other pages read
- Zcash Community Forum · Vision for january forum.zcashcommunity.com
- Zcash Improvement Proposals “ZIP 200: Network Upgrade Mechanism” zips.z.cash
Related stories
- Pearl paper proposes TEE-based fair ordering for blockchains
- Preprint claims randomized consensus tolerates mobile omissions
- Zcash Member Proposes Limits on Grant-Recipient ZCAP Votes
- Zcash forum post calls for miner input in NU7.1 poll assessment
- Zecoshi Proposes Shielded Assets for Zcash’s Ironwood Pool