Skip to main content

legacy_leaf_chain_from_memory

Function legacy_leaf_chain_from_memory 

Source
async fn legacy_leaf_chain_from_memory<I: NodeImplementation<SeqTypes>>(
    consensus_handle: &ConsensusHandle<SeqTypes, I>,
    height: u64,
) -> Result<Vec<Leaf2>>
Expand description

Build a legacy-protocol 3-chain leaf chain decided at height from in-memory undecided leaves.

Returns an error if the chain cannot be assembled from memory (e.g. the height is below the latest decided leaf).