[][src]Module grin_store::pmmr

Implementation of the persistent Backend for the prunable MMR tree.

Structs

PMMRBackend

PMMR persistent backend implementation. Relies on multiple facilities to handle writing, reading and pruning.

Constants

PMMR_FILES

The list of PMMR_Files for internal purposes

Functions

clean_files_by_prefix

Quietly clean a directory up based on a given prefix. If the file was accessed within cleanup_duration_seconds from the beginning of the function call, it will not be deleted. To delete all files, set cleanup_duration_seconds to zero.