diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-10-24 15:13:03 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-10-24 15:13:41 -0400 |
commit | e401a2c557ddd1f7cf66df2e62f3324e3b7bcd40 (patch) | |
tree | 9e8b536cc4cfbe1f1a636d3db52b0eb21882c2b6 /qa/rpc-tests/util.py | |
parent | 505a9e1dae8eac680640e7b0dea3c0014351e519 (diff) | |
parent | 2290ed01bc1b4176a0c6b976707bf7dd6bc49f43 (diff) | |
download | bitcoin-e401a2c557ddd1f7cf66df2e62f3324e3b7bcd40.tar.xz |
Merge pull request #5132
2290ed0 Work around #5113. (Daniel Kraft)
dcb9846 Extend getchaintips RPC test. (Daniel Kraft)
Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
Diffstat (limited to 'qa/rpc-tests/util.py')
-rw-r--r-- | qa/rpc-tests/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/rpc-tests/util.py b/qa/rpc-tests/util.py index 87baadc5d6..036ac577e6 100644 --- a/qa/rpc-tests/util.py +++ b/qa/rpc-tests/util.py @@ -194,6 +194,10 @@ def connect_nodes(from_connection, node_num): while any(peer['version'] == 0 for peer in from_connection.getpeerinfo()): time.sleep(0.1) +def connect_nodes_bi(nodes, a, b): + connect_nodes(nodes[a], b) + connect_nodes(nodes[b], a) + def find_output(node, txid, amount): """ Return index to output of txid with value amount |