refactor: more prereqs for #36743 #36813

Open
fanquake wants to merge 6 commits from more_36743_split into master AGit
fanquake commented 2026-11-09 12:55:48 +00:00 (Migrated from github.com)

Some more changes split out of #36743.

Some more changes split out of #36743.
DrahtBot commented 2026-11-09 12:55:57 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36897 (wallet, migration: Contain all legacy wallet and migration related things in its own subdirectory, namespace, and classes by achow101)
  • #36876 (GUARDED_BY annotations for nTx, m_chain_tx_count by Crypt-iQ)
  • #36826 (rpc: Return the right RPCErrorCode more consistently by maflcko)
  • #36823 (wallet, migration: Skip legacy wallet records rather than erasing them, and drop unused record erase functions by achow101)
  • #36743 ([RFC] build: build with -Wmissing-declarations/prototypes by fanquake)
  • #36721 (script: store interpreter stack elements as reference-counted objects by conduition)
  • #36598 ([Demo] validation: remove AssumeUTXO by l0rinc)
  • #36266 (rpc: Let dumptxoutset fail early on stale targets and concurrent runs by fjahr)
  • #36167 (build: Enable -Wunused by fanquake)
  • #35474 (node: move index ownership to NodeContext by w0xlt)
  • #35302 (Silent Payments: Sending (take 2) by Eunovo)
  • #34132 (coins,dbwrapper: make point-read and txindex lookup failures fatal by l0rinc)
  • #31260 (scripted-diff: Type-safe settings retrieval by ryanofsky)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36813 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36813.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36813#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. A summary of reviews will appear here. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36897](https://github.com/bitcoin/bitcoin/pull/36897) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36897.svg"></sub> (wallet, migration: Contain all legacy wallet and migration related things in its own subdirectory, namespace, and classes by achow101) * [#36876](https://github.com/bitcoin/bitcoin/pull/36876) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36876.svg"></sub> (GUARDED_BY annotations for nTx, m_chain_tx_count by Crypt-iQ) * [#36826](https://github.com/bitcoin/bitcoin/pull/36826) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36826.svg"></sub> (rpc: Return the right RPCErrorCode more consistently by maflcko) * [#36823](https://github.com/bitcoin/bitcoin/pull/36823) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36823.svg"></sub> (wallet, migration: Skip legacy wallet records rather than erasing them, and drop unused record erase functions by achow101) * [#36743](https://github.com/bitcoin/bitcoin/pull/36743) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36743.svg"></sub> ([RFC] build: build with -Wmissing-declarations/prototypes by fanquake) * [#36721](https://github.com/bitcoin/bitcoin/pull/36721) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36721.svg"></sub> (script: store interpreter stack elements as reference-counted objects by conduition) * [#36598](https://github.com/bitcoin/bitcoin/pull/36598) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36598.svg"></sub> ([Demo] validation: remove AssumeUTXO by l0rinc) * [#36266](https://github.com/bitcoin/bitcoin/pull/36266) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36266.svg"></sub> (rpc: Let dumptxoutset fail early on stale targets and concurrent runs by fjahr) * [#36167](https://github.com/bitcoin/bitcoin/pull/36167) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36167.svg"></sub> (build: Enable `-Wunused` by fanquake) * [#35474](https://github.com/bitcoin/bitcoin/pull/35474) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35474.svg"></sub> (node: move index ownership to NodeContext by w0xlt) * [#35302](https://github.com/bitcoin/bitcoin/pull/35302) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35302.svg"></sub> (Silent Payments: Sending (take 2) by Eunovo) * [#34132](https://github.com/bitcoin/bitcoin/pull/34132) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/34132.svg"></sub> (coins,dbwrapper: make point-read and txindex lookup failures fatal by l0rinc) * [#31260](https://github.com/bitcoin/bitcoin/pull/31260) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/31260.svg"></sub> (scripted-diff: Type-safe settings retrieval by ryanofsky) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

No verified findings are available from this review.

Review coverage was incomplete.


Reviewed: 8d3049d67948 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:623dcc8b147545cfe5993c2dd44473fcf85337a6f0918b1fdef7c0e975680750:6072c3ca82cbff037f6b9efdfb34d5fe4ed3b0db9aca5f5c775156b60180cc37 --> <!-- ralph-base:44901d8f64cb617714707bd025ecd83f108353c2 --> <!-- ralph-head:8d3049d679489d7a1efbb76eb876ee5adc23cf2d --> <!-- ralph-case:9b1af19f3040e8a5f0f00b7fe6418823df7b99176b66e7dc44b315cef9911f51 --> No verified findings are available from this review. Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`8d3049d67948`](<https://git.fish.foo/bitcoin/bitcoin/commit/8d3049d679489d7a1efbb76eb876ee5adc23cf2d>) · [Review report](<https://review.fish.foo/report/36813-8d3049d679489d7a1efbb76eb876ee5adc23cf2d-2404-1.html>) · [Previous reports](<https://review.fish.foo/traces/36813/>) [permalink](<https://review.fish.foo/report/36813-8d3049d679489d7a1efbb76eb876ee5adc23cf2d-2404-1.html>)
DrahtBot commented 2026-11-23 10:26:57 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36813
No description provided.