Page MenuHomePhabricator

[backport#19512] p2p: banscore updates to gui, tests, release notes
ClosedPublic

Authored by majcosta on Jan 5 2021, 22:27.

Details

Summary

fa108d6a757838225179a8df942cfb6d99c98c90 test: update tests for peer discouragement (Jon Atack)
1a9f462caa63fa16d7b4415312d2032a42b3fe0b gui, doc: rm Ban Score in GUI Peers window/release notes updates (Jon Atack)

Pull request description:

This is the third `-banscore` PR in the mini-series described in #19464. See that PR for the intention and reasoning.

- no longer display "Ban Score" in the GUI peers window and add a release note, plus release note fixups per https://github.com/bitcoin/bitcoin/pull/19464#pullrequestreview-447452052
- update tests (`src/test/denialofservice_tests.cpp` and `test/functional/p2p_leak.py`) from banning to discouragement and per https://github.com/bitcoin/bitcoin/pull/19464#issuecomment-658052518

Backport of Core PR19512

Depends on D8799

Test Plan
ninja all check check-functional

run bitcoin-qt on testnet mode, open Peers window, click a peer and see
that Banscore is no longer reported

Event Timeline

majcosta requested review of this revision.Jan 5 2021, 22:27

couldn't reproduce the error at all, don't think it's related to the diff

PiRK added a subscriber: PiRK.
PiRK added inline comments.
src/test/denialofservice_tests.cpp
301 ↗(On Diff #26651)

Same line comments

This revision is now accepted and ready to land.Jan 6 2021, 08:54
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/test/denialofservice_tests.cpp
302 ↗(On Diff #26651)

Nit: make it a single comment on its own line