Skip to main content

run_verification_round

Function run_verification_round 

Source
pub async fn run_verification_round(
    keys: &[XorName],
    targets: &VerificationTargets,
    p2p_node: &Arc<P2PNode>,
    config: &ReplicationConfig,
) -> HashMap<XorName, KeyVerificationEvidence>
Expand description

Send batched verification requests to all peers and collect evidence.

Implements Section 9 requirement: one request per peer carrying many keys. Returns per-key evidence aggregated from all peer responses.