mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Add logging and addr rate limiting statistics
Includes logging improvements by Vasil Dimov and John Newbery.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user