Skip to main content

BlockStatePath

Type Alias BlockStatePath 

Source
pub type BlockStatePath = MerkleProof<Commitment<Header>, u64, Sha3Node, { <BlockMerkleTree as MerkleTreeScheme>::ARITY }>;

Aliased Type§

pub struct BlockStatePath {
    pub pos: u64,
    pub proof: Vec<MerkleNode<Commitment<Header>, u64, Sha3Node>>,
}

Fields§

§pos: u64

Proof of inclusion for element at index pos

§proof: Vec<MerkleNode<Commitment<Header>, u64, Sha3Node>>

Nodes of proof path, from root to leaf