Skip to main content

stretch_after

Function stretch_after 

Source
pub fn stretch_after(
    records: &[ProvenanceRecord],
    head: Option<Hash32>,
) -> &[ProvenanceRecord]
Expand description

The stretch a delivery sends when the server holds head: chain_after, except that a server level with the chain is sent the last record alone, which it answers as a replay (a send whose answer was lost). Empty only for an empty chain.