Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions
coinstats.h File Reference
#include <consensus/amount.h>
#include <crypto/muhash.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  kernel::CCoinsStats
 

Namespaces

 node
 
 kernel
 

Enumerations

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

Functions

uint64_t kernel::GetBogoSize (const CScript &script_pub_key)
 
void kernel::ApplyCoinHash (MuHash3072 &muhash, const COutPoint &outpoint, const Coin &coin)
 
void kernel::RemoveCoinHash (MuHash3072 &muhash, const COutPoint &outpoint, const Coin &coin)
 
std::optional< CCoinsStats > kernel::ComputeUTXOStats (CoinStatsHashType hash_type, CCoinsView *view, node::BlockManager &blockman, const std::function< void()> &interruption_point)