aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorchris-belcher <chris-belcher@users.noreply.github.com>2018-05-02 13:19:40 +0100
committerchris-belcher <chris-belcher@users.noreply.github.com>2018-09-17 22:55:23 +0100
commita2eb6f540538d32725aecf678301a96247db6fd9 (patch)
treeb0932b58f76526fa61d9e43a7fc6935e16d3d836 /doc
parent4901c00792c1dabae4bb01e6373c9b1ed9ef3008 (diff)
downloadbitcoin-a2eb6f540538d32725aecf678301a96247db6fd9.tar.xz
[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')
-rw-r--r--doc/release-notes-13152.md4
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