Private helper function that concatenates warning messages. */
| 2275 | |
| 2276 | /** Private helper function that concatenates warning messages. */ |
| 2277 | static 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. */ |
| 2284 | void static UpdateTip(const CBlockIndex *pindexNew, const CChainParams& chainParams) { |