We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a026c commit ca01bb8Copy full SHA for ca01bb8
src/rpc/misc.cpp
@@ -5,6 +5,7 @@
5
6
#include <httpserver.h>
7
#include <index/blockfilterindex.h>
8
+#include <index/coinstatsindex.h>
9
#include <index/txindex.h>
10
#include <interfaces/chain.h>
11
#include <key_io.h>
@@ -689,6 +690,10 @@ static RPCHelpMan getindexinfo()
689
690
result.pushKVs(SummaryToJSON(g_txindex->GetSummary(), index_name));
691
}
692
693
+ if (g_coin_stats_index) {
694
+ result.pushKVs(SummaryToJSON(g_coin_stats_index->GetSummary(), index_name));
695
+ }
696
+
697
ForEachBlockFilterIndex([&result, &index_name](const BlockFilterIndex& index) {
698
result.pushKVs(SummaryToJSON(index.GetSummary(), index_name));
699
});
0 commit comments