Kagome
Polkadot Runtime Engine in C++17
threshold_util.hpp File Reference
Include dependency graph for threshold_util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::consensus
 

Functions

Threshold kagome::consensus::calculateThreshold (const std::pair< uint64_t, uint64_t > &ratio, const primitives::AuthorityList &authorities, primitives::AuthorityIndex authority_index)