Function filecoin_proofs_api::seal::fauxrep
source · pub fn fauxrep<R: AsRef<Path>, S: AsRef<Path>>(
registered_proof: RegisteredSealProof,
cache_path: R,
replica_path: S,
) -> Result<Commitment>
Expand description
§Arguments
registered_proof
- Selected seal operation.cache_path
- Directory path to use for generation of Merkle tree on disk.replica_path
- out_path fromseal_pre_commit_phase2
, which points to generated sector replica.
Returns Commitment
data for the faux replica.