Skip to main content

consistency_proof

Function consistency_proof 

Source
pub async fn consistency_proof<R: NodeReader>(
    reader: &R,
    view: &AlgView,
    alg_id: u64,
    old_size: u64,
    new_size: u64,
    global_size: u64,
    arity: u64,
) -> Result<Option<ConsistencyProof>, R::Error>
Expand description

Generate a consistency proof between old_size and new_size for the algorithm view. Returns None when the request is out of range.

§Errors

Propagates Error from the node reads.