Function subspace_verification::verify_solution
source ยท pub fn verify_solution<'a, PosTable, FarmerPublicKey, RewardAddress>(
solution: &'a Solution<FarmerPublicKey, RewardAddress>,
slot: SlotNumber,
params: &'a VerifySolutionParams,
kzg: &'a Kzg,
) -> Result<SolutionRange, Error>where
PosTable: Table,
PublicKey: From<&'a FarmerPublicKey>,
Expand description
Verify whether solution is valid, returns solution distance that is <= solution_range/2
on
success.