coinstats: Split node/coinstats.h to kernel/coinstats.h

Most of this commit is pure-move.

After this change:

- kernel/coinstats.h
    -> Contains declarations for:
       - enum class CoinStatsHashType
       - struct CCoinsStats
       - GetBogoSize(...)
       - TxOutSer(...)
       - ComputeUTXOStats(...)
- node/coinstats.h
    -> Just GetUTXOStats, which will be removed as we change callers to
       directly use the hashing/indexing codepaths in future commits.
This commit is contained in:
Carl Dong
2022-02-16 17:51:57 -05:00
parent 35f73ce4b2
commit 80970985c9
4 changed files with 82 additions and 55 deletions

View File

@@ -172,6 +172,7 @@ BITCOIN_CORE_H = \
interfaces/node.h \
interfaces/wallet.h \
kernel/chainstatemanager_opts.h \
kernel/coinstats.h \
key.h \
key_io.h \
logging.h \