pub fn empty_sector_update_remove_encoded_data<R, S, T, U, V>(
registered_proof: RegisteredUpdateProof,
sector_key_path: R,
sector_key_cache_path: S,
replica_path: T,
replica_cache_path: U,
data_path: V,
comm_d_new: Commitment,
) -> Result<()>
Expand description
Removes encoded data and outputs the sector key.
§Arguments
registered_proof
- Selected sector update proof.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
).data_path
- File path for new staged data.comm_d_new
- Data commitment.