Skip to content

sgns::crypto::VRFOutput

More...

#include <sr25519_types.hpp>

Public Functions

Name
bool operator==(const VRFOutput & other) const
bool operator!=(const VRFOutput & other) const

Public Attributes

Name
VRFPreOutput output
VRFProof proof

Friends

Name
std::ostream & operator<<(std::ostream & out, const VRFOutput & test_struct)

Detailed Description

struct sgns::crypto::VRFOutput;

Output of a verifiable random function. Consists of pre-output, which is an internal representation of the generated random value, and the proof to this value that servers as the verification of its randomness.

Public Functions Documentation

function operator==

bool operator==(
    const VRFOutput & other
) const

function operator!=

bool operator!=(
    const VRFOutput & other
) const

Public Attributes Documentation

variable output

VRFPreOutput output {};

variable proof

VRFProof proof {};

Friends

friend operator<<

friend std::ostream & operator<<(
    std::ostream & out,

    const VRFOutput & test_struct
);

Updated on 2026-03-04 at 13:10:43 -0800