Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Enumerations | Functions
coinstats.h File Reference
#include <amount.h>
#include <uint256.h>
#include <cstdint>
#include <functional>
Include dependency graph for coinstats.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CCoinsStats
 

Enumerations

enum  CoinStatsHashType { CoinStatsHashType::HASH_SERIALIZED, CoinStatsHashType::NONE }
 

Functions

bool GetUTXOStats (CCoinsView *view, CCoinsStats &stats, const CoinStatsHashType hash_type, const std::function< void()> &interruption_point={})
 Calculate statistics about the unspent transaction output set. More...
 

Enumeration Type Documentation

◆ CoinStatsHashType

enum CoinStatsHashType
strong
Enumerator
HASH_SERIALIZED 
NONE 

Definition at line 17 of file coinstats.h.

Function Documentation

◆ GetUTXOStats()

bool GetUTXOStats ( CCoinsView view,
CCoinsStats stats,
const CoinStatsHashType  hash_type,
const std::function< void()> &  interruption_point = {} 
)

Calculate statistics about the unspent transaction output set.

Definition at line 100 of file coinstats.cpp.

Here is the call graph for this function: