aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorAurèle Oulès <aurele@oules.com>2022-11-16 16:51:53 +0100
committerAurèle Oulès <aurele@oules.com>2022-11-16 16:51:53 +0100
commit07dfbb5bb8115c680621f361c65d9cde2f8c52f2 (patch)
tree382dd89861c3326741548873a5d10f6f16d2cbe8 /src/validation.h
parent48174c0f287b19931ca110670610bd03a03eb914 (diff)
downloadbitcoin-07dfbb5bb8115c680621f361c65d9cde2f8c52f2.tar.xz
Make static nLastFlush and nLastWrite Chainstate members
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index b8151dc1fc..ccc884cb7a 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -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;
};