Lock bitcoin core critical directories.

Synopsis

Declared in <init.h>

bool
AppInitLockDirectories();

Description

Note

This should only be done after daemonization. Do not call Shutdown() if this function fails.

Return Value

true if the critical directories were locked successfully.

Preconditions

  • Parameters should be parsed and config file should be read, AppInitSanityChecks should have been called.

Created with MrDocs