MCPcopy Create free account
hub / github.com/ElementsProject/elements / FatalError

Function FatalError

src/index/base.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

ThreadSyncMethod · 0.85
BlockConnectedMethod · 0.85
ChainStateFlushedMethod · 0.85

Calls 5

SetMiscWarningFunction · 0.85
UntranslatedFunction · 0.85
_Function · 0.85
StartShutdownFunction · 0.85
formatFunction · 0.50

Tested by

no test coverage detected