mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
Make static nLastFlush and nLastWrite Chainstate members
This commit is contained in:
@@ -743,6 +743,9 @@ private:
|
||||
void UpdateTip(const CBlockIndex* pindexNew)
|
||||
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
|
||||
|
||||
std::chrono::microseconds m_last_write{0};
|
||||
std::chrono::microseconds m_last_flush{0};
|
||||
|
||||
friend ChainstateManager;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user