Skip to content

Commit 5c44678

Browse files
committed
rpc: improve getnodeaddresses help
1 parent 1b91898 commit 5c44678

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rpc/net.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ static RPCHelpMan setnetworkactive()
835835
static RPCHelpMan getnodeaddresses()
836836
{
837837
return RPCHelpMan{"getnodeaddresses",
838-
"\nReturn known addresses which can potentially be used to find new nodes in the network\n",
838+
"\nReturn known addresses, which can potentially be used to find new nodes in the network.\n",
839839
{
840840
{"count", RPCArg::Type::NUM, /* default */ "1", "The maximum number of addresses to return. Specify 0 to return all known addresses."},
841841
},
@@ -844,10 +844,10 @@ static RPCHelpMan getnodeaddresses()
844844
{
845845
{RPCResult::Type::OBJ, "", "",
846846
{
847-
{RPCResult::Type::NUM_TIME, "time", "The " + UNIX_EPOCH_TIME + " of when the node was last seen"},
848-
{RPCResult::Type::NUM, "services", "The services offered"},
847+
{RPCResult::Type::NUM_TIME, "time", "The " + UNIX_EPOCH_TIME + " when the node was last seen"},
848+
{RPCResult::Type::NUM, "services", "The services offered by the node"},
849849
{RPCResult::Type::STR, "address", "The address of the node"},
850-
{RPCResult::Type::NUM, "port", "The port of the node"},
850+
{RPCResult::Type::NUM, "port", "The port number of the node"},
851851
{RPCResult::Type::STR, "network", "The network (" + Join(GetNetworkNames(), ", ") + ") the node connected through"},
852852
}},
853853
}

0 commit comments

Comments
 (0)