Function filecoin_proofs::generate_tree_c
source ยท pub fn generate_tree_c<I, O, Tree: 'static + MerkleTreeTrait>(
sector_size: u64,
input_dir: I,
output_dir: O,
num_layers: usize,
) -> Result<<Tree::Hasher as Hasher>::Domain>
Expand description
Generate the merkle tree on top of the labels (TreeC).
The generated trees are stored in output_dir
, usually the cache directory. The input_dir
points to the directory where the labels are stored, usually the cache directory. The
sector_size
is in bytes.