node: move index ownership to NodeContext #35474

Manually merged
w0xlt merged 6 commits from global-state-index-nodecontext into master 2026-11-23 10:17:14 +00:00 AGit
w0xlt commented 2026-06-06 18:01:47 +00:00 (Migrated from github.com)

This removes the remaining process-global index ownership and stores node-owned indexes in NodeContext instead.

Indexes moved:

  • g_txindex
  • g_txospenderindex
  • g_coin_stats_index
  • g_filter_indexes

NodeContext now owns these index instances, while node.indexes remains a non-owning list used for common index startup, shutdown, and getindexinfo handling.

Behavior should be unchanged, apart from the key order in getindexinfo output. Indexes are still created from the same startup options, started in the same init step, stopped before destruction, and destroyed while validation_signals is still alive so they can unregister safely.

The block filter index registry is moved to node/indexes.{h,cpp} so index/ code does not depend on NodeContext. PeerManager receives a small lookup callback instead of reaching into global state.

Review notes:

  • The first four commits are small and mostly mechanical: move txindex, txospenderindex, and coinstatsindex ownership to NodeContext, then make getindexinfo use node.indexes. The first commit also adds custom deleters in node/indexes.cpp, so node/context.cpp does not include index headers, which would create circular dependencies.
  • The fifth commit adds a block filter index lookup callback to PeerManager::Options, still backed by the global registry.
  • The last commit is the main one to review carefully. It moves block filter index ownership to NodeContext, moves the block filter registry to node/indexes.{h,cpp}, and points the PeerManager lookup at NodeContext instead of global state.
This removes the remaining process-global index ownership and stores node-owned indexes in `NodeContext` instead. Indexes moved: - `g_txindex` - `g_txospenderindex` - `g_coin_stats_index` - `g_filter_indexes` `NodeContext` now owns these index instances, while `node.indexes` remains a non-owning list used for common index startup, shutdown, and `getindexinfo` handling. Behavior should be unchanged, apart from the key order in `getindexinfo` output. Indexes are still created from the same startup options, started in the same init step, stopped before destruction, and destroyed while `validation_signals` is still alive so they can unregister safely. The block filter index registry is moved to `node/indexes.{h,cpp}` so `index/` code does not depend on `NodeContext`. `PeerManager` receives a small lookup callback instead of reaching into global state. Review notes: - The first four commits are small and mostly mechanical: move `txindex`, `txospenderindex`, and `coinstatsindex` ownership to `NodeContext`, then make `getindexinfo` use `node.indexes`. The first commit also adds custom deleters in `node/indexes.cpp`, so `node/context.cpp` does not include index headers, which would create circular dependencies. - The fifth commit adds a block filter index lookup callback to `PeerManager::Options`, still backed by the global registry. - The last commit is the main one to review carefully. It moves block filter index ownership to `NodeContext`, moves the block filter registry to `node/indexes.{h,cpp}`, and points the `PeerManager` lookup at `NodeContext` instead of global state.
DrahtBot commented 2026-06-06 18:01:55 +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.

Type Reviewers
ACK fjahr, maflcko, andrewtoth
Concept ACK sedited, arejula27

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36920 (p2p: Relay stale tip announcements (BIP 332) by pseudoramdom)
  • #36919 (p2p: Track recent stale tips (BIP 332) by pseudoramdom)
  • #36813 (refactor: more prereqs for #36743 by fanquake)
  • #36808 (iwyu: Fix warnings in src/test/fuzz and treat them as errors by hebasto)
  • #36743 ([RFC] build: build with -Wmissing-declarations/prototypes by fanquake)
  • #36629 (Add output script index and corresponding script history RPC by andrewtoth)
  • #36598 ([Demo] validation: remove AssumeUTXO by l0rinc)
  • #36480 (txospenderindex: hash keys and pack positions to reduce disk usage by arejula27)
  • #36167 (build: Enable -Wunused by fanquake)
  • #36002 (txindex: allow running in pruned mode by andrewtoth)
  • #35901 (wallet: Fix ScanForWalletTransactions missing tx when look-ahead pool expands mid-block by pablomartin4btc)
  • #34400 (wallet: parallel fast rescan by Eunovo)
  • #34132 (coins,dbwrapper: make point-read and txindex lookup failures fatal by l0rinc)
  • #31260 (scripted-diff: Type-safe settings retrieval by ryanofsky)
  • #30437 (ipc: add bitcoin-mine test program 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/35474 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/35474.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/35474#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. | Type | Reviewers | | ---- | --------- | | ACK | [fjahr](https://github.com/bitcoin/bitcoin/pull/35474#issuecomment-7004835771), [maflcko](https://github.com/bitcoin/bitcoin/pull/35474#pullrequestreview-5971151694), [andrewtoth](https://github.com/bitcoin/bitcoin/pull/35474#pullrequestreview-6016431820) | | Concept ACK | [sedited](https://github.com/bitcoin/bitcoin/pull/35474#issuecomment-4640184703), [arejula27](https://github.com/bitcoin/bitcoin/pull/35474#issuecomment-7065243391) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36920](https://github.com/bitcoin/bitcoin/pull/36920) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36920.svg"></sub> (p2p: Relay stale tip announcements (BIP 332) by pseudoramdom) * [#36919](https://github.com/bitcoin/bitcoin/pull/36919) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36919.svg"></sub> (p2p: Track recent stale tips (BIP 332) by pseudoramdom) * [#36813](https://github.com/bitcoin/bitcoin/pull/36813) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36813.svg"></sub> (refactor: more prereqs for #36743 by fanquake) * [#36808](https://github.com/bitcoin/bitcoin/pull/36808) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36808.svg"></sub> (iwyu: Fix warnings in `src/test/fuzz` and treat them as errors by hebasto) * [#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) * [#36629](https://github.com/bitcoin/bitcoin/pull/36629) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36629.svg"></sub> (Add output script index and corresponding script history RPC by andrewtoth) * [#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) * [#36480](https://github.com/bitcoin/bitcoin/pull/36480) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36480.svg"></sub> (txospenderindex: hash keys and pack positions to reduce disk usage by arejula27) * [#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) * [#36002](https://github.com/bitcoin/bitcoin/pull/36002) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36002.svg"></sub> (txindex: allow running in pruned mode by andrewtoth) * [#35901](https://github.com/bitcoin/bitcoin/pull/35901) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35901.svg"></sub> (wallet: Fix ScanForWalletTransactions missing tx when look-ahead pool expands mid-block by pablomartin4btc) * [#34400](https://github.com/bitcoin/bitcoin/pull/34400) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/34400.svg"></sub> (wallet: parallel fast rescan 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) * [#30437](https://github.com/bitcoin/bitcoin/pull/30437) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/30437.svg"></sub> (ipc: add bitcoin-mine test program 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-->
