kernel: Use ComputeUTXOStats in validation

This is the "fruit of our labor" for this patchset.
ChainstateManager::PopulateAndValidateSnapshot can now directly call
ComputeUTXOStats(...).

Our consensus engine is now fully decoupled from all indices.

See the src/Makefile.am for some satisfying removals.
This commit is contained in:
Carl Dong
2022-02-16 15:23:11 -05:00
parent faa52387e8
commit f100687566
3 changed files with 6 additions and 8 deletions

View File

@ -21,7 +21,7 @@ EXPECTED_CIRCULAR_DEPENDENCIES = (
"qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel",
"wallet/fees -> wallet/wallet -> wallet/fees",
"wallet/wallet -> wallet/walletdb -> wallet/wallet",
"node/coinstats -> validation -> node/coinstats",
"kernel/coinstats -> validation -> kernel/coinstats",
)
CODE_DIR = "src"