HomePhabricator

net: make CNode::m_inbound_onion public, initialize explicitly

Description

net: make CNode::m_inbound_onion public, initialize explicitly

Summary:

net: make CNode::m_inbound_onion public, drop getter, update tests

net: remove CNode::m_inbound_onion defaults for explicitness

and to allow the compiler to warn if uninitialized in the ctor
or omitted in the caller.

This is a backport of core#21167

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Jan 26 2021, 21:08
PiRKCommitted on Feb 4 2022, 08:57
PiRKPushed on Feb 4 2022, 08:57
Reviewer
Restricted Project
Differential Revision
D10973: net: make CNode::m_inbound_onion public, initialize explicitly
Parents
rABCacc98ce62717: [Cashtab] fix stale cached data
Branches
Unknown
Tags
Unknown

Event Timeline