Struct hypercore::Proof[][src]

pub struct Proof {
    pub index: usize,
    pub nodes: Vec<Node>,
    pub signature: Signature,
}

A merkle proof for an index, created by the .proof() method.

Fields

The index to which this proof corresponds.

Nodes that verify the index you passed.

An ed25519 signature, guaranteeing the integrity of the nodes.

Trait Implementations

impl Debug for Proof
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Proof
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Proof
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Proof

impl Sync for Proof