diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-06-02 09:46:41 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-01-07 10:15:56 -0800 |
commit | 5bc04e8837c0452923cebd1b823a85e5c4dcdfa6 (patch) | |
tree | 53e4946c569cd17b054d7dc57854001f3630f569 /test/functional/test_framework/p2p.py | |
parent | b6a71b80d28c79796b557cdb6bae05abb34d1225 (diff) | |
download | bitcoin-5bc04e8837c0452923cebd1b823a85e5c4dcdfa6.tar.xz |
[rpc/net] Introduce addconnection to test outbounds & blockrelay
Add a new RPC endpoint to enable opening outbound connections from
the tests. The functional test framework currently uses the addnode RPC, which
has different behavior than general outbound peers. These changes enable
creating both full-relay and block-relay-only connections. The new RPC
endpoint calls through to a newly introduced AddConnection method on
CConnman that ensures we stay within the allocated max.
Diffstat (limited to 'test/functional/test_framework/p2p.py')
0 files changed, 0 insertions, 0 deletions