pub struct HardCodedAkdVRF;
Expand description

This is a version of VRFKeyStorage for testing purposes, which uses the example from the VRF crate.

const KEY_MATERIAL: &str = “c9afa9d845ba75166b5c215767b1d6934e50c3db36e89b127b8a622b120f6721”;

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Retrieve the VRF Private key as a vector of bytes

Retrieve the properly constructed VRF Private key

Retrieve the VRF public key

Returns the tree nodelabel that corresponds to a version of the uname argument. The stale boolean here is to indicate whether we are getting the nodelabel for a fresh version, or a version that we are retiring. Read more

Retrieve the proof for a specific label

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.