Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::witness_schedule_object Class Reference

#include <witness_object.hpp>

Inheritance diagram for golos::chain::witness_schedule_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 witness_schedule_object (Constructor &&c, allocator< Allocator > a)
 
 witness_schedule_object ()
 

Public Attributes

id_type id
 
fc::uint128 current_virtual_time
 
uint32_t next_shuffle_block_num = 1
 
fc::array< account_name_type, STEEMIT_MAX_WITNESSES > current_shuffled_witnesses
 
uint8_t num_scheduled_witnesses = 1
 
uint8_t top19_weight = 1
 
uint8_t timeshare_weight = 5
 
uint8_t miner_weight = 1
 
uint32_t witness_pay_normalization_factor = 25
 
chain_properties< 0, 17, 0 > median_props
 
version majority_version
 
uint8_t max_voted_witnesses = STEEMIT_MAX_VOTED_WITNESSES
 
uint8_t max_miner_witnesses = STEEMIT_MAX_MINER_WITNESSES
 
uint8_t max_runner_witnesses = STEEMIT_MAX_RUNNER_WITNESSES
 
uint8_t hardfork_required_witnesses = STEEMIT_HARDFORK_REQUIRED_WITNESSES
 

Detailed Description

Definition at line 134 of file witness_object.hpp.

Constructor & Destructor Documentation

◆ witness_schedule_object() [1/2]

template<typename Constructor , typename Allocator >
golos::chain::witness_schedule_object::witness_schedule_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 137 of file witness_object.hpp.

◆ witness_schedule_object() [2/2]

golos::chain::witness_schedule_object::witness_schedule_object ( )
inline

Definition at line 141 of file witness_object.hpp.

Member Data Documentation

◆ current_shuffled_witnesses

fc::array<account_name_type, STEEMIT_MAX_WITNESSES> golos::chain::witness_schedule_object::current_shuffled_witnesses

Definition at line 148 of file witness_object.hpp.

◆ current_virtual_time

fc::uint128 golos::chain::witness_schedule_object::current_virtual_time

Definition at line 146 of file witness_object.hpp.

◆ hardfork_required_witnesses

uint8_t golos::chain::witness_schedule_object::hardfork_required_witnesses = STEEMIT_HARDFORK_REQUIRED_WITNESSES

Definition at line 160 of file witness_object.hpp.

◆ id

id_type golos::chain::witness_schedule_object::id

Definition at line 144 of file witness_object.hpp.

◆ majority_version

version golos::chain::witness_schedule_object::majority_version

Definition at line 155 of file witness_object.hpp.

◆ max_miner_witnesses

uint8_t golos::chain::witness_schedule_object::max_miner_witnesses = STEEMIT_MAX_MINER_WITNESSES

Definition at line 158 of file witness_object.hpp.

◆ max_runner_witnesses

uint8_t golos::chain::witness_schedule_object::max_runner_witnesses = STEEMIT_MAX_RUNNER_WITNESSES

Definition at line 159 of file witness_object.hpp.

◆ max_voted_witnesses

uint8_t golos::chain::witness_schedule_object::max_voted_witnesses = STEEMIT_MAX_VOTED_WITNESSES

Definition at line 157 of file witness_object.hpp.

◆ median_props

chain_properties<0, 17, 0> golos::chain::witness_schedule_object::median_props

Definition at line 154 of file witness_object.hpp.

◆ miner_weight

uint8_t golos::chain::witness_schedule_object::miner_weight = 1

Definition at line 152 of file witness_object.hpp.

◆ next_shuffle_block_num

uint32_t golos::chain::witness_schedule_object::next_shuffle_block_num = 1

Definition at line 147 of file witness_object.hpp.

◆ num_scheduled_witnesses

uint8_t golos::chain::witness_schedule_object::num_scheduled_witnesses = 1

Definition at line 149 of file witness_object.hpp.

◆ timeshare_weight

uint8_t golos::chain::witness_schedule_object::timeshare_weight = 5

Definition at line 151 of file witness_object.hpp.

◆ top19_weight

uint8_t golos::chain::witness_schedule_object::top19_weight = 1

Definition at line 150 of file witness_object.hpp.

◆ witness_pay_normalization_factor

uint32_t golos::chain::witness_schedule_object::witness_pay_normalization_factor = 25

Definition at line 153 of file witness_object.hpp.


The documentation for this class was generated from the following file: