HomePhabricator

net_processing: remove Misbehavior score and increments

Description

net_processing: remove Misbehavior score and increments

Summary:
This is now all unused.
Make MaybePunishNodeFor{Block,Tx} return void

This concludes backport of core#29575
https://github.com/bitcoin/bitcoin/pull/29575/commits/ae60d485da33f238ed2186799da4e109d4edd3a1
https://github.com/bitcoin/bitcoin/pull/29575/commits/6eecba475efd025eb011400af58621ad5823994e

Depends on D18032

Test Plan:
ninja all check-all-extended

run an ibd with -assumevalid=0 -checkpoints=0

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Mar 5 2024, 13:46
PiRKCommitted on Thu, May 1, 13:40
PiRKPushed on Thu, May 1, 13:40
Reviewer
Restricted Project
Differential Revision
D18034: net_processing: remove Misbehavior score and increments
Parents
rABC34046da927ea: net_processing: make all Misbehaving increments = 100
Branches
Unknown
Tags
Unknown