MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / FatalError

Function FatalError

src/index/base.cpp:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19template<typename... Args>
20static void FatalError(const char* fmt, const Args&... args)
21{
22 std::string strMessage = tfm::format(fmt, args...);
23 SetMiscWarning(strMessage);
24 LogPrintf("*** %s\n", strMessage);
25 uiInterface.ThreadSafeMessageBox(
26 "Error: A fatal internal error occurred, see debug.log for details",
27 "", CClientUIInterface::MSG_ERROR);
28 StartShutdown();
29}
30
31BaseIndex::DB::DB(const fs::path& path, size_t n_cache_size, bool f_memory, bool f_wipe, bool f_obfuscate) :
32 CDBWrapper(path, n_cache_size, f_memory, f_wipe, f_obfuscate)

Callers 4

ThreadSyncMethod · 0.85
BlockConnectedMethod · 0.85
ChainStateFlushedMethod · 0.85
StartMethod · 0.85

Calls 3

formatFunction · 0.85
SetMiscWarningFunction · 0.85
StartShutdownFunction · 0.50

Tested by

no test coverage detected