diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-07-07 11:44:40 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-07-15 13:03:20 -0700 |
commit | f424d601e1b6870e20bc60f5ccba36d2e210377b (patch) | |
tree | d56831c9b26dcc22796bcb39349e946cd9016175 /src/net_processing.h | |
parent | b4ece8a1cda69cc268d39d21bba59c51fa2fb9ed (diff) |
Add logging and addr rate limiting statistics
Includes logging improvements by Vasil Dimov and John Newbery.
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index d5801aadd3..c537efb5db 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -29,6 +29,8 @@ struct CNodeStateStats { int m_starting_height = -1; std::chrono::microseconds m_ping_wait; std::vector<int> vHeightInFlight; + uint64_t m_addr_processed = 0; + uint64_t m_addr_rate_limited = 0; }; class PeerManager : public CValidationInterface, public NetEventsInterface |