HomePhabricator

test: use explicit p2p objects where available

Description

test: use explicit p2p objects where available

Summary:
To make the intent of the tests easier to understand, we reference the
p2p connection objects by their explicit names instead of the p2ps array.

This is a backport of core#20022

Test Plan: test/functional/test_runner.py p2p_getdata wallet_resendwallettransactions

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10343

Details

Provenance
Oliver Gugger <gugger@gmail.com>Authored on Sep 26 2020, 08:43
PiRKCommitted on Oct 14 2021, 15:43
PiRKPushed on Oct 14 2021, 15:43
Reviewer
Restricted Project
Differential Revision
D10343: test: use explicit p2p objects where available
Parents
rABCc258007216ca: Assert that RPCArg names are equal to CRPCCommand ones (net, rpcwallet)
Branches
Unknown
Tags
Unknown