subspace_farmer_components::auditing

Function audit_plot_sync

source
pub fn audit_plot_sync<'a, 'b, Plot>(
    public_key: &'a PublicKey,
    global_challenge: &Blake3Hash,
    solution_range: SolutionRange,
    plot: &'a Plot,
    sectors_metadata: &'a [SectorMetadataChecksummed],
    sectors_being_modified: &'b HashSet<SectorIndex>,
) -> Result<Vec<AuditResult<'a, ReadAtOffset<'a, Plot>>>, AuditingError>
where Plot: ReadAtSync + 'a,
Expand description

Audit the whole plot and generate streams of results.

Each audit result contains a solution candidate that might be converted into solution (but will not necessarily succeed, auditing only does quick checks and can’t know for sure).

Plot is assumed to contain concatenated series of sectors as created by functions in plotting module earlier.