How aggressively FlushStateToDisk should flush chainstate to disk.
Declared in <validation.h>
enum class FlushStateMode : uint8_t;
| Name | Description |
|---|---|
NONE | Only prune if needed; do not otherwise flush. |
IF_NEEDED | Flush only if the caches are too large or a write is overdue. |
PERIODIC | Flush if enough time has passed since the last write. |
FORCE_FLUSH | Always flush the caches to disk. |
FORCE_SYNC | Always flush and fsync the data to durable storage. |