Scorum
|
#include <witness_objects.hpp>
Public Types | |
enum | witness_schedule_type { top20 , timeshare , none } |
Public Attributes | |
id_type | id |
account_name_type | owner |
time_point_sec | created |
fc::shared_string | url |
uint32_t | total_missed = 0 |
uint64_t | last_confirmed_block_num = 0 |
public_key_type | signing_key |
chain_properties | proposed_chain_props |
share_type | votes |
witness_schedule_type | schedule = none |
fc::uint128 | virtual_last_update |
fc::uint128 | virtual_position |
fc::uint128 | virtual_scheduled_time = fc::uint128::max_value() |
version | running_version |
hardfork_version | hardfork_version_vote |
time_point_sec | hardfork_time_vote |
All witnesses with at least 1% net positive approval and at least 2 weeks old are able to participate in block production.
Definition at line 26 of file witness_objects.hpp.
Enumerator | |
---|---|
top20 | |
timeshare | |
none |
Definition at line 31 of file witness_objects.hpp.
time_point_sec scorum::chain::witness_object::created |
Definition at line 42 of file witness_objects.hpp.
time_point_sec scorum::chain::witness_object::hardfork_time_vote |
Definition at line 96 of file witness_objects.hpp.
hardfork_version scorum::chain::witness_object::hardfork_version_vote |
Definition at line 95 of file witness_objects.hpp.
id_type scorum::chain::witness_object::id |
Definition at line 38 of file witness_objects.hpp.
uint64_t scorum::chain::witness_object::last_confirmed_block_num = 0 |
Definition at line 45 of file witness_objects.hpp.
account_name_type scorum::chain::witness_object::owner |
the account that has authority over this witness
Definition at line 41 of file witness_objects.hpp.
chain_properties scorum::chain::witness_object::proposed_chain_props |
Definition at line 52 of file witness_objects.hpp.
version scorum::chain::witness_object::running_version |
This field represents the Scorum blockchain version the witness is running.
Definition at line 93 of file witness_objects.hpp.
witness_schedule_type scorum::chain::witness_object::schedule = none |
Definition at line 60 of file witness_objects.hpp.
public_key_type scorum::chain::witness_object::signing_key |
This is the key used to sign blocks on behalf of this witness
Definition at line 50 of file witness_objects.hpp.
uint32_t scorum::chain::witness_object::total_missed = 0 |
Definition at line 44 of file witness_objects.hpp.
fc::shared_string scorum::chain::witness_object::url |
Definition at line 43 of file witness_objects.hpp.
share_type scorum::chain::witness_object::votes |
The total votes for this witness. This determines how the witness is ranked for scheduling. The top N witnesses by votes are scheduled every round, every one else takes turns being scheduled proportional to their votes.
Definition at line 59 of file witness_objects.hpp.