MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / AbortNode

Function AbortNode

src/main.cpp:2207–2213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2205}
2206
2207bool AbortNode(const string &strMessage) {
2208 strMiscWarning = strMessage;
2209 LogPrint(BCLog::ERROR, "Detect abort ERROR! *** %s\n", strMessage);
2210 StartShutdown();
2211
2212 return false;
2213}
2214
2215bool CheckDiskSpace(uint64_t nAdditionalBytes) {
2216 uint64_t nFreeBytesAvailable = filesystem::space(GetDataDir()).available;

Callers 3

AbortMethod · 0.85
CheckDiskSpaceFunction · 0.85
LoadExternalBlockFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected