![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <chain.h>#include <coins.h>#include <consensus/amount.h>#include <streams.h>#include <uint256.h>#include <cstdint>#include <functional>Go to the source code of this file.
Classes | |
| struct | CCoinsStats |
Enumerations | |
| enum class | CoinStatsHashType { HASH_SERIALIZED , MUHASH , NONE } |
Functions | |
| bool | GetUTXOStats (CCoinsView *view, BlockManager &blockman, CCoinsStats &stats, const std::function< void()> &interruption_point={}, const CBlockIndex *pindex=nullptr) |
| Calculate statistics about the unspent transaction output set. More... | |
| uint64_t | GetBogoSize (const CScript &script_pub_key) |
| CDataStream | TxOutSer (const COutPoint &outpoint, const Coin &coin) |
|
strong |
| Enumerator | |
|---|---|
| HASH_SERIALIZED | |
| MUHASH | |
| NONE | |
Definition at line 21 of file coinstats.h.
| uint64_t GetBogoSize | ( | const CScript & | script_pub_key | ) |
Definition at line 20 of file coinstats.cpp.
| bool GetUTXOStats | ( | CCoinsView * | view, |
| BlockManager & | blockman, | ||
| CCoinsStats & | stats, | ||
| const std::function< void()> & | interruption_point = {}, |
||
| const CBlockIndex * | pindex = nullptr |
||
| ) |
Calculate statistics about the unspent transaction output set.
Definition at line 145 of file coinstats.cpp.
| CDataStream TxOutSer | ( | const COutPoint & | outpoint, |
| const Coin & | coin | ||
| ) |