[][src]Trait accumulator::HashReader

pub trait HashReader {
    fn get(&self, position: Position) -> Result<HashValue>;
}

Defines the interface between MerkleAccumulator and underlying storage.

Required methods

fn get(&self, position: Position) -> Result<HashValue>

Return HashValue carried by the node at Position.

Loading content...

Implementors

Loading content...