Page MenuHomePhabricator

[net/refactor] Add connection type as a member var to CNode
ClosedPublic

Authored by Fabien on Dec 21 2020, 11:44.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC45f9e2cab46f: [net/refactor] Add connection type as a member var to CNode
Summary
- Directly maintaining the connection type prevents having to deduce it
from several flags.

Partial backport (9/19) of core PR19316:
https://github.com/bitcoin/bitcoin/pull/19316/commits/d3698b5ee309cf0f0cdfb286d6b30a256d7deae5

Depends on D8718.

Test Plan
ninja all check