# ZIP 318: Orchard to Ironwood Migration

Status: Draft

Owners: Schell Carl Scivally, Pacu Gindre, Kris Nuttycombe

Snapshot: c41951cc43d1f5074fc6821b892692a7f0d85e54

Source date: 2026-11-19T00:20:12Z

[Source revision](https://github.com/zcash/zips/commit/c41951cc43d1f5074fc6821b892692a7f0d85e54)

[Official source](https://zips.z.cash/zip-0318) · [Source file](https://github.com/zcash/zips/blob/c41951cc43d1f5074fc6821b892692a7f0d85e54/zips/zip-0318.md) · [Discussion](https://github.com/zcash/zips/issues/1315)

## Document parts

[Part 1](https://zips.tools/zip/318) · [Part 2](https://zips.tools/zip/318?part=2) · [Part 3](https://zips.tools/zip/318?part=3)

Reading part 3 of 3. Follow all parts for the complete proposal.

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](#notepreparationtransactions)), 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.

- $k$ 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 id="a-note-on-cohort-size-vs-per-wallet-multiplicity"></a>

### 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 $k$**: the number of a *single* wallet's parts in one
  cohort. Under canonical-only amounts, $k > 1$ is safe (parts are unattributable),
  but `K_MAX` (enforced by redrawing anchor ages) keeps $k$ modest relative to
  expected cohort size so that per-wallet multiplicity stays well within the
  crowd.

<a id="deployment"></a>

## 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
<a id="user-content-fnref-zip-0258-3"></a>
[8](#user-content-fn-zip-0258) and the migration becomes relevant. The note-preparation phase MAY be
performed before that activation (see
[Phase 1, Note preparation](#phase1notepreparation)).

<a id="reference-implementation"></a>

## 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 <a id="user-content-fnref-zcash-pool-migration"></a>
[22](#user-content-fn-zcash-pool-migration) implements a
backend-agnostic engine for this migration in Rust.

<a id="alternatives"></a>

## 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 $k$** adds behavioural entropy — itself
  a fingerprint — without dispersing co-located parts; it is dominated by a
  deterministic, cohort-size-governed $k$.

- **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](#rationaleforthescheduledbackgroundapproach)).

- **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](#rationaleforpoissontransferscheduling)).

- **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](#rationaleforthestatefuldesign)).

- **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.

<a id="references"></a>

## References

<a id="footnote-label"></a>

### 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"](https://www.rfc-editor.org/info/bcp14) [↩](/zip/318#user-content-fnref-bcp14)

2. [ZIP 229: Version 6 Transaction Format](/zip/229) [↩](/zip/318#user-content-fnref-zip-0229) [↩2](/zip/318#user-content-fnref-zip-0229-2) [↩3](/zip/318#user-content-fnref-zip-0229-3) [↩4](/zip/318?part=2#user-content-fnref-zip-0229-4) [↩5](/zip/318?part=2#user-content-fnref-zip-0229-5)

3. [Zcash Protocol Specification, Version 2025.6.3 [NU6.1] or later](https://zips.z.cash/protocol/protocol.pdf) [↩](/zip/318#user-content-fnref-protocol)

4. [ZIP 200: Network Upgrade Mechanism](/zip/200) [↩](/zip/318#user-content-fnref-zip-0200) [↩2](/zip/318?part=2#user-content-fnref-zip-0200-2)

5. [Zcash Protocol Specification, Version 2025.6.3 [NU6.1]. Section 3.12: Mainnet and Testnet](https://zips.z.cash/protocol/protocol.pdf#networks) [↩](/zip/318#user-content-fnref-protocol-networks)

6. [ZIP 315: Best Practices for Wallet Implementations](/zip/315) [↩](/zip/318#user-content-fnref-zip-0315) [↩2](/zip/318#user-content-fnref-zip-0315-2) [↩3](/zip/318#user-content-fnref-zip-0315-3) [↩4](/zip/318#user-content-fnref-zip-0315-4) [↩5](/zip/318?part=2#user-content-fnref-zip-0315-5)

7. [ZIP 209: Prohibit Negative Shielded Chain Value Pool Balances](/zip/209) [↩](/zip/318#user-content-fnref-zip-0209) [↩2](/zip/318#user-content-fnref-zip-0209-2) [↩3](/zip/318?part=2#user-content-fnref-zip-0209-3)

8. [ZIP 258: Deployment of the NU6.3 Network Upgrade](/zip/258) [↩](/zip/318#user-content-fnref-zip-0258) [↩2](/zip/318#user-content-fnref-zip-0258-2) [↩3](#user-content-fnref-zip-0258-3)

9. [ZIP 257: Deployment of the Orchard Temporary Vulnerability Mitigation and NU6.2 Network Upgrade](/zip/257) [↩](/zip/318#user-content-fnref-zip-0257)

10. [ZIP 2006: Restricting Transfers into the Orchard Pool](/zip/2006) [↩](/zip/318#user-content-fnref-zip-2006) [↩2](/zip/318?part=2#user-content-fnref-zip-2006-2)

11. [ZIP 308: Sprout to Sapling Migration](/zip/308) [↩](/zip/318#user-content-fnref-zip-0308) [↩2](/zip/318?part=2#user-content-fnref-zip-0308-2) [↩3](/zip/318?part=2#user-content-fnref-zip-0308-3)

12. [ZIP 326: NU6.3 Consequences for Wallets, section "Restrictions on sending"](/zip/326#restrictionsonsending) [↩](/zip/318#user-content-fnref-zip-0326-sending)

13. [ZIP 218: 25-second Block Target Spacing](/zip/218) [↩](/zip/318#user-content-fnref-zip-0218) [↩2](/zip/318?part=2#user-content-fnref-zip-0218-2)

14. [ZIP 218: 25-second Block Target Spacing — Block target spacing](/zip/218#blocktargetspacing) [↩](/zip/318#user-content-fnref-zip-0218-constants) [↩2](/zip/318?part=2#user-content-fnref-zip-0218-constants-2)

15. [ZIP 317: Proportional Transfer Fee Mechanism](/zip/317) [↩](/zip/318#user-content-fnref-zip-0317) [↩2](/zip/318#user-content-fnref-zip-0317-2) [↩3](/zip/318?part=2#user-content-fnref-zip-0317-3)

16. [ZIP 326: NU6.3 Consequences for Wallets, section "Spending from and rebalancing within the Orchard pool"](/zip/326#spendingfromandrebalancingwithintheorchardpool) [↩](/zip/318#user-content-fnref-zip-0326-orchard) [↩2](/zip/318?part=2#user-content-fnref-zip-0326-orchard-2)

17. [Tor Project](https://www.torproject.org/) [↩](/zip/318?part=2#user-content-fnref-tor)

18. [Nym](https://nymtech.net/) [↩](/zip/318?part=2#user-content-fnref-nym)

19. [ZIP 203: Transaction Expiry](/zip/203) [↩](/zip/318?part=2#user-content-fnref-zip-0203)

20. [↩](/zip/318?part=2#user-content-fnref-zip-0218-block-count-constants)

21. [ZIP 244: Transaction Identifier Non-Malleability](/zip/244) [↩](/zip/318?part=2#user-content-fnref-zip-0244)

22. [zcash_pool_migration crate](https://crates.io/crates/zcash_pool_migration) [↩](#user-content-fnref-zcash-pool-migration)

## Citation relationships

Cites: [ZIP 200](https://zips.tools/zip/200), [ZIP 203](https://zips.tools/zip/203), [ZIP 209](https://zips.tools/zip/209), [ZIP 218](https://zips.tools/zip/218), [ZIP 229](https://zips.tools/zip/229), [ZIP 244](https://zips.tools/zip/244), [ZIP 257](https://zips.tools/zip/257), [ZIP 258](https://zips.tools/zip/258), [ZIP 308](https://zips.tools/zip/308), [ZIP 315](https://zips.tools/zip/315), [ZIP 317](https://zips.tools/zip/317), [ZIP 326](https://zips.tools/zip/326), [ZIP 2006](https://zips.tools/zip/2006)

Cited by: [ZIP 229](https://zips.tools/zip/229), [ZIP 258](https://zips.tools/zip/258), [ZIP 326](https://zips.tools/zip/326), [ZIP 2006](https://zips.tools/zip/2006)