Skip to content

Commit 0e54456

Browse files
committed
Use only kernel/coinstats.h in index/coinstatsindex.h
Removes a circular dependency, horray!
1 parent 8097098 commit 0e54456

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/index/coinstatsindex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <crypto/muhash.h>
1010
#include <flatfile.h>
1111
#include <index/base.h>
12-
#include <node/coinstats.h>
12+
#include <kernel/coinstats.h>
1313

1414
/**
1515
* CoinStatsIndex maintains statistics on the UTXO set.

test/lint/lint-circular-dependencies.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
EXPECTED_CIRCULAR_DEPENDENCIES = (
1515
"chainparamsbase -> util/system -> chainparamsbase",
1616
"node/blockstorage -> validation -> node/blockstorage",
17-
"index/coinstatsindex -> node/coinstats -> index/coinstatsindex",
1817
"policy/fees -> txmempool -> policy/fees",
1918
"qt/addresstablemodel -> qt/walletmodel -> qt/addresstablemodel",
2019
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel",

0 commit comments

Comments
 (0)