Skip to main content

compute_presence_targets

Function compute_presence_targets 

Source
pub async fn compute_presence_targets(
    keys: &[XorName],
    p2p_node: &Arc<P2PNode>,
    config: &ReplicationConfig,
    self_id: &PeerId,
) -> VerificationTargets
Expand description

Compute presence-only verification targets for locally paid keys.

Local PaidForList membership authorizes the key already; this target set is only used to discover peers that can serve the record bytes.