BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
graphene::chain::detail::vote_recalc_options Struct Reference

Public Member Functions

 vote_recalc_options (uint32_t f, uint32_t d, uint32_t s)
 
vote_recalc_times get_vote_recalc_times (const time_point_sec now) const
 
uint64_t get_recalced_voting_stake (const uint64_t stake, const time_point_sec last_vote_time, const vote_recalc_times &recalc_times) const
 

Static Public Member Functions

static const vote_recalc_options witness ()
 
static const vote_recalc_options committee ()
 
static const vote_recalc_options worker ()
 
static const vote_recalc_options delegator ()
 

Public Attributes

uint32_t full_power_seconds
 
uint32_t recalc_steps
 
uint32_t seconds_per_step
 
uint32_t total_recalc_seconds
 
vector< uint16_t > power_percents_to_subtract
 

Detailed Description

Definition at line 1119 of file db_maint.cpp.

Constructor & Destructor Documentation

graphene::chain::detail::vote_recalc_options::vote_recalc_options ( uint32_t  f,
uint32_t  d,
uint32_t  s 
)
inline

Definition at line 1121 of file db_maint.cpp.

Member Function Documentation

const vote_recalc_options graphene::chain::detail::vote_recalc_options::committee ( )
static

Definition at line 1168 of file db_maint.cpp.

const vote_recalc_options graphene::chain::detail::vote_recalc_options::delegator ( )
static

Definition at line 1178 of file db_maint.cpp.

uint64_t graphene::chain::detail::vote_recalc_options::get_recalced_voting_stake ( const uint64_t  stake,
const time_point_sec  last_vote_time,
const vote_recalc_times recalc_times 
) const
inline

Definition at line 1147 of file db_maint.cpp.

vote_recalc_times graphene::chain::detail::vote_recalc_options::get_vote_recalc_times ( const time_point_sec  now) const
inline

Definition at line 1130 of file db_maint.cpp.

const vote_recalc_options graphene::chain::detail::vote_recalc_options::witness ( )
static

Definition at line 1163 of file db_maint.cpp.

const vote_recalc_options graphene::chain::detail::vote_recalc_options::worker ( )
static

Definition at line 1173 of file db_maint.cpp.

Member Data Documentation

uint32_t graphene::chain::detail::vote_recalc_options::full_power_seconds

Definition at line 1135 of file db_maint.cpp.

vector<uint16_t> graphene::chain::detail::vote_recalc_options::power_percents_to_subtract

Definition at line 1139 of file db_maint.cpp.

uint32_t graphene::chain::detail::vote_recalc_options::recalc_steps

Definition at line 1136 of file db_maint.cpp.

uint32_t graphene::chain::detail::vote_recalc_options::seconds_per_step

Definition at line 1137 of file db_maint.cpp.

uint32_t graphene::chain::detail::vote_recalc_options::total_recalc_seconds

Definition at line 1138 of file db_maint.cpp.


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