Skip to content

Commit

Permalink
[Doc] Document getnodeaddresses in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzbawls committed Aug 12, 2021
1 parent ebe2a46 commit e9d28da
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions doc/release-notes.md
Expand Up @@ -369,6 +369,30 @@ Low-level RPC changes
now the empty string `""` instead of `"wallet.dat"`. If PIVX is started
with any `-wallet=<path>` options, there is no change in behavior, and the
name of any wallet is just its `<path>` string.

### New RPC Commands

* `getnodeaddresses`
```
getnodeaddresses ( count "network" )
Return known addresses which can potentially be used to find new nodes in the network
Arguments:
1. count (numeric, optional) The maximum number of addresses to return. Specify 0 to return all known addresses.
2. "network" (string, optional) Return only addresses of the specified network. Can be one of: ipv4, ipv6, onion.
Result:
[
{
"time": ttt, (numeric) Timestamp in seconds since epoch (Jan 1 1970 GMT) when the node was last seen
"services": n, (numeric) The services offered by the node
"address": "host", (string) The address of the node
"port": n, (numeric) The port number of the node
"network": "xxxx" (string) The network (ipv4, ipv6, onion) the node connected through
}
,...
]
```

Database cache memory increased
--------------------------------
Expand Down

0 comments on commit e9d28da

Please sign in to comment.