This function is called from the RPC code for pruneblockchain */
| 4244 | |
| 4245 | /* This function is called from the RPC code for pruneblockchain */ |
| 4246 | void PruneBlockFilesManual(CChainState& active_chainstate, int nManualPruneHeight) |
| 4247 | { |
| 4248 | BlockValidationState state; |
| 4249 | if (!active_chainstate.FlushStateToDisk( |
| 4250 | state, FlushStateMode::NONE, nManualPruneHeight)) { |
| 4251 | LogPrintf("%s: failed to flush state (%s)\n", __func__, state.ToString()); |
| 4252 | } |
| 4253 | } |
| 4254 | |
| 4255 | void CChainState::LoadMempool(const ArgsManager& args) |
| 4256 | { |
no test coverage detected