mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add logging and addr rate limiting statistics
Includes logging improvements by Vasil Dimov and John Newbery.
This commit is contained in:
parent
b4ece8a1cd
commit
f424d601e1
3 changed files with 26 additions and 1 deletions
|
|
@ -242,6 +242,8 @@ static RPCHelpMan getpeerinfo()
|
|||
heights.push_back(height);
|
||||
}
|
||||
obj.pushKV("inflight", heights);
|
||||
obj.pushKV("addr_processed", statestats.m_addr_processed);
|
||||
obj.pushKV("addr_rate_limited", statestats.m_addr_rate_limited);
|
||||
}
|
||||
UniValue permissions(UniValue::VARR);
|
||||
for (const auto& permission : NetPermissions::ToStrings(stats.m_permissionFlags)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue