Module: proof_utils
get_proof_dir(base_path=DEFAULT_PROOFS_DIRECTORY)
Create a new proof directory if none exists, and return the path to it.
Old proof files are pruned to avoid filling up the disk.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
base_path |
Path
|
The base path to create the proof directory in. Defaults to |
DEFAULT_PROOFS_DIRECTORY
|
Returns:
Type | Description |
---|---|
Path
|
The path to the newly created proof directory. |