| 2861 | } |
| 2862 | |
| 2863 | void Chainstate::PruneAndFlush() |
| 2864 | { |
| 2865 | BlockValidationState state; |
| 2866 | m_blockman.m_check_for_pruning = true; |
| 2867 | if (!this->FlushStateToDisk(state, FlushStateMode::NONE)) { |
| 2868 | LogWarning("Failed to flush state (%s)", state.ToString()); |
| 2869 | } |
| 2870 | } |
| 2871 | |
| 2872 | static void UpdateTipLog( |
| 2873 | const ChainstateManager& chainman, |
no test coverage detected