HomePhabricator

refactor: Pass PeerManagerImpl members only once

Description

refactor: Pass PeerManagerImpl members only once

Summary:
Member variables are already passed to methods via this, so no need to pass them another time as function parameter.

Can be reviewed with

--word-diff-regex=. --ignore-all-space

This is a backport of core#21425

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Mar 12 2021, 11:57
PiRKCommitted on Mar 13 2023, 15:00
PiRKPushed on Mar 13 2023, 15:00
Reviewer
Restricted Project
Differential Revision
D13306: refactor: Pass PeerManagerImpl members only once
Parents
rABC7952a06cf1fa: [net processing] Remove unused CNodeState.address member
Branches
Unknown
Tags
Unknown