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

Function AppendWarning

src/validation.cpp:2277–2281  ·  view source on GitHub ↗

Private helper function that concatenates warning messages. */

Source from the content-addressed store, hash-verified

2275
2276/** Private helper function that concatenates warning messages. */
2277static void AppendWarning(std::string& res, const std::string& warn)
2278{
2279 if (!res.empty()) res += ", ";
2280 res += warn;
2281}
2282
2283/** Check warning conditions and do some notifications on new chain tip set. */
2284void static UpdateTip(const CBlockIndex *pindexNew, const CChainParams& chainParams) {

Callers 1

UpdateTipFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected