coinstats: Move GetUTXOStats to rpc/blockchain

rpc/blockchain.cpp is now the only user of the vestigial
GetUTXOStats(...). And since GetUTXOStats(...)'s special fallback logic
was only really relevant/meant for rpc/blockchain.cpp, we can just move
it there.
This commit is contained in:
Carl Dong
2022-02-17 17:07:48 -05:00
parent f100687566
commit 664a14ba7c
4 changed files with 31 additions and 76 deletions

View File

@@ -192,7 +192,6 @@ BITCOIN_CORE_H = \
node/caches.h \
node/chainstate.h \
node/coin.h \
node/coinstats.h \
node/context.h \
node/miner.h \
node/minisketchwrapper.h \
@@ -367,7 +366,6 @@ libbitcoin_node_a_SOURCES = \
node/caches.cpp \
node/chainstate.cpp \
node/coin.cpp \
node/coinstats.cpp \
node/context.cpp \
node/interfaces.cpp \
node/miner.cpp \