Skip to main content

light_client_accepts

Function light_client_accepts 

Source
pub fn light_client_accepts(
    proof_verified: bool,
    n: usize,
    claimed_votes: usize,
) -> bool
Expand description

A light client accepts consensus state only if a succinct zk proof of the quorum verifies (it does NOT re-execute the chain): accept iff proof_verified AND a BFT quorum was claimed.