Skip to main content

note_landed

Function note_landed 

Source
pub fn note_landed(
    block_id: &str,
    records: &[u8],
    pos: &[StreamPos],
    stored: bool,
)
Expand description

records (complete NDJSON lines) of block_id were handed to the transcript: stored says whether any copy was written, pos where the counted ones landed (empty when none is counted). A device’s message among them gets its row, naming the line’s position, never its text; one stored nowhere is recorded as not stored. A line is matched to its send by block, device and message id: an id is the device’s own, so two devices may use the same one.