Skip to main content

handle_subtree_challenge_measured

Function handle_subtree_challenge_measured 

Source
pub async fn handle_subtree_challenge_measured(
    challenge: &SubtreeAuditChallenge,
    storage: &ChunkStore,
    self_peer_id: &PeerId,
    is_bootstrapping: bool,
    commitment_state: Option<&Arc<ResponderCommitmentState>>,
) -> Round1Work
Expand description

handle_subtree_challenge, additionally reporting the read-and-hash work it performed so the caller can charge it on every exit path.