HomePhabricator

test: Move test framework specific constants from messages.py to p2p.py

Description

test: Move test framework specific constants from messages.py to p2p.py

Summary:

The messages.py module should contain code and helpers for
[de]serializing p2p messages. Specific usage of those messages should
be in p2p.py. This PR moves test framework specific constants to p2p.py.

This is a backport of core#20524
Depends on D10943

Test Plan: ninja check-functional-extended

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Nov 28 2020, 11:41
PiRKCommitted on Jan 31 2022, 17:40
PiRKPushed on Jan 31 2022, 17:40
Reviewer
Restricted Project
Differential Revision
D10944: test: Move test framework specific constants from messages.py to p2p.py
Parents
rABC8a56fba12f8c: test: store subversion (user agent) as string in msg_version
Branches
Unknown
Tags
Unknown