You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\nReturn known addresses which can potentially be used to find new nodes in the network\n",
915
+
"\nReturn known addresses, which can potentially be used to find new nodes in the network.\n",
910
916
{
911
917
{"count", RPCArg::Type::NUM, /* default */"1", "The maximum number of addresses to return. Specify 0 to return all known addresses."},
918
+
{"network", RPCArg::Type::STR, /* default */"all networks", "Return only addresses of the specified network. Can be one of: " + Join(GetNetworkNames(), ", ") + "."},
912
919
},
913
920
RPCResult{
914
921
RPCResult::Type::ARR, "", "",
915
922
{
916
923
{RPCResult::Type::OBJ, "", "",
917
924
{
918
-
{RPCResult::Type::NUM_TIME, "time", "The " + UNIX_EPOCH_TIME + "of when the node was last seen"},
919
-
{RPCResult::Type::NUM, "services", "The services offered"},
925
+
{RPCResult::Type::NUM_TIME, "time", "The " + UNIX_EPOCH_TIME + " when the node was last seen"},
926
+
{RPCResult::Type::NUM, "services", "The services offered by the node"},
920
927
{RPCResult::Type::STR, "address", "The address of the node"},
921
-
{RPCResult::Type::NUM, "port", "The port of the node"},
928
+
{RPCResult::Type::NUM, "port", "The port number of the node"},
929
+
{RPCResult::Type::STR, "network", "The network (" + Join(GetNetworkNames(), ", ") + ") the node connected through"},
0 commit comments