Add ZIP 256: Deployment of Consensus Bug Fixes Between NU6.1 and NU6.2 - #1295
Merged
Conversation
Collaborator
Author
|
ZIP number 256 requested. |
daira
commented
Jun 10, 2026
daira
commented
Jun 10, 2026
daira
commented
Jun 11, 2026
daira
force-pushed
the
zip-256-consensus-fixes
branch
from
June 11, 2026 03:10
e76b12a to
87fcf8d
Compare
Collaborator
|
I agree on using zip 256 for this! |
daira
force-pushed
the
zip-256-consensus-fixes
branch
from
June 13, 2026 20:52
87fcf8d to
fab9280
Compare
daira
added a commit
to daira/zips
that referenced
this pull request
Jun 17, 2026
- Title -> "Version 6 Transaction Format"; drop the fee field; coinbase empty-Orchard-bundle note; reword the Orchard/Ironwood tree/nullifier-set separation. - Sighash: extend the v6 anchor move (effecting -> auth data) to Sapling as well as Orchard and Ironwood; full txid/auth digest trees and the per-node personalization table (with _v6 personalizations where the encoding changed). - Add a "Changes to ZIP 221" section: the Ironwood chain-history MMR node fields (hashEarliest/LatestIronwoodRoot, nIronwoodTxCount) [NU6.3 onward], mirroring the NU5 Orchard fields. - Add a ZIP 209 intro citing [^zip-0209]; add the [^zip-0221], [^zip-0252], [^zip-0244-txiddigest], and [^zip-0244-authorizingdatacommitment] references. - Fix the #openissues internal anchor (MMD strips hyphens). The [0, MAX_MONEY] ZIP 209 change is left as a TODO pending the ZIP 256 update in zcash#1295. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
daira
added a commit
to daira/zips
that referenced
this pull request
Jun 17, 2026
- Title -> "Version 6 Transaction Format"; drop the fee field; coinbase empty-Orchard-bundle note; reword the Orchard/Ironwood tree/nullifier-set separation. - Sighash: extend the v6 anchor move (effecting -> auth data) to Sapling as well as Orchard and Ironwood; full txid/auth digest trees and the per-node personalization table (with _v6 personalizations where the encoding changed). - Add a "Changes to ZIP 221" section: the Ironwood chain-history MMR node fields (hashEarliest/LatestIronwoodRoot, nIronwoodTxCount) [NU6.3 onward], mirroring the NU5 Orchard fields. - Add a ZIP 209 intro citing [^zip-0209]; add the [^zip-0221], [^zip-0252], [^zip-0244-txiddigest], and [^zip-0244-authorizingdatacommitment] references. - Fix the #openissues internal anchor (MMD strips hyphens). The [0, MAX_MONEY] ZIP 209 change is left as a TODO pending the ZIP 256 update in zcash#1295. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
daira
force-pushed
the
zip-256-consensus-fixes
branch
from
June 26, 2026 08:38
fab9280 to
7eaef24
Compare
have edited README.template instead. Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
daira
force-pushed
the
zip-256-consensus-fixes
branch
2 times, most recently
from
June 26, 2026 09:48
f805cba to
6dfba55
Compare
Retrospectively documents the consensus and denial-of-service bug fixes deployed between the NU6.1 and NU6.2 activations: zcashd v6.12.0 to v6.12.4 and zebra v4.2.0 to v4.5.1. Includes the soft-fork exclusion of Orchard rk = 𝓞_ℙ, conformance fixes restoring zcashd/zebra agreement, and DoS/crash hardening. The Orchard counterfeiting mitigation and NU6.2 itself are documented separately in ZIP 257. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
ZIP 258: update to be relative to the ZIP 256 changes. Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
daira
force-pushed
the
zip-256-consensus-fixes
branch
from
June 26, 2026 10:22
6dfba55 to
d6de3bf
Compare
ebfull
approved these changes
Jun 26, 2026
Collaborator
Author
|
Merging because it's in the way otherwise. |
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retrospectively documents the consensus and denial-of-service bug fixes deployed between the NU6.1 and NU6.2 activations: zcashd v6.12.0 to v6.12.4 and zebra v4.2.0 to v4.5.1.
Includes the soft-fork exclusion of Orchard$\mathsf{rk} = \mathcal{O}_{\mathbb{P}}$ , conformance fixes restoring zcashd/zebra agreement, and DoS/crash hardening. The Orchard counterfeiting mitigation and NU6.2 itself will be documented separately in ZIP 257.
This also applies the corresponding change to ZIP 209 directly (since it has already been deployed): the integer-overflow and value-range hardening in zcashd v6.12.1 extends the chain value pool balance rule to the transparent and deferred development fund pools, and additionally requires the total supply (the sum of the pool balances) not to exceed MAX_MONEY. ZIP 258's pending changes to ZIP 209 are updated to be relative to these.
Finally, it corrects
README.template, which a previously merged change had left inconsistent with the generatedREADME.rst(regeneration would otherwise have reverted that change).closes #1294
Filed with the assistance of Claude Opus 4.8 (1M context)