diff --git a/src/rpc/node.cpp b/src/rpc/node.cpp index 46f06279e7..46617fc366 100644 --- a/src/rpc/node.cpp +++ b/src/rpc/node.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -387,6 +388,10 @@ static RPCHelpMan getindexinfo() result.pushKVs(SummaryToJSON(g_txindex->GetSummary(), index_name)); } + if (g_coin_stats_index) { + result.pushKVs(SummaryToJSON(g_coin_stats_index->GetSummary(), index_name)); + } + ForEachBlockFilterIndex([&result, &index_name](const BlockFilterIndex& index) { result.pushKVs(SummaryToJSON(index.GetSummary(), index_name)); });