Struct tree_index::Proof [] [src]

pub struct Proof {
    pub verified_by: usize,
    pub nodes: Vec<usize>,
}

A merkle proof for an index.

Merkle trees are proven by checking the parent hashes.

Fields

Index of the node this was verified by.

Merkle proof for the index you pass, written in flat-tree notation.

Methods

impl Proof
[src]

[src]

Create a new [Proof] instance.

Trait Implementations

Auto Trait Implementations

impl Send for Proof

impl Sync for Proof