Bitcoin Core  0.19.99
P2P Digital Currency
Functions
coinstats.cpp File Reference
#include <node/coinstats.h>
#include <coins.h>
#include <hash.h>
#include <serialize.h>
#include <validation.h>
#include <uint256.h>
#include <util/system.h>
#include <map>
Include dependency graph for coinstats.cpp:

Go to the source code of this file.

Functions

static void ApplyStats (CCoinsStats &stats, CHashWriter &ss, const uint256 &hash, const std::map< uint32_t, Coin > &outputs)
 
bool GetUTXOStats (CCoinsView *view, CCoinsStats &stats)
 Calculate statistics about the unspent transaction output set. More...
 

Function Documentation

◆ ApplyStats()

static void ApplyStats ( CCoinsStats stats,
CHashWriter ss,
const uint256 hash,
const std::map< uint32_t, Coin > &  outputs 
)
static

Definition at line 17 of file coinstats.cpp.

Here is the caller graph for this function:

◆ GetUTXOStats()

bool GetUTXOStats ( CCoinsView view,
CCoinsStats stats 
)

Calculate statistics about the unspent transaction output set.

Definition at line 36 of file coinstats.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: