TARAXA
sortition_params_manager.cpp File Reference

Namespaces

 taraxa
 

Functions

int32_t taraxa::getThresholdChange (uint16_t efficiency, uint16_t target_efficiency, int32_t current_threshold)
 
int32_t taraxa::getClosestThreshold (const EfficienciesMap &efficiencies, uint16_t target, bool is_over_target)