How aggressively FlushStateToDisk should flush chainstate to disk.

Synopsis

Declared in <validation.h>

enum class FlushStateMode : uint8_t;

Members

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.

Created with MrDocs