sedited commented 2026-06-06 19:48:02 +00:00 (Migrated from github.com)

Concept ACK

Concept ACK
Sjors commented 2026-06-17 08:22:48 +00:00 (Migrated from github.com)

How does this interact with #24230?

How does this interact with #24230?
w0xlt commented 2026-06-17 17:01:14 +00:00 (Migrated from github.com)

https://github.com/bitcoin/bitcoin/pull/24230 still keeps process-global index ownership.

So this PR is mostly orthogonal to it: #24230 changes how indexes sync with the chain and removes index dependencies on node internals, while this PR moves index ownership into NodeContext.

There is no conceptual conflict.
In terms of code there will be rebase conflicts after one or the other lands, since both touch the index/init/RPC/REST paths.

Removing process-global index ownership seems aligned with the multiprocess direction anyway.

https://github.com/bitcoin/bitcoin/pull/24230 still keeps process-global index ownership. So this PR is mostly orthogonal to it: #24230 changes how indexes sync with the chain and removes index dependencies on node internals, while this PR moves index ownership into `NodeContext`. There is no conceptual conflict. In terms of code there will be rebase conflicts after one or the other lands, since both touch the index/init/RPC/REST paths. Removing process-global index ownership seems aligned with the multiprocess direction anyway.
fjahr commented 2026-06-21 14:41:28 +00:00 (Migrated from github.com)

Concept ACK

Concept ACK
DrahtBot commented 2026-07-14 21:15:31 +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).
sedited commented 2026-08-17 09:38:38 +00:00 (Migrated from github.com)

Ping for rebase @w0xlt

Ping for rebase @w0xlt
w0xlt commented 2026-08-18 22:00:42 +00:00 (Migrated from github.com)

Rebased. Thanks @sedited

Rebased. Thanks @sedited
DrahtBot commented 2026-08-21 08:26:32 +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).
w0xlt commented 2026-09-15 23:03:15 +00:00 (Migrated from github.com)

Reabsed

Reabsed
fjahr (Migrated from github.com) reviewed 2026-09-26 23:09:47 +00:00
fjahr (Migrated from github.com) commented 2026-09-26 23:09:47 +00:00

