Remove 'GUARDED_BY(NetEventsInterface::g_msgproc_mutex)' to avoid gitian build failures

pull/938/head v0.21.2.2
David Burkett 2 years ago
parent 47334552aa
commit 953811f77a

@ -480,9 +480,9 @@ struct Peer {
/** Number of addresses that can be processed from this peer. Start at 1 to /** Number of addresses that can be processed from this peer. Start at 1 to
* permit self-announcement. */ * permit self-announcement. */
double m_addr_token_bucket GUARDED_BY(NetEventsInterface::g_msgproc_mutex){1.0}; double m_addr_token_bucket{1.0};
/** When m_addr_token_bucket was last updated */ /** When m_addr_token_bucket was last updated */
std::chrono::microseconds m_addr_token_timestamp GUARDED_BY(NetEventsInterface::g_msgproc_mutex){GetTime<std::chrono::microseconds>()}; std::chrono::microseconds m_addr_token_timestamp{GetTime<std::chrono::microseconds>()};
/** Total number of addresses that were dropped due to rate limiting. */ /** Total number of addresses that were dropped due to rate limiting. */
std::atomic<uint64_t> m_addr_rate_limited{0}; std::atomic<uint64_t> m_addr_rate_limited{0};
/** Total number of addresses that were processed (excludes rate-limited ones). */ /** Total number of addresses that were processed (excludes rate-limited ones). */

Loading…
Cancel
Save