Function filecoin_proofs_api::seal::generate_tree_r_last

source ·
pub fn generate_tree_r_last<O, R>(
    registered_proof: RegisteredSealProof,
    replica_path: R,
    output_dir: O,
) -> Result<Commitment>
where O: AsRef<Path>, R: AsRef<Path>,
Expand description

Generate Merkle tree for sector replica (TreeRLast) and return the root hash (CommRLast).

§Arguments

  • registered_proof - Selected seal operation.
  • replica_path - File path of replica.
  • output_dir - Directory where the TreeRLast(s) are stored.