Skip to content

docs: backfill SIP-2 (Voyager), SIP-3 (Tokenomics v2), SIP-4 (Reward v2)#1

Merged
satyakwok merged 2 commits into
mainfrom
docs/backfill-sip-2-3-4-historical
May 28, 2026
Merged

docs: backfill SIP-2 (Voyager), SIP-3 (Tokenomics v2), SIP-4 (Reward v2)#1
satyakwok merged 2 commits into
mainfrom
docs/backfill-sip-2-3-4-historical

Conversation

@satyakwok

@satyakwok satyakwok commented May 28, 2026

Copy link
Copy Markdown
Member

Summary

Backfill three landmark protocol SIPs that shipped on mainnet between 2026-04-25 and 2026-04-26 but were never documented in this repo:

  • SIP-2 — Voyager DPoS+BFT consensus activation. Mainnet h=579047 (DPoS) / h=579060 (EVM), 2026-04-25.
  • SIP-3 — Tokenomics v2 fork. Mainnet h=640800, 2026-04-26. Cap 210M → 315M, halving 42M → 126M blocks (BTC parity). Block reward and premine unchanged.
  • SIP-4 — Reward distribution v2. Mainnet h=590100, 2026-04-25. Coinbase → PROTOCOL_TREASURY with per-validator accumulator; ClaimRewards drains via take_delegator_rewards and transfers out of escrow.

All three are status Final — implementation has been live on mainnet for ~5 weeks.

Verification

Every constant and activation height in these SIPs was verified against the actual chain source on sentrix-labs/sentrix:main:

  • crates/sentrix-core/src/tokenomics.rsMAX_SUPPLY = 21000000000000000 sentri (210M), MAX_SUPPLY_V2 = 31500000000000000 sentri (315M), HALVING_INTERVAL = 42_000_000, HALVING_INTERVAL_V2 = 126_000_000, BLOCK_REWARD = 100_000_000 sentri (1 SRX).
  • crates/sentrix-core/src/address.rsTOTAL_PREMINE = 6_300_000_000_000_000 sentri (63M SRX).
  • crates/sentrix-core/src/fork_heights.rsVOYAGER_DPOS_HEIGHT, VOYAGER_EVM_HEIGHT, VOYAGER_REWARD_V2_HEIGHT, TOKENOMICS_V2_HEIGHT defaults and testnet defaults.
  • crates/sentrix-staking/src/staking.rs:1083take_delegator_rewards accumulator drain.

Test plan

  • No code change; markdown only
  • Frontmatter follows SIP-1 + TEMPLATE.md
  • README index table updated with SIP-2/3/4 rows
  • CI green (link-check, gitleaks)

Three landmark protocol changes that shipped on mainnet between
2026-04-25 and 2026-04-26 were documented in the chain repo's CLAUDE
notes and audit memos but never made it into the SIP repo. Backfilling
now so external implementers, auditors, and ecosystem partners have
stable URLs to cite for the consensus rules that the live mainnet
follows.

* SIP-2: Voyager DPoS+BFT activation. Mainnet h=579047 (DPoS) /
  h=579060 (EVM), 2026-04-25. Pre-fork PoA round-robin replaced by
  stake-weighted BFT with revm 37 EVM gated on the second sub-fork.
* SIP-3: Tokenomics v2 fork. Mainnet h=640800, 2026-04-26. Cap 210M
  -> 315M, halving 42M -> 126M (BTC parity). Block reward and
  premine unchanged.
* SIP-4: Reward distribution v2. Mainnet h=590100, 2026-04-25.
  Coinbase routes into PROTOCOL_TREASURY with a per-validator
  accumulator; rewards withdrawn via explicit StakingOp::ClaimRewards
  draining the accumulator and transferring out of the escrow.

All three SIPs are status Final — implementation has been live on
mainnet for ~5 weeks. Index table in README updated accordingly.

Specifications verified against:
- crates/sentrix-core/src/tokenomics.rs (cap, halving constants)
- crates/sentrix-core/src/address.rs (TOTAL_PREMINE)
- crates/sentrix-core/src/fork_heights.rs (activation gates)
- crates/sentrix-staking/src/staking.rs (take_delegator_rewards)
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@satyakwok, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 58 minutes and 58 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3a7fe7a1-6a37-4cde-b55c-e32336be5a45

📥 Commits

Reviewing files that changed from the base of the PR and between bd54f78 and 96fb846.

📒 Files selected for processing (4)
  • README.md
  • sips/sip-2.md
  • sips/sip-3.md
  • sips/sip-4.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/backfill-sip-2-3-4-historical

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@satyakwok satyakwok merged commit 6dc0609 into main May 28, 2026
4 checks passed
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.

1 participant