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<()>
where R: AsRef<Path>, S: AsRef<Path>, T: AsRef<Path>, U: AsRef<Path>, V: AsRef<Path>,
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 updated tree_r_last.
  • replica_path - File path of new sealed replica.
  • replica_cache_path - Directory cache path for replica (for p_aux).
  • data_path - File path for new staged data.
  • comm_d_new - Data commitment.