Skip to content

backport: Merge bitcoin/bitcoin#27576 - #7665

Closed
vijaydasmp wants to merge 1 commit into
dashpay:developfrom
vijaydasmp:Branch_9_4
Closed

vijaydasmp wants to merge 1 commit into
dashpay:developfrom
vijaydasmp:Branch_9_4

Conversation

@vijaydasmp

@vijaydasmp vijaydasmp commented Sep 7, 2026

Copy link
Copy Markdown

Backporting Bitcoin changes

…nparamsbase from kernel library

db77f87 scripted-diff: move settings to common namespace (TheCharlatan)
c27e4bd move-only: Move settings to the common library (TheCharlatan)
c2dae5d kernel: Remove chainparams, chainparamsbase, args, settings from kernel library (TheCharlatan)
05870b1 refactor: Remove gArgs access from validation.cpp (TheCharlatan)
8789b11 refactor: Add path argument to FindSnapshotChainstateDir (TheCharlatan)
ef95be3 refactor: Add stop_at_height option in ChainstateManager (TheCharlatan)

Pull request description:

  This pull request is part of the `libbitcoinkernel` project bitcoin#27587 https://github.com/bitcoin/bitcoin/projects/18 and more specifically its "Step 2: Decouple most non-consensus code from libbitcoinkernel".

  ---

  This completes the removal of the node's chainparams, chainparamsbase, args and settings files and their respective classes from the kernel library. This is the last pull request in a long series working towards decoupling the `ArgsManager` and the `gArgs` global from kernel code. These prior pull requests are: bitcoin#26177 bitcoin#27125 bitcoin#25527 bitcoin#25487 bitcoin#25290

ACKs for top commit:
  MarcoFalke:
    lgtm ACK db77f87 🍄
  hebasto:
    ACK db77f87, I have reviewed the code and it looks OK.
  ryanofsky:
    Code review ACK db77f87. Looks great!

Tree-SHA512: cbfbd705d056f2f10f16810d4f869eb152362fff2c5ddae5e1ac6785deae095588e52ad48b29d921962b085e51de1e0ecab6e50f46149ffe3c16250608a2c93a
@vijaydasmp vijaydasmp changed the title Merge bitcoin/bitcoin#27576: kernel: Remove args, settings, chainpara… backport: Merge bitcoin/bitcoin#27576 Sep 8, 2026
@thepastaclaw

Copy link
Copy Markdown
Collaborator

🕓 Review not started yet because this PR is a draft.

  • Request normal review — click when the PR is ready for review.
  • Request priority review — click to move this review to the front of the queue.

Commit f5a200a. Normal review starts when eligible; priority review starts as soon as a slot is available.

@github-actions

Copy link
Copy Markdown

This pull request has conflicts, please rebase.

@PastaPastaPasta

Copy link
Copy Markdown
Member

Thanks for working on this. Closing for now: bitcoin#27576 builds on an earlier chain of refactors that Dash hasn't backported yet, mainly bitcoin#27419 (move-only: extract common/args from util/system) and the related util/system -> common moves. Develop has no src/common/settings.* or src/common/args.*, and util::SettingsValue still lives in src/util/settings.h. That leaves the settings move half applied here, and every CI build fails with util/system.h:250:45: error: no member named 'SettingsValue' in namespace 'util'. The branch also conflicts with develop in src/interfaces/chain.h.

This can be reopened or resubmitted once those prerequisites have been backported.


🤖 Posted autonomously by Claude on behalf of pasta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants