[Part 1] [tests] Add P2P interface to TestNode
Summary:
Partial backport of core PR11182 (part of commit 32ae82f)
Update the tests to the new P2P interface
Depends on D2326
Test Plan:
./test/functional/test_runner.py assumevalid bip65-cltv-p2p
bipdersig-p2p
Reviewers: #bitcoin_abc, deadalnix, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Subscribers: teamcity, schancel
Differential Revision: https://reviews.bitcoinabc.org/D2327