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]

Create a new Proof instance.

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 !=.

Auto Trait Implementations

impl Send for Proof

impl Sync for Proof