Page MenuHomePhabricator

Remove m_is_manual_connection from CNodeState
ClosedPublic

Authored by PiRK on Feb 1 2022, 08:56.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC43a7ffb79d05: Remove m_is_manual_connection from CNodeState
Summary

Currently, this member is only used to exclude MANUAL peers from discouragement
in MaybePunishNodeForBlock(). Manual connections are already protected in
MaybeDiscourageAndDisconnect(), independently from their network
processing behaviors.

This is a backport of core#20617

Test Plan

ninja all check-all

Diff Detail

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