validation: Move warningcache to ChainstateManager

This commit is contained in:
dimitaracev
2023-03-28 22:43:18 +02:00
parent 68828288e5
commit 552684976b
2 changed files with 3 additions and 8 deletions

View File

@@ -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