MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / AppInitLockDirectories

Function AppInitLockDirectories

src/init.cpp:1213–1223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211}
1212
1213bool AppInitLockDirectories()
1214{
1215 // After daemonization get the directory locks again and hold on to them until exit
1216 // This creates a slight window for a race condition to happen, however this condition is harmless: it
1217 // will at most make us exit without printing a message to console.
1218 if (!LockDirectories(false)) {
1219 // Detailed error printed inside LockDirectory
1220 return false;
1221 }
1222 return true;
1223}
1224
1225bool AppInitInterfaces(NodeContext& node)
1226{

Callers 2

AppInitFunction · 0.85
baseInitializeMethod · 0.85

Calls 1

LockDirectoriesFunction · 0.85

Tested by

no test coverage detected