Skip to content

Commit

Permalink
Remove 'GUARDED_BY(NetEventsInterface::g_msgproc_mutex)' to avoid git…
Browse files Browse the repository at this point in the history
…ian build failures
  • Loading branch information
DavidBurkett committed Feb 24, 2023
1 parent 4733455 commit 953811f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net_processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ struct Peer {

/** Number of addresses that can be processed from this peer. Start at 1 to
* 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 */
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. */
std::atomic<uint64_t> m_addr_rate_limited{0};
/** Total number of addresses that were processed (excludes rate-limited ones). */
Expand Down

0 comments on commit 953811f

Please sign in to comment.