Use only kernel/coinstats.h in index/coinstatsindex.h

Removes a circular dependency, horray!
This commit is contained in:
Carl Dong 2022-05-02 14:25:05 -04:00
parent 80970985c9
commit 0e54456f04
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,7 @@
#include <crypto/muhash.h>
#include <flatfile.h>
#include <index/base.h>
#include <node/coinstats.h>
#include <kernel/coinstats.h>
/**
* CoinStatsIndex maintains statistics on the UTXO set.

View File

@ -14,7 +14,6 @@ import sys
EXPECTED_CIRCULAR_DEPENDENCIES = (
"chainparamsbase -> util/system -> chainparamsbase",
"node/blockstorage -> validation -> node/blockstorage",
"index/coinstatsindex -> node/coinstats -> index/coinstatsindex",
"policy/fees -> txmempool -> policy/fees",
"qt/addresstablemodel -> qt/walletmodel -> qt/addresstablemodel",
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel",