BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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_optionswitness ()
 
static const vote_recalc_optionscommittee ()
 
static const vote_recalc_optionsworker ()
 
static const vote_recalc_optionsdelegator ()
 

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 1179 of file db_maint.cpp.

Constructor & Destructor Documentation

◆ vote_recalc_options()

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

Definition at line 1181 of file db_maint.cpp.

Member Function Documentation

◆ committee()

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

Definition at line 1229 of file db_maint.cpp.

◆ delegator()

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

Definition at line 1239 of file db_maint.cpp.

◆ get_recalced_voting_stake()

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 1208 of file db_maint.cpp.

◆ get_vote_recalc_times()

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

Definition at line 1191 of file db_maint.cpp.

◆ witness()

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

Definition at line 1224 of file db_maint.cpp.

◆ worker()

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

Definition at line 1234 of file db_maint.cpp.

Member Data Documentation

◆ full_power_seconds

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

Definition at line 1196 of file db_maint.cpp.

◆ power_percents_to_subtract

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

Definition at line 1200 of file db_maint.cpp.

◆ recalc_steps

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

Definition at line 1197 of file db_maint.cpp.

◆ seconds_per_step

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

Definition at line 1198 of file db_maint.cpp.

◆ total_recalc_seconds

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

Definition at line 1199 of file db_maint.cpp.


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