MCPcopy Create free account
hub / github.com/ElementsProject/elements / ForceFlushStateToDisk

Method ForceFlushStateToDisk

src/validation.cpp:2664–2670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2662}
2663
2664void CChainState::ForceFlushStateToDisk()
2665{
2666 BlockValidationState state;
2667 if (!this->FlushStateToDisk(state, FlushStateMode::ALWAYS)) {
2668 LogPrintf("%s: failed to flush state (%s)\n", __func__, state.ToString());
2669 }
2670}
2671
2672void CChainState::PruneAndFlush()
2673{

Callers 4

ShutdownFunction · 0.80
gettxoutsetinfoFunction · 0.80
scantxoutsetFunction · 0.80
CreateUTXOSnapshotFunction · 0.80

Calls 2

FlushStateToDiskMethod · 0.95
ToStringMethod · 0.45

Tested by

no test coverage detected