diff options
author | dimitaracev <dimitaracev@protonmail.com> | 2023-03-28 22:43:18 +0200 |
---|---|---|
committer | dimitaracev <dimitaracev@protonmail.com> | 2023-03-29 13:40:42 +0200 |
commit | 552684976b6df34ce563458f73812e6e494e3b0e (patch) | |
tree | 98138d52f0032d4b2795c39bcae6a29b20b83962 /src/validation.h | |
parent | 68828288e5d35c17848ab3da8cd231d1b69651c0 (diff) |
validation: Move warningcache to ChainstateManager
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h index aba863db09..cb66b94954 100644 --- a/src/validation.h +++ b/src/validation.h @@ -936,6 +936,8 @@ private: //! nullopt. std::optional<int> GetSnapshotBaseHeight() const EXCLUSIVE_LOCKS_REQUIRED(::cs_main); + std::array<ThresholdConditionCache, VERSIONBITS_NUM_BITS> m_warningcache GUARDED_BY(::cs_main); + //! Return true if a chainstate is considered usable. //! //! This is false when a background validation chainstate has completed its |