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

Function SetMiscWarning

src/warnings.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17static bool fLargeWorkInvalidChainFound GUARDED_BY(g_warnings_mutex) = false;
18
19void SetMiscWarning(const bilingual_str& warning)
20{
21 LOCK(g_warnings_mutex);
22 g_misc_warnings = warning;
23}
24
25void SetfLargeWorkInvalidChainFound(bool flag)
26{

Callers 4

AddTimeDataFunction · 0.85
AbortNodeFunction · 0.85
DoWarningFunction · 0.85
FatalErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected