diff options
author | Carl Dong <contact@carldong.me> | 2022-05-02 14:25:05 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-05-23 14:53:35 -0400 |
commit | 0e54456f0498e52131f8ae0c76b4dfe25f45b076 (patch) | |
tree | af084f574bed46f24c40f7991c6f46dc9304fc43 | |
parent | 80970985c965f79b8c376c8a922497e385445dd8 (diff) |
Use only kernel/coinstats.h in index/coinstatsindex.h
Removes a circular dependency, horray!
-rw-r--r-- | src/index/coinstatsindex.h | 2 | ||||
-rwxr-xr-x | test/lint/lint-circular-dependencies.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/index/coinstatsindex.h b/src/index/coinstatsindex.h index a6c935c25e..315f1fa14a 100644 --- a/src/index/coinstatsindex.h +++ b/src/index/coinstatsindex.h @@ -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. diff --git a/test/lint/lint-circular-dependencies.py b/test/lint/lint-circular-dependencies.py index 7ca2ec994b..3b328501cf 100755 --- a/test/lint/lint-circular-dependencies.py +++ b/test/lint/lint-circular-dependencies.py @@ -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", |