Page MenuHomePhabricator

p2p, rpc: address relay fixups
ClosedPublic

Authored by PiRK on Mar 16 2023, 08:51.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC401002c16aaa: 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

Event Timeline

PiRK requested review of this revision.Mar 16 2023, 08:51
This revision is now accepted and ready to land.Mar 16 2023, 13:30
This revision was automatically updated to reflect the committed changes.