HomePhabricator

p2p, rpc: address relay fixups

Description

p2p, rpc: address relay fixups

Summary:
Move a use of statestats in getpeerinfo to within the section guarded by if (fStateStats), e.g. PeerManagerImpl::GetNodeStateStats true, and pass an in-param by reference to const.

This is a backport of core#22616

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Aug 3 2021, 11:04
PiRKCommitted on Mar 16 2023, 14:56
PiRKPushed on Mar 16 2023, 14:56
Reviewer
Restricted Project
Differential Revision
D13348: p2p, rpc: address relay fixups
Parents
rABC79fda1a0a190: [Chronik] Add metadata and schema version to DB
Branches
Unknown
Tags
Unknown