validation: write chainstate to disk every hour

Remove the 24 hour periodic flush interval and
write the chainstate along with blocks and block
index every hour
This commit is contained in:
Andrew Toth
2024-08-31 11:13:11 -04:00
parent 0ad7d7abdb
commit d73bd9fbe4
3 changed files with 35 additions and 43 deletions

View File

@@ -804,7 +804,6 @@ private:
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
NodeClock::time_point m_last_write{};
NodeClock::time_point m_last_flush{};
/**
* In case of an invalid snapshot, rename the coins leveldb directory so