TARAXA
vrf_sortition.cpp File Reference
#include "vote/vrf_sortition.hpp"
#include <boost/math/distributions/binomial.hpp>
#include "common/encoding_rlp.hpp"

Namespaces

 taraxa
 

Functions

dev::h256 taraxa::getVoterIndexHash (const vrf_wrapper::vrf_output_t &vrf, const public_t &address, uint64_t index=0)
 Get a hash number of combining VRF output, voter address, and vote weight index. More...