HomePhabricator

[net/refactor] Add AddrFetch connections to ConnectionType enum

Description

[net/refactor] Add AddrFetch connections to ConnectionType enum

Summary:

- AddrFetch connections are short lived connections used to getaddr from
a peer
- previously called "one shot" connections

Partial backport (7/19) of core PR19316:
https://github.com/bitcoin/bitcoin/pull/19316/commits/442abae2bac7bff85886143df01e14215532b974

Depends on D8716.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
Amiti Uttarwar <amiti@uttarwar.org>Authored on Apr 30 2020, 17:57
FabienCommitted on Dec 21 2020, 15:44
FabienPushed on Dec 21 2020, 15:45
Reviewer
Restricted Project
Differential Revision
D8717: [net/refactor] Add AddrFetch connections to ConnectionType enum
Parents
rABCe1e5aca39090: [net/refactor] Extract m_addr_known logic from initializer list
Branches
Unknown
Tags
Unknown