HomePhabricator

net: Give seednodes time before falling back to fixed seeds

Description

net: Give seednodes time before falling back to fixed seeds

Summary:
Before, we'd remove a seednode from the list right after connecting
to it, leading to a race with loading the fixed seed and connecting
to them.

This is a backport of core#27577

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Martin Zumsande <mzumsande@gmail.com>Authored on May 4 2023, 18:59
PiRKCommitted on Jul 16 2025, 13:53
PiRKPushed on Jul 16 2025, 13:53
Reviewer
Restricted Project
Differential Revision
D18368: net: Give seednodes time before falling back to fixed seeds
Parents
rABC733f231e8393: net_processing: remove mapRelay, relay txs from m_most_recent_block
Branches
Unknown
Tags
Unknown