diff options
author | Jon Atack <jon@atack.com> | 2022-02-17 15:22:43 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-02-21 14:16:34 +0100 |
commit | 7c975614c0fc6ff2084a1708a4c1f0368a4bc98f (patch) | |
tree | 619f244d70b49e2337e7b8fabf569e365c0cc532 /src/rpc | |
parent | 1337b93f50d9874fa3bce7c0b5bb141aad9b1c49 (diff) |
rpc: describe quality/recency filtering in getnodeaddresses
Co-authored-by: Martin Zumsande <mzumsande@gmail.com>
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 3d7c00edfc..4d3e3e81d4 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -847,7 +847,9 @@ static RPCHelpMan setnetworkactive() static RPCHelpMan getnodeaddresses() { return RPCHelpMan{"getnodeaddresses", - "\nReturn known addresses, which can potentially be used to find new nodes in the network.\n", + "Return known addresses, after filtering for quality and recency.\n" + "These can potentially be used to find new peers in the network.\n" + "The total number of addresses known to the node may be higher.", { {"count", RPCArg::Type::NUM, RPCArg::Default{1}, "The maximum number of addresses to return. Specify 0 to return all known addresses."}, {"network", RPCArg::Type::STR, RPCArg::DefaultHint{"all networks"}, "Return only addresses of the specified network. Can be one of: " + Join(GetNetworkNames(), ", ") + "."}, |