Skip to content
zips.tools

ZIP 318

Orchard to Ironwood Migration

  • Draft
Proposal metadata
ID
318
Status
Draft
Category
Wallet
Created
2026-06-16
License
MIT
Contents
  1. A note on cohort size vs. per-wallet multiplicity
  2. Deployment
  3. Reference implementation
  4. Alternatives
  5. References
  6. Footnotes

For large balances:

  • The number of parts grows with the balance, and with it the expected duration of the migration (roughly MEAN_DELAY reference blocks per part). A very large balance therefore takes proportionally longer to migrate.
  • Dividing a very large note into its funding notes may require layered preparation (see Note preparation transactions), adding each layer's scheduled broadcast spread plus its mining latency to the preparation phase, and additional signing sessions if the layers are not pre-signed as a chain. This is exactly the situation of a wallet consolidating very many small notes, and the two are indistinguishable on-chain.
  • kk per cohort is bounded by K_MAX (enforced by redrawing anchor ages) to limit the per-cohort count signal, keeping per-wallet multiplicity within a range that the (canonical, ambiguous) cohort can absorb.
  • Whales remain weakly protected and may self-select to a single transfer, as above.

A note on cohort size vs. per-wallet multiplicity

This subsection is non-normative.

Two different quantities should not be conflated:

  • Cohort size (parts from all wallets at a boundary): larger is always better for privacy (bigger crowd). Coordinated boundaries exist to maximize it.
  • Per-wallet multiplicity kk: the number of a single wallet's parts in one cohort. Under canonical-only amounts, k>1k > 1 is safe (parts are unattributable), but K_MAX (enforced by redrawing anchor ages) keeps kk modest relative to expected cohort size so that per-wallet multiplicity stays well within the crowd.

Deployment

This is a Wallet-category ZIP and does not itself introduce consensus rules. It applies to wallets once the Ironwood pool is activated by its network upgrade 8 and the migration becomes relevant. The note-preparation phase MAY be performed before that activation (see Phase 1, Note preparation).

Reference implementation

TODO: link to the SDK and wallet pull requests implementing this flow. Phase 2 is intended to be implemented in a Rust backend exposed through a public SDK interface, so that wallets can integrate against a stable interface (initially with mocked data) and later switch to the production implementation.

The zcash_pool_migration crate 22 implements a backend-agnostic engine for this migration in Rust.

Alternatives

The following alternative designs were considered and rejected.

  • Migrating the raw balance in a single transfer publicly reveals the exact balance, and the transfer is trivially linkable to the wallet's other activity.

  • Random arbitrary amounts per transfer produce high-entropy values that collide with no other wallet; each transfer is a near-unique fingerprint.

  • Random partition into high-entropy pieces: the pieces sum to the balance, exposing it to subset-sum reconstruction, and each piece is self-fingerprinting.

  • Whole-ZEC bucketed parts with a high-entropy sub-1-ZEC remainder: the rare remainder is a discriminator that makes co-locating parts in a cohort dangerous, and is itself near-unique. Superseded by canonical-only quantization, which has no remainder output.

  • Randomized per-wallet multiplicity kk adds behavioural entropy — itself a fingerprint — without dispersing co-located parts; it is dominated by a deterministic, cohort-size-governed kk.

  • Guided on-open sending: creating each transfer at the moment the user opens the application makes every broadcast coincide with application opens and light-wallet-server scan-range requests, letting an observer track the wallet across the whole migration; it provides no temporal de-correlation (see Rationale for the scheduled background approach).

  • Short-interval memoryless timing (inter-transfer delays of minutes rather than hours): delays much shorter than the anchor-bucket interval compress a wallet's entire migration into one or two buckets, producing a tight, predictable burst that is itself a clustering signal, and such schedules are incompatible with shared boundary anchors (see Rationale for Poisson transfer scheduling).

  • Stateless, chain-recoverable migration (no persisted schedule): robust to restart and restore-from-seed, but statelessness is a non-requirement here, and persisted state makes temporal de-correlation and pre-signed background scheduling simpler (see Rationale for the stateful design).

  • A privacy/speed slider exposed to the user: the decision and the UI are too complex for typical users; the wallet picks sensible defaults instead.

References

Footnotes

  1. Information on BCP 14, "RFC 2119: Key words for use in RFCs to Indicate Requirement Levels" and "RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words" ↩

  2. ZIP 229: Version 6 Transaction Format ↩ ↩2 ↩3 ↩4 ↩5

  3. Zcash Protocol Specification, Version 2025.6.3 [NU6.1] or later ↩

  4. ZIP 200: Network Upgrade Mechanism ↩ ↩2

  5. Zcash Protocol Specification, Version 2025.6.3 [NU6.1]. Section 3.12: Mainnet and Testnet ↩

  6. ZIP 315: Best Practices for Wallet Implementations ↩ ↩2 ↩3 ↩4 ↩5

  7. ZIP 209: Prohibit Negative Shielded Chain Value Pool Balances ↩ ↩2 ↩3

  8. ZIP 258: Deployment of the NU6.3 Network Upgrade ↩ ↩2 ↩3

  9. ZIP 257: Deployment of the Orchard Temporary Vulnerability Mitigation and NU6.2 Network Upgrade ↩

  10. ZIP 2006: Restricting Transfers into the Orchard Pool ↩ ↩2

  11. ZIP 308: Sprout to Sapling Migration ↩ ↩2 ↩3

  12. ZIP 326: NU6.3 Consequences for Wallets, section "Restrictions on sending" ↩

  13. ZIP 218: 25-second Block Target Spacing ↩ ↩2

  14. ZIP 218: 25-second Block Target Spacing — Block target spacing ↩ ↩2

  15. ZIP 317: Proportional Transfer Fee Mechanism ↩ ↩2 ↩3

  16. ZIP 326: NU6.3 Consequences for Wallets, section "Spending from and rebalancing within the Orchard pool" ↩ ↩2

  17. Tor Project ↩

  18. Nym ↩

  19. ZIP 203: Transaction Expiry ↩

  20. ↩
  21. ZIP 244: Transaction Identifier Non-Malleability ↩

  22. zcash_pool_migration crate ↩

Citation graph

Hover or tap a node to see its title and citations.
Loading citation graph…