Function filecoin_proofs_api::update::generate_partition_proofs
source · pub fn generate_partition_proofs<R, S, T, U>(
registered_proof: RegisteredUpdateProof,
comm_r_old: Commitment,
comm_r_new: Commitment,
comm_d_new: Commitment,
sector_key_path: R,
sector_key_cache_path: S,
replica_path: T,
replica_cache_path: U,
) -> Result<Vec<PartitionProofBytes>>
Expand description
Generate all vanilla partition proofs across all partitions.
§Arguments
registered_proof
- Selected sector update proof.comm_r_old
- Previous replica commitment.comm_r_new
- New replica commitment.comm_d_new
- New data commitment.sector_key_path
- Path to sector key originally used to seal sector.sector_key_cache_path
- Path to write updatedtree_r_last
.replica_path
- File path of new sealed replica.replica_cache_path
- Directory cache path for replica (forp_aux
).
Returns vector of partition proofs.