| 2670 | } |
| 2671 | |
| 2672 | void CChainState::PruneAndFlush() |
| 2673 | { |
| 2674 | BlockValidationState state; |
| 2675 | m_blockman.m_check_for_pruning = true; |
| 2676 | if (!this->FlushStateToDisk(state, FlushStateMode::NONE)) { |
| 2677 | LogPrintf("%s: failed to flush state (%s)\n", __func__, state.ToString()); |
| 2678 | } |
| 2679 | } |
| 2680 | |
| 2681 | static void DoWarning(const bilingual_str& warning) |
| 2682 | { |
no test coverage detected