Function storage_proofs_porep::stacked::create_label::prepare_layers

source ยท
pub fn prepare_layers<P, Tree: 'static + MerkleTreeTrait>(
    graph: &StackedBucketGraph<Tree::Hasher>,
    cache_path: P,
    layers: usize,
) -> Vec<LayerState>
where P: AsRef<Path>,
Expand description

Prepares the necessary StoreConfigs with which the layers are stored. Also checks for already existing layers and marks them as such.