[RPC] Add field to getpeerinfo to indicate if addr relay is enabled

This commit is contained in:
Amiti Uttarwar
2021-07-26 12:08:07 -07:00
parent 0980ca78cd
commit 3893da06db
3 changed files with 4 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ struct CNodeStateStats {
std::vector<int> vHeightInFlight;
uint64_t m_addr_processed = 0;
uint64_t m_addr_rate_limited = 0;
bool m_addr_relay_enabled{false};
};
class PeerManager : public CValidationInterface, public NetEventsInterface