Scorum
|
Maintains global state information. More...
#include <dynamic_global_property_object.hpp>
Public Attributes | |
id_type | id |
uint32_t | head_block_number = 0 |
Current head block number. More... | |
block_id_type | head_block_id |
Current head block id. More... | |
time_point_sec | time |
Current head block time. More... | |
account_name_type | current_witness |
Head block signed by current witness. More... | |
asset | total_supply = asset(0, SCORUM_SYMBOL) |
Total SCR and SP (circulating_scr + circulating_sp) More... | |
asset | circulating_capital = asset(0, SCORUM_SYMBOL) |
Total SCR and SP on circulating (on account balances). circulating_capital <= total_supply. More... | |
asset | total_scorumpower = asset(0, SP_SYMBOL) |
Total SP on accounts scorumpower. More... | |
asset | total_witness_reward_scr = asset(0, SCORUM_SYMBOL) |
Total amount of SCR received by witnesses. More... | |
asset | total_witness_reward_sp = asset(0, SP_SYMBOL) |
Total amount of SP received by witnesses. More... | |
asset | total_pending_scr = asset(0, SCORUM_SYMBOL) |
Total amount of pending SCR. More... | |
asset | total_pending_sp = asset(0, SP_SYMBOL) |
Total amount of pending SP. More... | |
chain_properties | median_chain_props |
version | majority_version |
Witnesses majority version. More... | |
uint64_t | current_aslot = 0 |
fc::uint128_t | recent_slots_filled |
used to compute witness participation. More... | |
uint8_t | participation_count = 0 |
Divide by 128 to compute participation percentage. More... | |
uint32_t | last_irreversible_block_num = 0 |
last irreversible block num More... | |
adv_total_stats | advertising |
this section display information about advertising totals More... | |
betting_total_stats | betting_stats |
this section display information about betting totals More... | |
Maintains global state information.
This is an implementation detail. The values here are calculated during normal chain operations and reflect the current values of global blockchain properties.
Definition at line 53 of file dynamic_global_property_object.hpp.
adv_total_stats scorum::chain::dynamic_global_property_object::advertising |
this section display information about advertising totals
Definition at line 119 of file dynamic_global_property_object.hpp.
betting_total_stats scorum::chain::dynamic_global_property_object::betting_stats |
this section display information about betting totals
Definition at line 122 of file dynamic_global_property_object.hpp.
asset scorum::chain::dynamic_global_property_object::circulating_capital = asset(0, SCORUM_SYMBOL) |
Total SCR and SP on circulating (on account balances). circulating_capital <= total_supply.
Definition at line 77 of file dynamic_global_property_object.hpp.
uint64_t scorum::chain::dynamic_global_property_object::current_aslot = 0 |
The current absolute slot number. Equal to the total number of slots since genesis. Also equal to the total number of missed slots plus head_block_number.
Definition at line 107 of file dynamic_global_property_object.hpp.
account_name_type scorum::chain::dynamic_global_property_object::current_witness |
Head block signed by current witness.
Definition at line 71 of file dynamic_global_property_object.hpp.
block_id_type scorum::chain::dynamic_global_property_object::head_block_id |
Current head block id.
Definition at line 65 of file dynamic_global_property_object.hpp.
uint32_t scorum::chain::dynamic_global_property_object::head_block_number = 0 |
Current head block number.
Definition at line 62 of file dynamic_global_property_object.hpp.
id_type scorum::chain::dynamic_global_property_object::id |
Definition at line 59 of file dynamic_global_property_object.hpp.
uint32_t scorum::chain::dynamic_global_property_object::last_irreversible_block_num = 0 |
last irreversible block num
Definition at line 116 of file dynamic_global_property_object.hpp.
version scorum::chain::dynamic_global_property_object::majority_version |
Witnesses majority version.
Definition at line 103 of file dynamic_global_property_object.hpp.
chain_properties scorum::chain::dynamic_global_property_object::median_chain_props |
Chain properties are decided by the set of active witnesses which change every round. Each witness posts what they think the chain properties should be as part of their witness properties, the median size is chosen to be the chain properties for the round.
Definition at line 100 of file dynamic_global_property_object.hpp.
uint8_t scorum::chain::dynamic_global_property_object::participation_count = 0 |
Divide by 128 to compute participation percentage.
Definition at line 113 of file dynamic_global_property_object.hpp.
fc::uint128_t scorum::chain::dynamic_global_property_object::recent_slots_filled |
used to compute witness participation.
Definition at line 110 of file dynamic_global_property_object.hpp.
time_point_sec scorum::chain::dynamic_global_property_object::time |
Current head block time.
Definition at line 68 of file dynamic_global_property_object.hpp.
asset scorum::chain::dynamic_global_property_object::total_pending_scr = asset(0, SCORUM_SYMBOL) |
Total amount of pending SCR.
Definition at line 89 of file dynamic_global_property_object.hpp.
Total amount of pending SP.
Definition at line 92 of file dynamic_global_property_object.hpp.
Total SP on accounts scorumpower.
Definition at line 80 of file dynamic_global_property_object.hpp.
asset scorum::chain::dynamic_global_property_object::total_supply = asset(0, SCORUM_SYMBOL) |
Total SCR and SP (circulating_scr + circulating_sp)
Definition at line 74 of file dynamic_global_property_object.hpp.
asset scorum::chain::dynamic_global_property_object::total_witness_reward_scr = asset(0, SCORUM_SYMBOL) |
Total amount of SCR received by witnesses.
Definition at line 83 of file dynamic_global_property_object.hpp.
Total amount of SP received by witnesses.
Definition at line 86 of file dynamic_global_property_object.hpp.