#include <vrf_wrapper.hpp>
◆ VrfSortitionBase() [1/2]
taraxa::vrf_wrapper::VrfSortitionBase::VrfSortitionBase |
( |
| ) |
|
|
default |
◆ VrfSortitionBase() [2/2]
taraxa::vrf_wrapper::VrfSortitionBase::VrfSortitionBase |
( |
vrf_sk_t const & |
sk, |
|
|
bytes const & |
msg, |
|
|
uint16_t |
vote_count = 1 |
|
) |
| |
|
inline |
◆ makeVrfInput()
◆ operator==()
bool taraxa::vrf_wrapper::VrfSortitionBase::operator== |
( |
VrfSortitionBase const & |
other | ) |
const |
|
inline |
◆ print()
virtual std::ostream& taraxa::vrf_wrapper::VrfSortitionBase::print |
( |
std::ostream & |
strm | ) |
const |
|
inlinevirtual |
◆ thresholdFromOutput()
void taraxa::vrf_wrapper::VrfSortitionBase::thresholdFromOutput |
( |
uint16_t |
vote_count | ) |
const |
|
inlineprivate |
◆ verify()
bool taraxa::vrf_wrapper::VrfSortitionBase::verify |
( |
const vrf_pk_t & |
pk, |
|
|
const bytes & |
msg, |
|
|
uint16_t |
vote_count = 1 , |
|
|
bool |
strict = true |
|
) |
| const |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
strm, |
|
|
VrfSortitionBase const & |
vrf_sortition |
|
) |
| |
|
friend |
◆ output_
◆ proof_
vrf_proof_t taraxa::vrf_wrapper::VrfSortitionBase::proof_ |
◆ threshold_
uint16_t taraxa::vrf_wrapper::VrfSortitionBase::threshold_ |
|
mutable |
The documentation for this class was generated from the following files: