Skip to content

ZIP 308: Update migration parameters to match zcash/zcash#7132.#1290

Draft
nuttycom wants to merge 1 commit into
zcash:mainfrom
nuttycom:zip-308-update-7132
Draft

ZIP 308: Update migration parameters to match zcash/zcash#7132.#1290
nuttycom wants to merge 1 commit into
zcash:mainfrom
nuttycom:zip-308-update-7132

Conversation

@nuttycom

Copy link
Copy Markdown
Contributor

Closes #1246.

Updates the Sprout-to-Sapling migration parameters to reflect the
faster schedule implemented in zcash/zcash#7132:

  • Batch interval reduced from 500 blocks to 100 blocks (triggering
    height `99 mod 100`).
  • Expiry delta reduced from 450 to 50 blocks.
  • Two-range exponent distribution: 8..10 inclusive when the remaining
    amount to migrate exceeds 1 ZEC, falling back to the original 6..8
    range otherwise.

The Rationale was updated to note that the existing simulation table
reflects the original parameters, and the "Support in zcashd" section
gained an entry for zcash/zcash#7132. The 0.01 ZEC end-of-migration
threshold (`CENT` in the C++ implementation) is unchanged.

Filed with Claude Code assistance.

Update the Sprout-to-Sapling migration parameters to reflect the
faster schedule implemented in zcash/zcash#7132:

- Reduce the batch interval from 500 blocks to 100 blocks (triggering
  height 99 modulo 100).
- Reduce the expiry delta from 450 to 50 blocks.
- Introduce a two-range exponent distribution: 8..10 inclusive when
  the remaining amount to migrate exceeds 1 ZEC, falling back to the
  original 6..8 range otherwise.

Closes zcash#1246.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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 308] Update per zcash/zcash#7132

1 participant