Skip to content

Add Zcash NU7 fee burning and NSM accounting - #122

Open
alexqrid wants to merge 1 commit into
zec-nu6.3from
zec-nu7
Open

alexqrid wants to merge 1 commit into
zec-nu6.3from
zec-nu7

Conversation

@alexqrid

@alexqrid alexqrid commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add parser support for the Zcash NU7 Network Sustainability Mechanism.

Changes

  • Burn 60% of total transaction fees at block level, as specified by ZIP 235.
  • Round the fee contribution once per block rather than per transaction.
  • Track the Network Sustainability Mechanism balance using the nsm-pool special address.
  • Seed the Mainnet NSM balance with 36,858,445,520 zatoshi at NU7 activation height 3,543,405.
  • Implement NSM reissuance from height 8,939,664 using the ZIP 237 ceiling calculation.
  • Exclude the NSM balance from circulating supply.
  • Preserve transaction zero-sum and shielded-pool consistency checks.
  • Leave mempool accounting unchanged because fee burning is determined at block level.

The accumulated nsm-pool balance can be compared with
getblockchaininfo.nsmValueBalanceZat.

References

Validation

  • git diff --check passes.
  • PHP lint and module tests were not run because PHP is unavailable in the local environment.

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.

2 participants