Bitcoin Core
22.99.0
P2P Digital Currency
|
#include <coinstats.h>
Public Member Functions | |
CCoinsStats (CoinStatsHashType hash_type) | |
Public Attributes | |
const CoinStatsHashType | m_hash_type |
Which hash type to use. More... | |
int | nHeight {0} |
uint256 | hashBlock {} |
uint64_t | nTransactions {0} |
uint64_t | nTransactionOutputs {0} |
uint64_t | nBogoSize {0} |
uint256 | hashSerialized {} |
uint64_t | nDiskSize {0} |
std::optional< CAmount > | total_amount {0} |
The total amount, or nullopt if an overflow occurred calculating it. More... | |
uint64_t | coins_count {0} |
The number of coins contained. More... | |
bool | index_requested {true} |
Signals if the coinstatsindex should be used (when available). More... | |
bool | index_used {false} |
Signals if the coinstatsindex was used to retrieve the statistics. More... | |
CAmount | total_subsidy {0} |
Total cumulative amount of block subsidies up to and including this block. More... | |
CAmount | total_unspendable_amount {0} |
Total cumulative amount of unspendable coins up to and including this block. More... | |
CAmount | total_prevout_spent_amount {0} |
Total cumulative amount of prevouts spent up to and including this block. More... | |
CAmount | total_new_outputs_ex_coinbase_amount {0} |
Total cumulative amount of outputs created up to and including this block. More... | |
CAmount | total_coinbase_amount {0} |
Total cumulative amount of coinbase outputs up to and including this block. More... | |
CAmount | total_unspendables_genesis_block {0} |
The unspendable coinbase amount from the genesis block. More... | |
CAmount | total_unspendables_bip30 {0} |
The two unspendable coinbase outputs total amount caused by BIP30. More... | |
CAmount | total_unspendables_scripts {0} |
Total cumulative amount of outputs sent to unspendable scripts (OP_RETURN for example) up to and including this block. More... | |
CAmount | total_unspendables_unclaimed_rewards {0} |
Total cumulative amount of coins lost due to unclaimed miner rewards up to and including this block. More... | |
Definition at line 30 of file coinstats.h.
|
inline |
Definition at line 73 of file coinstats.h.
uint64_t node::CCoinsStats::coins_count {0} |
The number of coins contained.
Definition at line 45 of file coinstats.h.
uint256 node::CCoinsStats::hashBlock {} |
Definition at line 35 of file coinstats.h.
uint256 node::CCoinsStats::hashSerialized {} |
Definition at line 39 of file coinstats.h.
bool node::CCoinsStats::index_requested {true} |
Signals if the coinstatsindex should be used (when available).
Definition at line 48 of file coinstats.h.
bool node::CCoinsStats::index_used {false} |
Signals if the coinstatsindex was used to retrieve the statistics.
Definition at line 50 of file coinstats.h.
const CoinStatsHashType node::CCoinsStats::m_hash_type |
Which hash type to use.
Definition at line 32 of file coinstats.h.
uint64_t node::CCoinsStats::nBogoSize {0} |
Definition at line 38 of file coinstats.h.
uint64_t node::CCoinsStats::nDiskSize {0} |
Definition at line 40 of file coinstats.h.
int node::CCoinsStats::nHeight {0} |
Definition at line 34 of file coinstats.h.
uint64_t node::CCoinsStats::nTransactionOutputs {0} |
Definition at line 37 of file coinstats.h.
uint64_t node::CCoinsStats::nTransactions {0} |
Definition at line 36 of file coinstats.h.
std::optional<CAmount> node::CCoinsStats::total_amount {0} |
The total amount, or nullopt if an overflow occurred calculating it.
Definition at line 42 of file coinstats.h.
CAmount node::CCoinsStats::total_coinbase_amount {0} |
Total cumulative amount of coinbase outputs up to and including this block.
Definition at line 63 of file coinstats.h.
CAmount node::CCoinsStats::total_new_outputs_ex_coinbase_amount {0} |
Total cumulative amount of outputs created up to and including this block.
Definition at line 61 of file coinstats.h.
CAmount node::CCoinsStats::total_prevout_spent_amount {0} |
Total cumulative amount of prevouts spent up to and including this block.
Definition at line 59 of file coinstats.h.
CAmount node::CCoinsStats::total_subsidy {0} |
Total cumulative amount of block subsidies up to and including this block.
Definition at line 55 of file coinstats.h.
CAmount node::CCoinsStats::total_unspendable_amount {0} |
Total cumulative amount of unspendable coins up to and including this block.
Definition at line 57 of file coinstats.h.
CAmount node::CCoinsStats::total_unspendables_bip30 {0} |
The two unspendable coinbase outputs total amount caused by BIP30.
Definition at line 67 of file coinstats.h.
CAmount node::CCoinsStats::total_unspendables_genesis_block {0} |
The unspendable coinbase amount from the genesis block.
Definition at line 65 of file coinstats.h.
CAmount node::CCoinsStats::total_unspendables_scripts {0} |
Total cumulative amount of outputs sent to unspendable scripts (OP_RETURN for example) up to and including this block.
Definition at line 69 of file coinstats.h.
CAmount node::CCoinsStats::total_unspendables_unclaimed_rewards {0} |
Total cumulative amount of coins lost due to unclaimed miner rewards up to and including this block.
Definition at line 71 of file coinstats.h.