diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2021-07-26 12:08:07 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-07-29 17:43:01 -0700 |
commit | 3893da06db1eb622f540605700f8663f8d87b2df (patch) | |
tree | 1fcd444d77b18137da6aaa29da8f104c8a96fad5 /src/net_processing.h | |
parent | 0980ca78cd930a00c9985d7f00083a3b8e8be89e (diff) |
[RPC] Add field to getpeerinfo to indicate if addr relay is enabled
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index c537efb5db..4532a0505e 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -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 |