Module storage_proofs_porep::stacked::create_label
source · Modules§
Functions§
- Checks if the given layer is already written and of the right size.
- Prepares the necessary
StoreConfig
s with which the layers are stored. Also checks for already existing layers and marks them as such. - Reads a layer from disk, into the provided slice.
- Stores a layer atomically on disk, by writing first to
.tmp
and then renaming.