Are the custom deleters really needed? NodeContext already handles this for its other unique_ptr members via the destructor here: github.com/bitcoin/bitcoin@ed7dd7cf4e/src/node/context.h (L95) Since node/context.cpp and index/*.cpp are both in bitcoin_node, I think you could just add the index includes there and use plain std::unique_ptr<TxIndex> etc.

Are the custom deleters really needed? `NodeContext` already handles this for its other `unique_ptr` members via the destructor here: https://github.com/bitcoin/bitcoin/blob/ed7dd7cf4e1561a97edf72eba29a67b14e28c717/src/node/context.h#L95 Since `node/context.cpp` and `index/*.cpp` are both in bitcoin_node, I think you could just add the index includes there and use plain `std::unique_ptr<TxIndex>` etc.
First-time contributor

🔵 Suggestion · blockfilter_index_lookup leaves cross-context isolation untested

The current lookup is correct, but blockfilter_index_lookup exercises only m_node, leaving the per-context isolation introduced by this PR without regression coverage.

Location: src/test/blockfilter_index_tests.cpp:232 (head).

Review coverage was incomplete.


Reviewed: bb357fcd2fc5 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:3f89681de11a6729a084d29fd96adfa42e3f319bf8f5c8ad91552cdeb231adb4:1ed10c4979af6fc548d6b8d4534d505e02e84ac4b0aa4f8633555b2ba75119e8 --> <!-- ralph-base:d55f55eda79a98ddaad7f7bec9faca8beb097b99 --> <!-- ralph-head:bb357fcd2fc55807905868e3c394579306ec4b44 --> <!-- ralph-case:10e3601af8bbe2263f877bf5caf2f7cddfb32cf91542fea87853698671cd2f16 --> **🔵 Suggestion · `blockfilter_index_lookup` leaves cross-context isolation untested** The current lookup is correct, but `blockfilter_index_lookup` exercises only `m_node`, leaving the per-context isolation introduced by this PR without regression coverage. Location: [`src/test/blockfilter_index_tests.cpp:232`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/bb357fcd2fc55807905868e3c394579306ec4b44/src/test/blockfilter_index_tests.cpp#L232>) (head). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`bb357fcd2fc5`](<https://git.fish.foo/bitcoin/bitcoin/commit/bb357fcd2fc55807905868e3c394579306ec4b44>) · [Review report](<https://review.fish.foo/report/35474-bb357fcd2fc55807905868e3c394579306ec4b44-2829-4.html>) · [Previous reports](<https://review.fish.foo/traces/35474/>) [permalink](<https://review.fish.foo/report/35474-bb357fcd2fc55807905868e3c394579306ec4b44-2829-4.html>)
w0xlt (Migrated from github.com) reviewed 2026-09-30 20:28:00 +00:00
w0xlt (Migrated from github.com) commented 2026-09-30 20:28:00 +00:00

Thanks! Plain unique_ptrs would compile, but index/base.cpp includes node/context.h, so including the index headers in node/context.cpp introduces new circular dependencies:

index/base -> node/context -> index/blockfilterindex -> index/base
index/base -> node/context -> index/coinstatsindex -> index/base
index/base -> node/context -> index/txindex -> index/base
index/base -> node/context -> index/txospenderindex -> index/base

The deleters are defined in node/indexes.cpp to avoid that.

They can be dropped in a follow-up once index/base.cpp no longer needs node/context.h.
#24230 already removes most of that dependency, leaving only the AbortNode() call in FatalErrorf(). Replacing that with a Chain method would allow plain unique_ptrs here and also remove the existing index/base -> node/context -> net_processing -> ... lint exception.

If you'd rather add these to EXPECTED_CIRCULAR_DEPENDENCIES for now, I'm happy to switch to plain unique_ptrs.

I've updated the code comment and commit message to make the reason clearer.

Thanks! Plain `unique_ptrs` would compile, but `index/base.cpp` includes `node/context.h`, so including the index headers in `node/context.cpp` introduces new circular dependencies: ```txt index/base -> node/context -> index/blockfilterindex -> index/base index/base -> node/context -> index/coinstatsindex -> index/base index/base -> node/context -> index/txindex -> index/base index/base -> node/context -> index/txospenderindex -> index/base ``` The deleters are defined in `node/indexes.cpp` to avoid that. They can be dropped in a follow-up once `index/base.cpp` no longer needs `node/context.h`. #24230 already removes most of that dependency, leaving only the `AbortNode()` call in `FatalErrorf()`. Replacing that with a `Chain` method would allow plain unique_ptrs here and also remove the existing `index/base` -> `node/context` -> `net_processing` -> ... lint exception. If you'd rather add these to `EXPECTED_CIRCULAR_DEPENDENCIES` for now, I'm happy to switch to plain unique_ptrs. I've updated the code comment and commit message to make the reason clearer.
w0xlt commented 2026-09-30 20:33:39 +00:00 (Migrated from github.com)

PR description updated.

PR description updated.
DrahtBot commented 2026-10-07 14:20:18 +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).
sedited commented 2026-11-12 10:14:58 +00:00 (Migrated from github.com)

Ping for rebase @w0xlt. I'm still interested in the change.

Ping for rebase @w0xlt. I'm still interested in the change.
w0xlt commented 2026-11-13 22:11:56 +00:00 (Migrated from github.com)

Rebased on master. Thanks @sedited for the ping.

Rebased on master. Thanks @sedited for the ping.
fjahr (Migrated from github.com) reviewed 2026-11-17 12:40:35 +00:00
fjahr (Migrated from github.com) commented 2026-11-17 12:40:35 +00:00

Ok, it seems fine for me to keep the deleters then.

Ok, it seems fine for me to keep the deleters then.
fjahr (Migrated from github.com) reviewed 2026-11-17 13:57:02 +00:00
fjahr (Migrated from github.com) left a comment

Looks in pretty good shape but I think there may be more lines of code that can be saved from the last commit :)

Looks in pretty good shape but I think there may be more lines of code that can be saved from the last commit :)
fjahr (Migrated from github.com) commented 2026-11-17 12:48:18 +00:00

nit: ordering (same in the node/interfaces.cpp file)

nit: ordering (same in the `node/interfaces.cpp` file)
Lines 58-88
fjahr (Migrated from github.com) commented 2026-11-17 13:43:25 +00:00

I think it's actually not needed to move all this code over here, given that the vector of blockfilter indexes is a public member now anyway. We could just do things directly using that and remove almost 100 LOC compared to the current version here: github.com/fjahr/bitcoin@7e6b7f8427 and I see no real downside to this.

I think it's actually not needed to move all this code over here, given that the vector of blockfilter indexes is a public member now anyway. We could just do things directly using that and remove almost 100 LOC compared to the current version here: https://github.com/fjahr/bitcoin/commit/7e6b7f84277a7b5915aac12659c7bbef25bc654b and I see no real downside to this.
fjahr (Migrated from github.com) commented 2026-11-17 12:46:04 +00:00

Not sure what this const version of the function is useful for, it seems it can be dropped?

Not sure what this `const` version of the function is useful for, it seems it can be dropped?
fjahr (Migrated from github.com) commented 2026-11-17 13:31:38 +00:00

Now that the index is passed in as a nullable pointer, index_requested is redundant. GetUTXOStats only reads it as coin_stats_index && index_requested, so gettxoutsetinfo can pass nullptr when use_index is false and the bool parameter can go.

Suggested diff
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index ab061346c9..92c8cfdf57 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1012,17 +1012,16 @@ CoinStatsHashType ParseHashType(std::string_view hash_type_input)
 /**
  * Calculate statistics about the unspent transaction output set
  *
- * @param[in] index_requested Signals if the coinstatsindex should be used (when available).
+ * @param[in] coin_stats_index The coinstatsindex to use, or nullptr to compute the statistics from the view.
  */
 static std::optional<kernel::CCoinsStats> GetUTXOStats(const CCoinsViewDB& view, node::BlockManager& blockman,
                                                        const CoinStatsIndex* coin_stats_index,
                                                        kernel::CoinStatsHashType hash_type,
                                                        const std::function<void()>& interruption_point = {},
-                                                       const CBlockIndex* pindex = nullptr,
-                                                       bool index_requested = true)
+                                                       const CBlockIndex* pindex = nullptr)
 {
-    // Use CoinStatsIndex if it is requested and available and a hash_type of Muhash or None was requested
-    if ((hash_type == kernel::CoinStatsHashType::MUHASH || hash_type == kernel::CoinStatsHashType::NONE) && coin_stats_index && index_requested) {
+    // Use CoinStatsIndex if it is provided and a hash_type of Muhash or None was requested
+    if ((hash_type == kernel::CoinStatsHashType::MUHASH || hash_type == kernel::CoinStatsHashType::NONE) && coin_stats_index) {
         if (pindex) {
             return coin_stats_index->LookUpStats(*pindex);
         } else {
@@ -1102,6 +1101,7 @@ static RPCMethod gettxoutsetinfo()
     const bool index_requested{self.Arg<bool>("use_index")};

     NodeContext& node = EnsureAnyNodeContext(request.context);
+    const CoinStatsIndex* const coin_stats_index{index_requested ? node.coin_stats_index.get() : nullptr};
     ChainstateManager& chainman = EnsureChainman(node);
     Chainstate& active_chainstate = chainman.ActiveChainstate();
     active_chainstate.ForceFlushStateToDisk(/*wipe_cache=*/false);
@@ -1125,9 +1125,9 @@ static RPCMethod gettxoutsetinfo()
         pindex = ParseHashOrHeight(request.params[1], chainman);
     }

-    if (index_requested && node.coin_stats_index) {
-        if (!node.coin_stats_index->BlockUntilSyncedToCurrentChain()) {
-            const IndexSummary summary{node.coin_stats_index->GetSummary()};
+    if (coin_stats_index) {
+        if (!coin_stats_index->BlockUntilSyncedToCurrentChain()) {
+            const IndexSummary summary{coin_stats_index->GetSummary()};

             // If a specific block was requested and the index has already synced past that height, we can return the
             // data already even though the index is not fully synced yet.
@@ -1137,7 +1137,7 @@ static RPCMethod gettxoutsetinfo()
         }
     }

-    const std::optional<CCoinsStats> maybe_stats = GetUTXOStats(coins_view, blockman, node.coin_stats_index.get(), hash_type, node.rpc_interruption_point, pindex, index_requested);
+    const std::optional<CCoinsStats> maybe_stats = GetUTXOStats(coins_view, blockman, coin_stats_index, hash_type, node.rpc_interruption_point, pindex);
     if (maybe_stats.has_value()) {
         const CCoinsStats& stats = maybe_stats.value();
         ret.pushKV("height", stats.nHeight);
@@ -1159,7 +1159,7 @@ static RPCMethod gettxoutsetinfo()
             CCoinsStats prev_stats{};
             if (stats.nHeight > 0) {
                 const CBlockIndex& block_index = *CHECK_NONFATAL(WITH_LOCK(::cs_main, return blockman.LookupBlockIndex(stats.hashBlock)));
-                const std::optional<CCoinsStats> maybe_prev_stats = GetUTXOStats(coins_view, blockman, node.coin_stats_index.get(), hash_type, node.rpc_interruption_point, block_index.pprev, index_requested);
+                const std::optional<CCoinsStats> maybe_prev_stats = GetUTXOStats(coins_view, blockman, coin_stats_index, hash_type, node.rpc_interruption_point, block_index.pprev);
                 if (!maybe_prev_stats) {
                     throw JSONRPCError(RPC_INTERNAL_ERROR, "Unable to read UTXO set");
                 }
Now that the index is passed in as a nullable pointer, `index_requested` is redundant. `GetUTXOStats` only reads it as `coin_stats_index && index_requested`, so `gettxoutsetinfo` can pass `nullptr` when `use_index` is false and the bool parameter can go. <details> <summary>Suggested diff</summary> ```diff diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index ab061346c9..92c8cfdf57 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1012,17 +1012,16 @@ CoinStatsHashType ParseHashType(std::string_view hash_type_input) /** * Calculate statistics about the unspent transaction output set * - * @param[in] index_requested Signals if the coinstatsindex should be used (when available). + * @param[in] coin_stats_index The coinstatsindex to use, or nullptr to compute the statistics from the view. */ static std::optional<kernel::CCoinsStats> GetUTXOStats(const CCoinsViewDB& view, node::BlockManager& blockman, const CoinStatsIndex* coin_stats_index, kernel::CoinStatsHashType hash_type, const std::function<void()>& interruption_point = {}, - const CBlockIndex* pindex = nullptr, - bool index_requested = true) + const CBlockIndex* pindex = nullptr) { - // Use CoinStatsIndex if it is requested and available and a hash_type of Muhash or None was requested - if ((hash_type == kernel::CoinStatsHashType::MUHASH || hash_type == kernel::CoinStatsHashType::NONE) && coin_stats_index && index_requested) { + // Use CoinStatsIndex if it is provided and a hash_type of Muhash or None was requested + if ((hash_type == kernel::CoinStatsHashType::MUHASH || hash_type == kernel::CoinStatsHashType::NONE) && coin_stats_index) { if (pindex) { return coin_stats_index->LookUpStats(*pindex); } else { @@ -1102,6 +1101,7 @@ static RPCMethod gettxoutsetinfo() const bool index_requested{self.Arg<bool>("use_index")}; NodeContext& node = EnsureAnyNodeContext(request.context); + const CoinStatsIndex* const coin_stats_index{index_requested ? node.coin_stats_index.get() : nullptr}; ChainstateManager& chainman = EnsureChainman(node); Chainstate& active_chainstate = chainman.ActiveChainstate(); active_chainstate.ForceFlushStateToDisk(/*wipe_cache=*/false); @@ -1125,9 +1125,9 @@ static RPCMethod gettxoutsetinfo() pindex = ParseHashOrHeight(request.params[1], chainman); } - if (index_requested && node.coin_stats_index) { - if (!node.coin_stats_index->BlockUntilSyncedToCurrentChain()) { - const IndexSummary summary{node.coin_stats_index->GetSummary()}; + if (coin_stats_index) { + if (!coin_stats_index->BlockUntilSyncedToCurrentChain()) { + const IndexSummary summary{coin_stats_index->GetSummary()}; // If a specific block was requested and the index has already synced past that height, we can return the // data already even though the index is not fully synced yet. @@ -1137,7 +1137,7 @@ static RPCMethod gettxoutsetinfo() } } - const std::optional<CCoinsStats> maybe_stats = GetUTXOStats(coins_view, blockman, node.coin_stats_index.get(), hash_type, node.rpc_interruption_point, pindex, index_requested); + const std::optional<CCoinsStats> maybe_stats = GetUTXOStats(coins_view, blockman, coin_stats_index, hash_type, node.rpc_interruption_point, pindex); if (maybe_stats.has_value()) { const CCoinsStats& stats = maybe_stats.value(); ret.pushKV("height", stats.nHeight); @@ -1159,7 +1159,7 @@ static RPCMethod gettxoutsetinfo() CCoinsStats prev_stats{}; if (stats.nHeight > 0) { const CBlockIndex& block_index = *CHECK_NONFATAL(WITH_LOCK(::cs_main, return blockman.LookupBlockIndex(stats.hashBlock))); - const std::optional<CCoinsStats> maybe_prev_stats = GetUTXOStats(coins_view, blockman, node.coin_stats_index.get(), hash_type, node.rpc_interruption_point, block_index.pprev, index_requested); + const std::optional<CCoinsStats> maybe_prev_stats = GetUTXOStats(coins_view, blockman, coin_stats_index, hash_type, node.rpc_interruption_point, block_index.pprev); if (!maybe_prev_stats) { throw JSONRPCError(RPC_INTERNAL_ERROR, "Unable to read UTXO set"); } ``` </details>
fjahr (Migrated from github.com) commented 2026-11-17 12:43:23 +00:00

This was to only caller of ForEachBlockFilterIndex aside from a test. So the function can be removed here as well.

This was to only caller of `ForEachBlockFilterIndex` aside from a test. So the function can be removed here as well.
w0xlt (Migrated from github.com) reviewed 2026-11-18 01:42:48 +00:00
Lines 58-88
w0xlt (Migrated from github.com) commented 2026-11-18 01:42:48 +00:00

Done. Thanks. Added you as co-author.

Done. Thanks. Added you as co-author.
w0xlt (Migrated from github.com) reviewed 2026-11-18 01:42:55 +00:00
w0xlt (Migrated from github.com) commented 2026-11-18 01:42:55 +00:00

Done. Thanks

Done. Thanks
w0xlt (Migrated from github.com) reviewed 2026-11-18 01:42:58 +00:00
w0xlt (Migrated from github.com) commented 2026-11-18 01:42:58 +00:00

Done. Thanks

Done. Thanks
w0xlt (Migrated from github.com) reviewed 2026-11-18 01:43:01 +00:00
w0xlt (Migrated from github.com) commented 2026-11-18 01:43:01 +00:00

Done. Thanks

Done. Thanks
w0xlt (Migrated from github.com) reviewed 2026-11-18 01:43:03 +00:00
w0xlt (Migrated from github.com) commented 2026-11-18 01:43:03 +00:00

Done. Thanks

Done. Thanks
fjahr (Migrated from github.com) reviewed 2026-11-18 22:29:31 +00:00
fjahr (Migrated from github.com) left a comment

Code review ACK 560faa4310

Thank you for taking my suggestions! I found a few more nits that you may address when you have to retouch but this already looks good to me as is.

Code review ACK 560faa4310a30e85a568d4f5866364afdeec97e7 Thank you for taking my suggestions! I found a few more nits that you may address when you have to retouch but this already looks good to me as is.
fjahr (Migrated from github.com) commented 2026-11-18 22:24:54 +00:00

nit: The usage of new isn't really our preferred style afaik but there seems to be no hard rule about it and the way the deleters are used this seems to be unavoidable. I guess there may be ways to avoid it but not sure if that is worth it. Just noting that this is a bit of an unusual sight here.

nit: The usage of `new` isn't really our preferred style afaik but there seems to be no hard rule about it and the way the deleters are used this seems to be unavoidable. I guess there may be ways to avoid it but not sure if that is worth it. Just noting that this is a bit of an unusual sight here.
fjahr (Migrated from github.com) commented 2026-11-18 22:09:56 +00:00

nit: The four deleter structs could be one struct with four overloads to save a few extra lines. unique_ptr picks the matching overload by pointer type, and that works with the forward declarations here.

Suggested diff
diff --git a/src/node/context.h b/src/node/context.h
index ed9e3297e76..ef7916c5350 100644
--- a/src/node/context.h
+++ b/src/node/context.h
@@ -48,19 +48,13 @@ class BlockTemplateManager;
 class KernelNotifications;
 class Warnings;

-// Custom deleters let NodeContext own indexes without node/context.cpp
+// A custom deleter lets NodeContext own indexes without node/context.cpp
 // including index headers. Index code includes node/context.h, so including
 // index headers there would create a circular dependency.
-struct BlockFilterIndexDeleter {
+struct IndexDeleter {
     void operator()(BlockFilterIndex* index) const noexcept;
-};
-struct CoinStatsIndexDeleter {
     void operator()(CoinStatsIndex* index) const noexcept;
-};
-struct TxIndexDeleter {
     void operator()(TxIndex* index) const noexcept;
-};
-struct TxoSpenderIndexDeleter {
     void operator()(TxoSpenderIndex* index) const noexcept;
 };

@@ -108,10 +102,10 @@ struct NodeContext {
     //! Issues calls about blocks and transactions
     std::unique_ptr<ValidationSignals> validation_signals;
     //! Declared after validation_signals so index destructors can unregister safely.
-    std::vector<std::unique_ptr<BlockFilterIndex, BlockFilterIndexDeleter>> block_filter_indexes;
-    std::unique_ptr<TxIndex, TxIndexDeleter> txindex;
-    std::unique_ptr<TxoSpenderIndex, TxoSpenderIndexDeleter> txospenderindex;
-    std::unique_ptr<CoinStatsIndex, CoinStatsIndexDeleter> coin_stats_index;
+    std::vector<std::unique_ptr<BlockFilterIndex, IndexDeleter>> block_filter_indexes;
+    std::unique_ptr<TxIndex, IndexDeleter> txindex;
+    std::unique_ptr<TxoSpenderIndex, IndexDeleter> txospenderindex;
+    std::unique_ptr<CoinStatsIndex, IndexDeleter> coin_stats_index;
     std::atomic<int> exit_status{EXIT_SUCCESS};
     //! Manages all the node warnings
     std::unique_ptr<node::Warnings> warnings;
diff --git a/src/node/indexes.cpp b/src/node/indexes.cpp
index f9fd1851006..8fccb3feb2b 100644
--- a/src/node/indexes.cpp
+++ b/src/node/indexes.cpp
@@ -12,10 +12,10 @@

 namespace node {

-void BlockFilterIndexDeleter::operator()(BlockFilterIndex* index) const noexcept { delete index; }
-void CoinStatsIndexDeleter::operator()(CoinStatsIndex* index) const noexcept { delete index; }
-void TxIndexDeleter::operator()(TxIndex* index) const noexcept { delete index; }
-void TxoSpenderIndexDeleter::operator()(TxoSpenderIndex* index) const noexcept { delete index; }
+void IndexDeleter::operator()(BlockFilterIndex* index) const noexcept { delete index; }
+void IndexDeleter::operator()(CoinStatsIndex* index) const noexcept { delete index; }
+void IndexDeleter::operator()(TxIndex* index) const noexcept { delete index; }
+void IndexDeleter::operator()(TxoSpenderIndex* index) const noexcept { delete index; }

 BlockFilterIndex* GetBlockFilterIndex(const NodeContext& node, BlockFilterType filter_type)
 {
nit: The four deleter structs could be one struct with four overloads to save a few extra lines. `unique_ptr` picks the matching overload by pointer type, and that works with the forward declarations here. <details> <summary>Suggested diff</summary> ```diff diff --git a/src/node/context.h b/src/node/context.h index ed9e3297e76..ef7916c5350 100644 --- a/src/node/context.h +++ b/src/node/context.h @@ -48,19 +48,13 @@ class BlockTemplateManager; class KernelNotifications; class Warnings; -// Custom deleters let NodeContext own indexes without node/context.cpp +// A custom deleter lets NodeContext own indexes without node/context.cpp // including index headers. Index code includes node/context.h, so including // index headers there would create a circular dependency. -struct BlockFilterIndexDeleter { +struct IndexDeleter { void operator()(BlockFilterIndex* index) const noexcept; -}; -struct CoinStatsIndexDeleter { void operator()(CoinStatsIndex* index) const noexcept; -}; -struct TxIndexDeleter { void operator()(TxIndex* index) const noexcept; -}; -struct TxoSpenderIndexDeleter { void operator()(TxoSpenderIndex* index) const noexcept; }; @@ -108,10 +102,10 @@ struct NodeContext { //! Issues calls about blocks and transactions std::unique_ptr<ValidationSignals> validation_signals; //! Declared after validation_signals so index destructors can unregister safely. - std::vector<std::unique_ptr<BlockFilterIndex, BlockFilterIndexDeleter>> block_filter_indexes; - std::unique_ptr<TxIndex, TxIndexDeleter> txindex; - std::unique_ptr<TxoSpenderIndex, TxoSpenderIndexDeleter> txospenderindex; - std::unique_ptr<CoinStatsIndex, CoinStatsIndexDeleter> coin_stats_index; + std::vector<std::unique_ptr<BlockFilterIndex, IndexDeleter>> block_filter_indexes; + std::unique_ptr<TxIndex, IndexDeleter> txindex; + std::unique_ptr<TxoSpenderIndex, IndexDeleter> txospenderindex; + std::unique_ptr<CoinStatsIndex, IndexDeleter> coin_stats_index; std::atomic<int> exit_status{EXIT_SUCCESS}; //! Manages all the node warnings std::unique_ptr<node::Warnings> warnings; diff --git a/src/node/indexes.cpp b/src/node/indexes.cpp index f9fd1851006..8fccb3feb2b 100644 --- a/src/node/indexes.cpp +++ b/src/node/indexes.cpp @@ -12,10 +12,10 @@ namespace node { -void BlockFilterIndexDeleter::operator()(BlockFilterIndex* index) const noexcept { delete index; } -void CoinStatsIndexDeleter::operator()(CoinStatsIndex* index) const noexcept { delete index; } -void TxIndexDeleter::operator()(TxIndex* index) const noexcept { delete index; } -void TxoSpenderIndexDeleter::operator()(TxoSpenderIndex* index) const noexcept { delete index; } +void IndexDeleter::operator()(BlockFilterIndex* index) const noexcept { delete index; } +void IndexDeleter::operator()(CoinStatsIndex* index) const noexcept { delete index; } +void IndexDeleter::operator()(TxIndex* index) const noexcept { delete index; } +void IndexDeleter::operator()(TxoSpenderIndex* index) const noexcept { delete index; } BlockFilterIndex* GetBlockFilterIndex(const NodeContext& node, BlockFilterType filter_type) { ``` </details>
fjahr (Migrated from github.com) commented 2026-11-18 22:16:58 +00:00

nit: I don't think there is any other place?

    std::vector<BaseIndex*> indexes; // raw pointers because memory is managed by index owner members below
nit: I don't think there is any other place? ```suggestion std::vector<BaseIndex*> indexes; // raw pointers because memory is managed by index owner members below ```
fjahr (Migrated from github.com) commented 2026-11-18 22:15:53 +00:00

nit: I think it should also be below warnings because there is a call in BaseIndex::FatalErrorf. It seems to be a non-issue because the shutdown handles the indexes explicitly but it might be nicer to not rely on that.

nit: I think it should also be below `warnings` because there is a call in `BaseIndex::FatalErrorf`. It seems to be a non-issue because the shutdown handles the indexes explicitly but it might be nicer to not rely on that.
fjahr (Migrated from github.com) commented 2026-11-18 22:00:46 +00:00

nit

// Copyright (c) The Bitcoin Core developers
nit ```suggestion // Copyright (c) The Bitcoin Core developers ```
fjahr (Migrated from github.com) commented 2026-11-18 22:05:29 +00:00

nit: The clear() calls (here and one more below) seem to be redundant since the unit test framework does it for us: github.com/bitcoin/bitcoin@d55f55eda7/src/test/util/setup_common.cpp (L349) I suspect the idea behind doing it explicitly here was to check the return value but I think I would rather suggest removing those lines.

nit: The `clear()` calls (here and one more below) seem to be redundant since the unit test framework does it for us: https://github.com/bitcoin/bitcoin/blob/d55f55eda79a98ddaad7f7bec9faca8beb097b99/src/test/util/setup_common.cpp#L349 I suspect the idea behind doing it explicitly here was to check the return value but I think I would rather suggest removing those lines.
w0xlt (Migrated from github.com) reviewed 2026-11-19 00:07:41 +00:00
w0xlt (Migrated from github.com) commented 2026-11-19 00:07:41 +00:00

Done. Thanks.

Done. Thanks.
w0xlt (Migrated from github.com) reviewed 2026-11-19 00:07:47 +00:00
w0xlt (Migrated from github.com) commented 2026-11-19 00:07:47 +00:00

Done. Thanks.

Done. Thanks.
w0xlt (Migrated from github.com) reviewed 2026-11-19 00:07:52 +00:00
w0xlt (Migrated from github.com) commented 2026-11-19 00:07:52 +00:00

Done. Thanks.

Done. Thanks.
w0xlt (Migrated from github.com) reviewed 2026-11-19 00:07:56 +00:00
w0xlt (Migrated from github.com) commented 2026-11-19 00:07:56 +00:00

Done. Thanks.

Done. Thanks.
w0xlt (Migrated from github.com) reviewed 2026-11-19 00:08:01 +00:00
w0xlt (Migrated from github.com) commented 2026-11-19 00:08:01 +00:00

Done. Thanks.

Done. Thanks.
w0xlt (Migrated from github.com) reviewed 2026-11-19 00:08:07 +00:00
w0xlt (Migrated from github.com) commented 2026-11-19 00:08:07 +00:00

Done. Thanks.

Done. Thanks.
fjahr commented 2026-11-19 09:14:36 +00:00 (Migrated from github.com)
ACK bb357fcd2fc55807905868e3c394579306ec4b44
maflcko (Migrated from github.com) approved these changes 2026-11-19 09:46:21 +00:00
maflcko (Migrated from github.com) left a comment

review ACK bb357fcd2f 💬

Show signature

Signature:

untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
trusted comment: review ACK bb357fcd2fc55807905868e3c394579306ec4b44 💬
AElXbC1q9pomR1mLDG2pqxpPSZy34YKQTMX1Odyj1X52obAmxMT83TCMIBUbCS0Cibon200MhdxJj21PBt8TCA==
review ACK bb357fcd2fc55807905868e3c394579306ec4b44 💬 <details><summary>Show signature</summary> Signature: ``` untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}" RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM= trusted comment: review ACK bb357fcd2fc55807905868e3c394579306ec4b44 💬 AElXbC1q9pomR1mLDG2pqxpPSZy34YKQTMX1Odyj1X52obAmxMT83TCMIBUbCS0Cibon200MhdxJj21PBt8TCA== ``` </details>
maflcko (Migrated from github.com) commented 2026-11-19 07:48:44 +00:00

nit in the first commit: Remove 2026-present to stay in symmetry with the header?

nit in the first commit: Remove `2026-present` to stay in symmetry with the header?
maflcko (Migrated from github.com) commented 2026-11-19 07:52:52 +00:00

unrelated nit in the first commit: After commit d7f61e7d59, the comment here can be removed:

  • txindex->BlockUntilSyncedToCurrentChain(); should be self-explanatory what it does, and
  • the cs_main reference is confusing, because it is only taken for the block index lookup, and it is unclear why txindex syncing has anything to do with a block index lookup.

Recall the same call is in getrawtransaction, but there is also no comment.

unrelated nit in the first commit: After commit d7f61e7d5909da7227c9e34be06ce9eb872ba074, the comment here can be removed: * `txindex->BlockUntilSyncedToCurrentChain();` should be self-explanatory what it does, and * the `cs_main` reference is confusing, because it is only taken for the block index lookup, and it is unclear why txindex syncing has anything to do with a block index lookup. Recall the same call is in `getrawtransaction`, but there is also no comment.
arejula27 commented 2026-11-21 15:55:26 +00:00 (Migrated from github.com)

Concept ACK

I had been thinking about how to do this without knowing this PR already existed. I think moving index ownership out of globals and into NodeContext is a good idea

Concept ACK I had been thinking about how to do this without knowing this PR already existed. I think moving index ownership out of globals and into NodeContext is a good idea
andrewtoth (Migrated from github.com) approved these changes 2026-11-23 04:09:25 +00:00
andrewtoth (Migrated from github.com) left a comment
ACK bb357fcd2fc55807905868e3c394579306ec4b44
andrewtoth (Migrated from github.com) commented 2026-11-23 04:05:08 +00:00

nit: We could inline SummaryToJSON now.

nit: We could inline `SummaryToJSON` now.
678537201w-art (Migrated from github.com) reviewed 2026-11-23 04:25:24 +00:00
678537201w-art (Migrated from github.com) commented 2026-11-23 04:25:24 +00:00

SummaryToJSON

SummaryToJSON
dunlapjschool-gif (Migrated from github.com) reviewed 2026-11-23 04:37:22 +00:00
dunlapjschool-gif (Migrated from github.com) commented 2026-11-23 04:37:22 +00:00

huh

huh
Sign in to join this conversation.
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!35474
No description provided.