Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Classes | Functions
golos::protocol Namespace Reference

Classes

struct  chain_properties
 

Functions

template<uint16_t percent, uint64_t multiply_constant, uint64_t shift_constant>
share_type calc_percent_reward (share_type current_supply)
 
template<uint16_t percent>
share_type calc_percent_reward_per_hour (share_type current_supply)
 
template<uint16_t percent>
share_type calc_percent_reward_per_block (share_type current_supply)
 
template<uint16_t percent>
share_type calc_percent_reward_per_round (share_type current_supply)
 
void operation_validate (const follow::follow_plugin_operation &op)
 
void operation_get_required_authorities (const follow::follow_plugin_operation &op, flat_set< protocol::account_name_type > &active, flat_set< protocol::account_name_type > &owner, flat_set< protocol::account_name_type > &posting, std::vector< authority > &other)
 
void operation_get_required_authorities (const follow::follow_plugin_operation &op, flat_set< account_name_type > &active, flat_set< account_name_type > &owner, flat_set< account_name_type > &posting, vector< authority > &other)
 
void operation_validate (const private_message::private_message_plugin_operation &o)
 
void operation_get_required_authorities (const private_message::private_message_plugin_operation &op, flat_set< account_name_type > &active, flat_set< account_name_type > &owner, flat_set< account_name_type > &posting, vector< authority > &other)
 
void operation_get_required_authorities (const private_message::private_message_plugin_operation &op, flat_set< protocol::account_name_type > &active, flat_set< protocol::account_name_type > &owner, flat_set< protocol::account_name_type > &posting, std::vector< authority > &other)
 

Function Documentation

◆ calc_percent_reward()

template<uint16_t percent, uint64_t multiply_constant, uint64_t shift_constant>
share_type golos::protocol::calc_percent_reward ( share_type  current_supply)

Definition at line 14 of file compound.hpp.

◆ calc_percent_reward_per_block()

template<uint16_t percent>
share_type golos::protocol::calc_percent_reward_per_block ( share_type  current_supply)
inline

Definition at line 43 of file compound.hpp.

◆ calc_percent_reward_per_hour()

template<uint16_t percent>
share_type golos::protocol::calc_percent_reward_per_hour ( share_type  current_supply)
inline

Definition at line 38 of file compound.hpp.

◆ calc_percent_reward_per_round()

template<uint16_t percent>
share_type golos::protocol::calc_percent_reward_per_round ( share_type  current_supply)
inline

Definition at line 48 of file compound.hpp.

◆ operation_get_required_authorities() [1/4]

void golos::protocol::operation_get_required_authorities ( const private_message::private_message_plugin_operation op,
flat_set< account_name_type > &  active,
flat_set< account_name_type > &  owner,
flat_set< account_name_type > &  posting,
vector< authority > &  other 
)

◆ operation_get_required_authorities() [2/4]

void golos::protocol::operation_get_required_authorities ( const private_message::private_message_plugin_operation op,
flat_set< protocol::account_name_type > &  active,
flat_set< protocol::account_name_type > &  owner,
flat_set< protocol::account_name_type > &  posting,
std::vector< authority > &  other 
)

Definition at line 46 of file private_message_operations.cpp.

◆ operation_get_required_authorities() [3/4]

void golos::protocol::operation_get_required_authorities ( const follow::follow_plugin_operation op,
flat_set< account_name_type > &  active,
flat_set< account_name_type > &  owner,
flat_set< account_name_type > &  posting,
vector< authority > &  other 
)

◆ operation_get_required_authorities() [4/4]

void golos::protocol::operation_get_required_authorities ( const follow::follow_plugin_operation op,
flat_set< protocol::account_name_type > &  active,
flat_set< protocol::account_name_type > &  owner,
flat_set< protocol::account_name_type > &  posting,
std::vector< authority > &  other 
)

Definition at line 60 of file follow_operations.cpp.

◆ operation_validate() [1/2]

void golos::protocol::operation_validate ( const private_message::private_message_plugin_operation o)

Definition at line 42 of file private_message_operations.cpp.

◆ operation_validate() [2/2]

void golos::protocol::operation_validate ( const follow::follow_plugin_operation op)

Definition at line 56 of file follow_operations.cpp.