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 /src/prevector.h | |
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 'src/prevector.h')
0 files changed, 0 insertions, 0 deletions