Function filecoin_proofs_api::seal::generate_tree_c
source · pub fn generate_tree_c<O, R>(
registered_proof: RegisteredSealProof,
input_dir: R,
output_dir: O,
) -> Result<Commitment>
Expand description
Generate Merkle tree for the label layers (TreeC) and return the root hash (CommC).
§Arguments
registered_proof
- Selected seal operation.input_dir
- Directory where the label layers are stored.output_dir
- Directory where the TreeC is stored (may be split into several files).