forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#21843: p2p, rpc: enable GetAddr, GetAddresses, and getn…
…odeaddresses by network ce6bca8 doc: release note for getnodeaddresses by network (Jon Atack) 3f89c0e test: improve getnodeaddresses coverage, test by network (Jon Atack) 6c98c09 rpc: enable filtering getnodeaddresses by network (Jon Atack) 80ba294 p2p: allow CConnman::GetAddresses() by network, add doxygen (Jon Atack) a49f3dd p2p: allow CAddrMan::GetAddr() by network, add doxygen (Jon Atack) c38981e p2p: pull time call out of loop in CAddrMan::GetAddr_() (João Barbosa) d35ddca p2p: enable CAddrMan::GetAddr_() by network, add doxygen (Jon Atack) Pull request description: This patch allows passing a network argument to CAddrMan::GetAddr(), CConnman::GetAddresses(), and rpc getnodeaddresses to return only addresses of that network. It also contains a performance optimisation by promag. ACKs for top commit: laanwj: Code review and lightly tested ACK ce6bca8 vasild: ACK ce6bca8 Tree-SHA512: 40e700d97091248429c73cbc0639a1f03ab7288e636a7b9026ad253e9708253c6b2ec98e7d9fb2d56136c0f762313dd648915ac98d723ee330d713813a43f99d
- Loading branch information
1 parent
cd3c01d
commit d559521
Showing
5 changed files
with
46 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Updated RPCs | ||
------------------------ | ||
The `getnodeaddresses` RPC now returns a "network" field indicating the | ||
network type (ipv4, ipv6, onion, or i2p) for each address. (#21594) | ||
|
||
- `getnodeaddresses` now also accepts a "network" argument (ipv4, ipv6, onion, | ||
or i2p) to return only addresses of the specified network. (#21843) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters