Function sp_consensus_subspace::consensus::verify_solution

source ยท
pub fn verify_solution(
    solution: WrappedSolution,
    slot: SlotNumber,
    params: WrappedVerifySolutionParams<'_>,
) -> Result<SolutionRange, String>
Expand description

Verify whether solution is valid, returns solution distance that is <= solution_range/2 on success.