diff options
author | chris-belcher <chris-belcher@users.noreply.github.com> | 2018-05-02 13:19:40 +0100 |
---|---|---|
committer | chris-belcher <chris-belcher@users.noreply.github.com> | 2018-09-17 22:55:23 +0100 |
commit | a2eb6f540538d32725aecf678301a96247db6fd9 (patch) | |
tree | b0932b58f76526fa61d9e43a7fc6935e16d3d836 /doc/release-notes-13152.md | |
parent | 4901c00792c1dabae4bb01e6373c9b1ed9ef3008 (diff) |
[rpc] Add getnodeaddresses RPC command
New getnodeaddresses call gives access via RPC to the peers known by
the node. It may be useful for bitcoin wallets to broadcast their
transactions over tor for improved privacy without using the
centralized DNS seeds. getnodeaddresses is very similar to the getaddr
p2p method.
Tests the new rpc call by feeding IP address to a test node via the p2p
protocol, then obtaining someone of those addresses with
getnodeaddresses and checking that they are a subset.
Diffstat (limited to 'doc/release-notes-13152.md')
-rw-r--r-- | doc/release-notes-13152.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/release-notes-13152.md b/doc/release-notes-13152.md new file mode 100644 index 0000000000..72526f5355 --- /dev/null +++ b/doc/release-notes-13152.md @@ -0,0 +1,4 @@ +New RPC methods +------------ + +- `getnodeaddresses` returns peer addresses known to this node. It may be used to connect to nodes over TCP without using the DNS seeds.
\ No newline at end of file |