|
TARAXA
|
#include <libdevcore/SHA3.h>#include <libdevcrypto/Common.h>#include <boost/multiprecision/mpfr.hpp>#include "common/types.hpp"#include "common/vrf_wrapper.hpp"
Go to the source code of this file.
Classes | |
| class | taraxa::VrfPbftMsg |
| VrfPbftMsg class uses PBFT period, round and step to generate a message for doing VRF sortition. More... | |
| class | taraxa::VrfPbftSortition |
| VrfPbftSortition class used for doing VRF sortition to place a vote or to propose a new PBFT block. More... | |
Namespaces | |
| namespace | taraxa |
Enumerations | |
| enum class | taraxa::PbftVoteTypes : uint8_t { taraxa::PbftVoteTypes::invalid_vote = 0 , taraxa::PbftVoteTypes::propose_vote , taraxa::PbftVoteTypes::soft_vote , taraxa::PbftVoteTypes::cert_vote , taraxa::PbftVoteTypes::next_vote } |
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. | |