-
Notifications
You must be signed in to change notification settings - Fork 38.7k
rpc, cli: describe quality/recency filtering in getnodeaddresses and -addrinfo #24370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc, cli: describe quality/recency filtering in getnodeaddresses and -addrinfo #24370
Conversation
mzumsande
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK, mentioning this distinction makes sense to me.
c89cdd8 to
2ed2388
Compare
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 2ed2388
jarolrod
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 2ed23881d9e51bfff06fe89ffdb396bd1577bff8
./src/bitcoin-cli help getnodeaddresses
getnodeaddresses ( count "network" )
Return known addresses, after filtering for quality and recency.
These can potentially be used to find new peers in the network.
The total number of addresses known to the node may be higher.
...
./src/bitcoin-cli -help | grep -A3 addrinfo
-addrinfo
Get the number of addresses known to the node, per network and total,
after filtering for quality and recency. The total number of
addresses known to the node may be higher.
theStack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 2ed23881d9e51bfff06fe89ffdb396bd1577bff8
Co-authored-by: Martin Zumsande <[email protected]>
Co-authored-by: Martin Zumsande <[email protected]>
|
Rebased. |
2ed2388 to
ce69084
Compare
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reACK ce69084
|
@mzumsande Did you want to re-review this before merge, since you left a comment? If not, then it can be merged now. |
Thanks, Code Review ACK ce69084 |
…getnodeaddresses and -addrinfo ce69084 cli: describe quality/recency filtering in -addrinfo (Jon Atack) 7c97561 rpc: describe quality/recency filtering in getnodeaddresses (Jon Atack) Pull request description: Addresses bitcoin#24278. ``` $ bitcoin-cli help getnodeaddresses getnodeaddresses ( count "network" ) Return known addresses, after filtering for quality and recency. These can potentially be used to find new peers in the network. The total number of addresses known to the node may be higher. ``` ``` $ bitcoin-cli -help | grep -A3 addrinfo -addrinfo Get the number of addresses known to the node, per network and total, after filtering for quality and recency. The total number of addresses known to the node may be higher. ``` ACKs for top commit: mzumsande: Thanks, Code Review ACK ce69084 prayank23: reACK bitcoin@ce69084 Tree-SHA512: 82d23b15e64a99411eb8e70d7267a1b4f23182fabe072e824277569d9677e392b466be63f00e3d157d7db94bbe032d53f12ad4ab30b55b7b8a629c37d80d1d8c
Addresses #24278.