mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-10 22:58:40 +02:00
refactor: Make m_last_notified_header private
This commit is contained in:
@@ -906,6 +906,11 @@ private:
|
||||
|
||||
CBlockIndex* m_best_invalid GUARDED_BY(::cs_main){nullptr};
|
||||
|
||||
/** The last header for which a headerTip notification was issued. */
|
||||
CBlockIndex* m_last_notified_header GUARDED_BY(GetMutex()){nullptr};
|
||||
|
||||
bool NotifyHeaderTip() LOCKS_EXCLUDED(GetMutex());
|
||||
|
||||
//! Internal helper for ActivateSnapshot().
|
||||
//!
|
||||
//! De-serialization of a snapshot that is created with
|
||||
@@ -1063,9 +1068,6 @@ public:
|
||||
/** Best header we've seen so far (used for getheaders queries' starting points). */
|
||||
CBlockIndex* m_best_header GUARDED_BY(::cs_main){nullptr};
|
||||
|
||||
/** The last header for which a headerTip notification was issued. */
|
||||
CBlockIndex* m_last_notified_header GUARDED_BY(::cs_main){nullptr};
|
||||
|
||||
//! The total number of bytes available for us to use across all in-memory
|
||||
//! coins caches. This will be split somehow across chainstates.
|
||||
int64_t m_total_coinstip_cache{0};
|
||||
|
||||
Reference in New Issue
Block a user