Function filecoin_proofs_api::seal::verify_batch_seal

source ·
pub fn verify_batch_seal(
    registered_proof: RegisteredSealProof,
    comm_r_ins: &[Commitment],
    comm_d_ins: &[Commitment],
    prover_ids: &[ProverId],
    sector_ids: &[SectorId],
    tickets: &[Ticket],
    seeds: &[Ticket],
    proof_vecs: &[&[u8]],
) -> Result<bool>
Expand description

Verify multiple proofs of sealed sector. Each input argument is an ordered vector corresponding to the proof to verify.

§Arguments

  • registered_proof - Selected seal operation.
  • comm_r_ins - comm_r replica commitment from seal operation.
  • comm_d_in - comm_d data commitment from seal operation.
  • prover_id - Unique ID of the storage provider.
  • sector_id - ID of the sector, usually relative to the miner.
  • ticket - The ticket used to generate this sector’s replica-id.
  • seed - The seed used to derive the porep challenges.
  • proof_vec - Proofs to verify.

Returns result of proofs verification.