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 29bb1fd commit 4dc14d9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,28 @@ Upgrade instructions: !TODO

### 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
}
,...
]
```
* `protx_list`
```
protx_list (detailed wallet_only valid_only height)
Expand Down

0 comments on commit 4dc14d9

Please sign in to comment.