pub fn generate_empty_sector_update_proof<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<EmptySectorUpdateProof>
Expand description
Generate updated proof from an empty sector replica.
§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 EmptySectorUpdateProof
.