indexes, refactor: Pass Chain interface instead of CChainState class to indexes

Passing abstract Chain interface will let indexes run in separate
processes.

This commit does not change behavior in any way.
This commit is contained in:
Ryan Ofsky committed 2022-07-18 13:39:55 -05:00
1 parent a0b5b4ae5a
commit 33b4d48cfc
15 files changed
+58 -33

No files matched your search

+3
View File
@@ -23,6 +23,9 @@ EXPECTED_CIRCULAR_DEPENDENCIES = (
"wallet/wallet -> wallet/walletdb -> wallet/wallet",
"kernel/coinstats -> validation -> kernel/coinstats",
"kernel/mempool_persist -> validation -> kernel/mempool_persist",
# Temporary, removed in followup https://github.com/bitcoin/bitcoin/pull/24230
"index/base -> node/context -> net_processing -> index/blockfilterindex -> index/base",
)
CODE_DIR = "src"