Skip to main content

store

Function store 

Source
pub async fn store(
    endpoint: &Endpoint,
    target: EndpointAddr,
    hash: ContentHash,
    holder: NodeId,
    coverage: Coverage,
) -> Result<StoreAck>
Expand description

Send a single Store request to target and return the ack.

Used by the republish scheduler’s eager publish of a newly advertisable hash — one call per K+3 closest peer, per ADR 022 §STORE Flow steps 1-2.