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

Function DoWarning

src/validation.cpp:2266–2274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2264}
2265
2266static void DoWarning(const std::string& strWarning)
2267{
2268 static bool fWarned = false;
2269 SetMiscWarning(strWarning);
2270 if (!fWarned) {
2271 AlertNotify(strWarning);
2272 fWarned = true;
2273 }
2274}
2275
2276/** Private helper function that concatenates warning messages. */
2277static void AppendWarning(std::string& res, const std::string& warn)

Callers 1

UpdateTipFunction · 0.85

Calls 2

SetMiscWarningFunction · 0.85
AlertNotifyFunction · 0.85

Tested by

no test coverage detected