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

Function DoWarning

src/validation.cpp:2681–2689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2679}
2680
2681static void DoWarning(const bilingual_str& warning)
2682{
2683 static bool fWarned = false;
2684 SetMiscWarning(warning);
2685 if (!fWarned) {
2686 AlertNotify(warning.original);
2687 fWarned = true;
2688 }
2689}
2690
2691/** Private helper function that concatenates warning messages. */
2692static void AppendWarning(bilingual_str& res, const bilingual_str& warn)

Callers 1

UpdateTipMethod · 0.85

Calls 2

SetMiscWarningFunction · 0.85
AlertNotifyFunction · 0.85

Tested by

no test coverage detected