| 2255 | } |
| 2256 | |
| 2257 | void PruneAndFlush() { |
| 2258 | CValidationState state; |
| 2259 | fCheckForPruning = true; |
| 2260 | const CChainParams& chainparams = Params(); |
| 2261 | if (!FlushStateToDisk(chainparams, state, FlushStateMode::NONE)) { |
| 2262 | LogPrintf("%s: failed to flush state (%s)\n", __func__, FormatStateMessage(state)); |
| 2263 | } |
| 2264 | } |
| 2265 | |
| 2266 | static void DoWarning(const std::string& strWarning) |
| 2267 | { |
no test coverage detected