Module grin_store::pmmr

source ·
Expand description

Implementation of the persistent Backend for the prunable MMR tree.

Structs§

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

Constants§

  • The list of PMMR_Files for internal purposes

Functions§

  • 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.