Bitcoin ABC  0.26.3
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
node::CCoinsStats Struct Reference

#include <coinstats.h>

Collaboration diagram for node::CCoinsStats:
[legend]

Public Member Functions

 CCoinsStats ()=default
 
 CCoinsStats (int block_height, const BlockHash &block_hash)
 

Public Attributes

int nHeight {0}
 
BlockHash hashBlock {}
 
uint64_t nTransactions {0}
 
uint64_t nTransactionOutputs {0}
 
uint64_t nBogoSize {0}
 
uint256 hashSerialized {}
 
uint64_t nDiskSize {0}
 
Amount nTotalAmount {Amount::zero()}
 
uint64_t coins_count {0}
 The number of coins contained. More...
 
bool index_used {false}
 Signals if the coinstatsindex was used to retrieve the statistics. More...
 
Amount total_subsidy {Amount::zero()}
 Total cumulative amount of block subsidies up to and including this block. More...
 
Amount total_unspendable_amount {Amount::zero()}
 Total cumulative amount of unspendable coins up to and including this block. More...
 
Amount total_prevout_spent_amount {Amount::zero()}
 Total cumulative amount of prevouts spent up to and including this block. More...
 
Amount total_new_outputs_ex_coinbase_amount {Amount::zero()}
 Total cumulative amount of outputs created up to and including this block. More...
 
Amount total_coinbase_amount {Amount::zero()}
 Total cumulative amount of coinbase outputs up to and including this block. More...
 
Amount total_unspendables_genesis_block {Amount::zero()}
 The unspendable coinbase amount from the genesis block. More...
 
Amount total_unspendables_bip30 {Amount::zero()}
 The two unspendable coinbase outputs total amount caused by BIP30. More...
 
Amount total_unspendables_scripts {Amount::zero()}
 Total cumulative amount of outputs sent to unspendable scripts (OP_RETURN for example) up to and including this block. More...
 
Amount total_unspendables_unclaimed_rewards {Amount::zero()}
 Total cumulative amount of coins lost due to unclaimed miner rewards up to and including this block. More...
 

Detailed Description

Definition at line 32 of file coinstats.h.

Constructor & Destructor Documentation

◆ CCoinsStats() [1/2]

node::CCoinsStats::CCoinsStats ( )
default

◆ CCoinsStats() [2/2]

node::CCoinsStats::CCoinsStats ( int  block_height,
const BlockHash block_hash 
)

Definition at line 22 of file coinstats.cpp.

Member Data Documentation

◆ coins_count

uint64_t node::CCoinsStats::coins_count {0}

The number of coins contained.

Definition at line 43 of file coinstats.h.

◆ hashBlock

BlockHash node::CCoinsStats::hashBlock {}

Definition at line 34 of file coinstats.h.

◆ hashSerialized

uint256 node::CCoinsStats::hashSerialized {}

Definition at line 38 of file coinstats.h.

◆ index_used

bool node::CCoinsStats::index_used {false}

Signals if the coinstatsindex was used to retrieve the statistics.

Definition at line 46 of file coinstats.h.

◆ nBogoSize

uint64_t node::CCoinsStats::nBogoSize {0}

Definition at line 37 of file coinstats.h.

◆ nDiskSize

uint64_t node::CCoinsStats::nDiskSize {0}

Definition at line 39 of file coinstats.h.

◆ nHeight

int node::CCoinsStats::nHeight {0}

Definition at line 33 of file coinstats.h.

◆ nTotalAmount

Amount node::CCoinsStats::nTotalAmount {Amount::zero()}

Definition at line 40 of file coinstats.h.

◆ nTransactionOutputs

uint64_t node::CCoinsStats::nTransactionOutputs {0}

Definition at line 36 of file coinstats.h.

◆ nTransactions

uint64_t node::CCoinsStats::nTransactions {0}

Definition at line 35 of file coinstats.h.

◆ total_coinbase_amount

Amount node::CCoinsStats::total_coinbase_amount {Amount::zero()}

Total cumulative amount of coinbase outputs up to and including this block.

Definition at line 63 of file coinstats.h.

◆ total_new_outputs_ex_coinbase_amount

Amount node::CCoinsStats::total_new_outputs_ex_coinbase_amount {Amount::zero()}

Total cumulative amount of outputs created up to and including this block.

Definition at line 60 of file coinstats.h.

◆ total_prevout_spent_amount

Amount node::CCoinsStats::total_prevout_spent_amount {Amount::zero()}

Total cumulative amount of prevouts spent up to and including this block.

Definition at line 57 of file coinstats.h.

◆ total_subsidy

Amount node::CCoinsStats::total_subsidy {Amount::zero()}

Total cumulative amount of block subsidies up to and including this block.

Definition at line 52 of file coinstats.h.

◆ total_unspendable_amount

Amount node::CCoinsStats::total_unspendable_amount {Amount::zero()}

Total cumulative amount of unspendable coins up to and including this block.

Definition at line 55 of file coinstats.h.

◆ total_unspendables_bip30

Amount node::CCoinsStats::total_unspendables_bip30 {Amount::zero()}

The two unspendable coinbase outputs total amount caused by BIP30.

Definition at line 67 of file coinstats.h.

◆ total_unspendables_genesis_block

Amount node::CCoinsStats::total_unspendables_genesis_block {Amount::zero()}

The unspendable coinbase amount from the genesis block.

Definition at line 65 of file coinstats.h.

◆ total_unspendables_scripts

Amount node::CCoinsStats::total_unspendables_scripts {Amount::zero()}

Total cumulative amount of outputs sent to unspendable scripts (OP_RETURN for example) up to and including this block.

Definition at line 70 of file coinstats.h.

◆ total_unspendables_unclaimed_rewards

Amount node::CCoinsStats::total_unspendables_unclaimed_rewards {Amount::zero()}

Total cumulative amount of coins lost due to unclaimed miner rewards up to and including this block.

Definition at line 73 of file coinstats.h.


The documentation for this struct was generated from the following files: