Bitcoin ABC  0.29.2
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions
coinstats.h File Reference
#include <chain.h>
#include <coins.h>
#include <consensus/amount.h>
#include <primitives/blockhash.h>
#include <streams.h>
#include <uint256.h>
#include <cstdint>
#include <functional>
#include <optional>
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  node::CCoinsStats
 

Namespaces

 node
 

Enumerations

enum class  node::CoinStatsHashType { node::HASH_SERIALIZED , node::MUHASH , node::NONE }
 

Functions

std::optional< CCoinsStats > node::GetUTXOStats (CCoinsView *view, node::BlockManager &blockman, CoinStatsHashType hash_type, const std::function< void()> &interruption_point={}, const CBlockIndex *pindex=nullptr, bool index_requested=true)
 Calculate statistics about the unspent transaction output set. More...
 
uint64_t node::GetBogoSize (const CScript &script_pub_key)
 
CDataStream node::TxOutSer (const COutPoint &outpoint, const Coin &coin)
 
std::optional< CCoinsStats > node::ComputeUTXOStats (CoinStatsHashType hash_type, CCoinsView *view, BlockManager &blockman, const std::function< void()> &interruption_point)