Changeset View
Changeset View
Standalone View
Standalone View
src/node/coinstats.h
Show All 33 Lines | struct CCoinsStats { | ||||
uint64_t nBogoSize{0}; | uint64_t nBogoSize{0}; | ||||
uint256 hashSerialized{}; | uint256 hashSerialized{}; | ||||
uint64_t nDiskSize{0}; | uint64_t nDiskSize{0}; | ||||
Amount nTotalAmount{Amount::zero()}; | Amount nTotalAmount{Amount::zero()}; | ||||
//! The number of coins contained. | //! The number of coins contained. | ||||
uint64_t coins_count{0}; | uint64_t coins_count{0}; | ||||
bool from_index{false}; | //! Signals if the coinstatsindex should be used (when available). | ||||
bool index_requested{true}; | |||||
//! Signals if the coinstatsindex was used to retrieve the statistics. | |||||
bool index_used{false}; | |||||
// Following values are only available from coinstats index | // Following values are only available from coinstats index | ||||
Amount total_subsidy{Amount::zero()}; | Amount total_subsidy{Amount::zero()}; | ||||
Amount total_unspendable_amount{Amount::zero()}; | Amount total_unspendable_amount{Amount::zero()}; | ||||
Amount total_prevout_spent_amount{Amount::zero()}; | Amount total_prevout_spent_amount{Amount::zero()}; | ||||
Amount total_new_outputs_ex_coinbase_amount{Amount::zero()}; | Amount total_new_outputs_ex_coinbase_amount{Amount::zero()}; | ||||
Amount total_coinbase_amount{Amount::zero()}; | Amount total_coinbase_amount{Amount::zero()}; | ||||
Amount total_unspendables_genesis_block{Amount::zero()}; | Amount total_unspendables_genesis_block{Amount::zero()}; | ||||
Show All 17 Lines |