You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
params%feat!: drop runtime policy fields, sync params with Dash Core v24.0.0-rc.5 - #100
The network tables in dash-params follow the reference implementation at v24.0.0-rc.3. v24.0.0-rc.5 schedules the v24 and evo_shares deployments on mainnet from 9 November 2026, and refreshes the mainnet and testnet sync data.
This pull request moves the tables to rc.5, with one commit per reference pull request. It first drops the fields that are a node's runtime policy rather than parameters of the chain, so the rc.5 changes to pruning and to the assumed chain size do not apply.
Additional Information
Description
Notes
Reference implementation
Corpus
Drop the runtime-policy fields of ChainParams
prune_after_height, assumed_blockchain_size_gb, assumed_chain_state_size_gb, default_consistency_checks and is_mockable_chain set how a node prunes, sizes its disk and checks or mocks its own state. The stateless SDK has no use for them.
chainparams.json5 was regenerated with the recipe in its header: dashd and dash-cli from the official v24.0.0-rc.5 release, each chain on an empty data directory with no connections. Only the header line and the mainnet v24 and evo_shares entries change, so the corpus moves in the second commit. The values without a corpus come from the reference implementation's chain parameters at the lines linked above.
Breaking Changes
dash-params: ChainParams drops prune_after_height, assumed_blockchain_size_gb, assumed_chain_state_size_gb, default_consistency_checks and is_mockable_chain, so struct literals and patterns that name them must drop them.
CI (just test lint fuzz::test, CodeQL included) is green on each commit.
Checklist
I have performed a self-review of my own code
I have commented my code, particularly in hard-to-understand areas
I have added or updated relevant unit/integration/functional tests
I have made corresponding changes to the documentation
I did not use agentic assistance (i.e. LLMs, AI) except as disclosed and can answer questions,
comments and concerns without said assistance. I assume authorship of the code submitted.
I have assigned this pull request to a milestone (for repository code-owners and collaborators only)
Agent disclosure
Code, commit messages and this description were generated with Claude Code using Claude Opus 5.5, running autonomously as an agent on behalf of the author. The agent also regenerated chainparams.json5 from the official v24.0.0-rc.5 release. The change was reviewed by a Claude Code agent using Opus 5.5 and a Codex agent using GPT-6.1.
Mainnet protocol activation windows are scheduled for November 2026 and November 2028.
Mainnet and testnet network parameters have been updated, including validation checkpoints, chain-work settings, and transaction data.
Chain parameters no longer specify pruning thresholds or assumed blockchain and chain-state sizes.
ChainParams no longer declares five runtime-policy fields. Mainnet and regtest initializers remove those fields. Mainnet and testnet parameters also receive updated deployment times, chain work, assumed-valid hashes, transaction statistics, and checkpoints.
Suggested reviewers:kwvg
Merge Risk: Minimal · up to fb236
No concrete merge-blocking risk was established.
Pre-merge checks: 4
Check name
Status
Explanation
Description check
The description directly explains the network table updates, removed runtime-policy fields, refreshed sync data, deployment schedules, breaking changes, and validation performed.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Title check
The title clearly identifies the main changes: removal of runtime policy fields and synchronization with Dash Core v24.0.0-rc.5.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
The reason will be displayed to describe this comment to others. Learn more.
Final validation — Phase 1 + Phase 2
Verified the complete change range at e1a74f4 against Dash Core v24.0.0-rc.5: the deployment schedules, synchronization data, checkpoints, and pruning parameters match the reference implementation, with no actionable defects found. The deployment corpus assertions cover the newly scheduled mainnet entries, and the public-field API break is explicitly disclosed. This was a static review with no local builds or tests; current CI reports no failed checks, with lint and stable-platform builds passing while several MSRV jobs and the x86_64 Linux/Windows cross-builds remain pending.
Triage: low by gpt-6.1-sol (effort low) — The diff is a small, contained update to network constants and a public parameter field whose correctness can be checked directly against the pinned reference implementation.
Agreed: base-sdk will keep only stateless chain parameters, meaning consensus, network identity and wire format. #104 and #105 are closed. LlmqParams::keep_old_connections, keep_old_keys and recovery_members look like node policy too; I can drop them in a follow-up if you want.
🤖 Posted autonomously by Claude on behalf of pasta.
The reason will be displayed to describe this comment to others. Learn more.
Observing the stack (base-sdk#106) is worrying in how many stateful elements and tuning parameters are being introduced far outside the SDK's scope, just make this one change and the rest of this PR is fine.
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
pkgs/params/CHANGELOG.md-14-15: 1
14-15: Minor · Data Integrity & Integration · Quick win
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Add migration guidance for the removed fields.
Callers that read these fields will no longer compile. Explain that callers must maintain their own node-policy values and obtain network-specific defaults from Dash Core. (raw.githubusercontent.com)
Based on learnings, breaking public API changes require a migration path.
Reviewing files that changed from the base of the PR and between e1a74f4 and fb236ea.
Files ignored due to path filters: 1
pkgs/params/corpus/chainparams.json5 is excluded by !**/*.json5
Files selected for processing: 5
pkgs/params/CHANGELOG.md
pkgs/params/src/chain.rs
pkgs/params/src/params/mainnet.rs
pkgs/params/src/params/regtest.rs
pkgs/params/src/params/test3.rs
Files with no reviewable changes: 2
pkgs/params/src/params/regtest.rs
pkgs/params/src/chain.rs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
kwvg
changed the title
params%feat!: move the network tables to v24.0.0-rc.5
params%feat!: drop runtime policy fields, sync params with Dash Core v24.0.0-rc.5
Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
status:behindThis pull request can be rebased on the base branch.
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The network tables in
dash-paramsfollow the reference implementation atv24.0.0-rc.3.v24.0.0-rc.5schedules thev24andevo_sharesdeployments on mainnet from 9 November 2026, and refreshes the mainnet and testnet sync data.This pull request moves the tables to rc.5, with one commit per reference pull request. It first drops the fields that are a node's runtime policy rather than parameters of the chain, so the rc.5 changes to pruning and to the assumed chain size do not apply.
Additional Information
ChainParamsprune_after_height,assumed_blockchain_size_gb,assumed_chain_state_size_gb,default_consistency_checksandis_mockable_chainset how a node prunes, sizes its disk and checks or mocks its own state. The stateless SDK has no use for them.v24andevo_shareson mainnet per dashpay/dash#7973chainparams.json5deployments.mainchainparams.json5was regenerated with the recipe in its header:dashdanddash-clifrom the officialv24.0.0-rc.5release, each chain on an empty data directory with no connections. Only the header line and the mainnetv24andevo_sharesentries change, so the corpus moves in the second commit. The values without a corpus come from the reference implementation's chain parameters at the lines linked above.Breaking Changes
dash-params:ChainParamsdropsprune_after_height,assumed_blockchain_size_gb,assumed_chain_state_size_gb,default_consistency_checksandis_mockable_chain, so struct literals and patterns that name them must drop them.CI (
just test lint fuzz::test, CodeQL included) is green on each commit.Checklist
comments and concerns without said assistance. I assume authorship of the code submitted.
Agent disclosure
Code, commit messages and this description were generated with Claude Code using Claude Opus 5.5, running autonomously as an agent on behalf of the author. The agent also regenerated
chainparams.json5from the officialv24.0.0-rc.5release. The change was reviewed by a Claude Code agent using Opus 5.5 and a Codex agent using GPT-6.1.🤖 Generated with Claude Code