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>
Expand description
Prepares the necessary StoreConfig
s with which the layers are stored.
Also checks for already existing layers and marks them as such.