mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-13 00:00:23 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user