Page MenuHomePhabricator

net: Give seednodes time before falling back to fixed seeds
ClosedPublic

Authored by PiRK on Jul 15 2025, 13:53.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Jul 15 2025, 13:53
Fabien requested changes to this revision.Jul 15 2025, 14:22
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/net.cpp
1705 ↗(On Diff #54856)

Please fix the layout, the above empty line and comment makes it easy to miss the else, which is the actual behavior change

This revision now requires changes to proceed.Jul 15 2025, 14:22

move the comment inside the else if scope and rephrase it accordingly. Remove blank line

This revision is now accepted and ready to land.Jul 15 2025, 15:48