vrf_impl

Warning

doxygenfile: Cannot find file “eos/vrf_impl.h

Type definitions in vrf_impl

namespace eos
class vrf_impl_t
#include <vrf_impl.h>

Public Functions

vrf_impl_t()
vrf_impl_t(std::string name, vrf_state_t state, uint64_t rd)
std::string name() const

Getter for ‘name’: the name of the VRF.

vrf_state_t state() const

Getter for ‘state’: the state of this VRF.

uint64_t rd() const

Getter for ‘rd’: the route distinguisher of the VRF.

bool operator==(vrf_impl_t const & other) const
bool operator!=(vrf_impl_t const & other) const
bool operator<(vrf_impl_t const & other) const
uint32_t hash() const

The hash function for type vrf_t.

void mix_me(hash_mix & h) const

The hash mix function for type vrf_t.

std::string to_string() const

Returns a string representation of the current object’s values.

Private Members

std::string name_
vrf_state_t state_
uint64_t rd_

Friends

friend std::ostream & operator<<

A utility stream operator that adds a string representation of vrf_t to the ostream.