#include <node/coinstats.h>
#include <coins.h>
#include <hash.h>
#include <serialize.h>
#include <uint256.h>
#include <util/system.h>
#include <validation.h>
#include <map>
Go to the source code of this file.
|
| static uint64_t | GetBogoSize (const CScript &scriptPubKey) |
| |
| static void | ApplyStats (CCoinsStats &stats, CHashWriter &ss, const uint256 &hash, const std::map< uint32_t, Coin > &outputs) |
| |
| static void | ApplyStats (CCoinsStats &stats, std::nullptr_t, const uint256 &hash, const std::map< uint32_t, Coin > &outputs) |
| |
| template<typename T > |
| static bool | GetUTXOStats (CCoinsView *view, CCoinsStats &stats, T hash_obj, const std::function< void()> &interruption_point) |
| | Calculate statistics about the unspent transaction output set. More...
|
| |
| bool | GetUTXOStats (CCoinsView *view, CCoinsStats &stats, CoinStatsHashType hash_type, const std::function< void()> &interruption_point) |
| | Calculate statistics about the unspent transaction output set. More...
|
| |
| static void | PrepareHash (CHashWriter &ss, CCoinsStats &stats) |
| |
| static void | PrepareHash (std::nullptr_t, CCoinsStats &stats) |
| |
| static void | FinalizeHash (CHashWriter &ss, CCoinsStats &stats) |
| |
| static void | FinalizeHash (std::nullptr_t, CCoinsStats &stats) |
| |
| static void ApplyStats |
( |
CCoinsStats & |
stats, |
|
|
std::nullptr_t |
, |
|
|
const uint256 & |
hash, |
|
|
const std::map< uint32_t, Coin > & |
outputs |
|
) |
| |
|
static |
| static void FinalizeHash |
( |
std::nullptr_t |
, |
|
|
CCoinsStats & |
stats |
|
) |
| |
|
static |
| static uint64_t GetBogoSize |
( |
const CScript & |
scriptPubKey | ) |
|
|
static |
template<typename T >
| static bool GetUTXOStats |
( |
CCoinsView * |
view, |
|
|
CCoinsStats & |
stats, |
|
|
T |
hash_obj, |
|
|
const std::function< void()> & |
interruption_point |
|
) |
| |
|
static |
Calculate statistics about the unspent transaction output set.
Definition at line 57 of file coinstats.cpp.
Calculate statistics about the unspent transaction output set.
Definition at line 100 of file coinstats.cpp.
| static void PrepareHash |
( |
std::nullptr_t |
, |
|
|
CCoinsStats & |
stats |
|
) |
| |
|
static |