Skip to content

Add ZIP 256: Deployment of Consensus Bug Fixes Between NU6.1 and NU6.2#1295

Open
daira wants to merge 1 commit into
zcash:mainfrom
daira:zip-256-consensus-fixes
Open

Add ZIP 256: Deployment of Consensus Bug Fixes Between NU6.1 and NU6.2#1295
daira wants to merge 1 commit into
zcash:mainfrom
daira:zip-256-consensus-fixes

Conversation

@daira

@daira daira commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

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 another ZIP.

closes #1294

@daira

daira commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator Author

ZIP number 256 requested.

Comment thread zips/zip-0256.md Outdated
Comment thread zips/zip-0256.md Outdated
Comment thread zips/zip-0256.md Outdated
@daira daira force-pushed the zip-256-consensus-fixes branch from e76b12a to 87fcf8d Compare June 11, 2026 03:10
@ValarDragon

ValarDragon commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

I agree on using zip 256 for this!

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>
@daira daira changed the title Add ZIP XXX: Deployment of Consensus Bug Fixes Between NU6.1 and NU6.2 Add ZIP 256: Deployment of Consensus Bug Fixes Between NU6.1 and NU6.2 Jun 13, 2026
@daira daira force-pushed the zip-256-consensus-fixes branch from 87fcf8d to fab9280 Compare June 13, 2026 20:52
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>
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.

[ZIP 256] Deployment of Consensus Bug Fixes Between NU6.1 and NU6.2

2 participants