HomePhabricator

[net] Move ConnectionType and eviction logic to their own files

Description

[net] Move ConnectionType and eviction logic to their own files

Summary:
This is a move-only commit, best reviewed with

git show --color-moved=dimmed_zebra

This concludes backport of core#25500
https://github.com/bitcoin/bitcoin/pull/25500/commits/c741d748d4d9836940b99091cc7be09c65efcb79
https://github.com/bitcoin/bitcoin/pull/25500/commits/0101d2bc3c3bcf698d6cc2a237a680fc52395987
Depends on D18242

Test Plan:

cmake .. -GNinja -DBUILD_CHAINSTATE
ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Jun 12 2025, 10:24
PiRKPushed on Jun 12 2025, 14:21
Reviewer
Restricted Project
Differential Revision
D18243: [net] Move ConnectionType and eviction logic to their own files
Parents
rABC959fb12926aa: [net] Add NoBan status and connection type to NodeEvictionCandidate
Branches
Unknown
Tags
Unknown