Skip to main content

serve_proof_into

Function serve_proof_into 

Source
pub fn serve_proof_into(
    provider: &HttpProvider<'_, '_, '_, '_>,
    leaf: u64,
    if_range: Option<&[u8]>,
    expected: Validator<'_>,
    options: ServeOptions,
    authority: &mut LocalEffectControl<'_, '_>,
    ledger: &mut ReservationLedger,
    out: &mut [u8],
) -> Result<Served, ProviderError>
Expand description

Proof bytes cannot borrow a stack buffer. Encode into out directly.