mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[RPC] Add field to getpeerinfo to indicate if addr relay is enabled
This commit is contained in:
parent
0980ca78cd
commit
3893da06db
3 changed files with 4 additions and 0 deletions
|
|
@ -1279,6 +1279,7 @@ bool PeerManagerImpl::GetNodeStateStats(NodeId nodeid, CNodeStateStats& stats) c
|
|||
stats.m_ping_wait = ping_wait;
|
||||
stats.m_addr_processed = peer->m_addr_processed.load();
|
||||
stats.m_addr_rate_limited = peer->m_addr_rate_limited.load();
|
||||
stats.m_addr_relay_enabled = peer->m_addr_relay_enabled.load();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue