Function filecoin_proofs::encode_into
source ยท pub fn encode_into<Tree: 'static + MerkleTreeTrait<Hasher = TreeRHasher>>(
config: &SectorUpdateConfig,
new_replica_path: &Path,
new_cache_path: &Path,
sector_key_path: &Path,
sector_key_cache_path: &Path,
staged_data_path: &Path,
piece_infos: &[PieceInfo],
) -> Result<EmptySectorUpdateEncoded>
Expand description
Encodes data into an existing replica. The original replica is not modified and the resulting output data is written as new_replica_path (with required artifacts located in new_cache_path).