Page MenuHomePhabricator

test: Remove unused classes from p2p_leak.py
ClosedPublic

Authored by PiRK on Sep 15 2021, 08:26.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5e48e99a4b34: test: Remove unused classes from p2p_leak.py
Summary

test: remove CNodeNoVersionMisbehavior from p2p_leak.py

It's also clearer to have no_version_disconnect_node send a message
other than version or verack in order to reach the peer discouragement
threshold.

test: remove CNodeNoVersionIdle from p2p_leak.py

test: Distinguish between nodes(bitcoind) and peers(mininodes) in p2p_leak.py

Also, remove "C" prefix from class names to match new style

This is a backport of core#19727

Test Plan

ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable