diff options
author | Carl Dong <contact@carldong.me> | 2020-09-01 16:15:57 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-03-08 15:54:31 -0500 |
commit | 106bcd4f390137904b5579cfef023fb8a5c8b4b5 (patch) | |
tree | 7b3e55d2067e347877b4e7ae469ec2d51b1694cb /src/node/coinstats.h | |
parent | 2c3ba006930a5bbbf5a33bd530f3c1b2c4103c74 (diff) |
node/coinstats: Pass in BlockManager to GetUTXOStats
Diffstat (limited to 'src/node/coinstats.h')
-rw-r--r-- | src/node/coinstats.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node/coinstats.h b/src/node/coinstats.h index f02b95235f..83f228aa7e 100644 --- a/src/node/coinstats.h +++ b/src/node/coinstats.h @@ -8,6 +8,7 @@ #include <amount.h> #include <uint256.h> +#include <validation.h> #include <cstdint> #include <functional> @@ -36,6 +37,6 @@ struct CCoinsStats }; //! Calculate statistics about the unspent transaction output set -bool GetUTXOStats(CCoinsView* view, CCoinsStats& stats, const CoinStatsHashType hash_type, const std::function<void()>& interruption_point = {}); +bool GetUTXOStats(CCoinsView* view, BlockManager& blockman, CCoinsStats& stats, const CoinStatsHashType hash_type, const std::function<void()>& interruption_point = {}); #endif // BITCOIN_NODE_COINSTATS_H |