Page MenuHomePhabricator

[avalanche] Reduce the bias towards connecting staking nodes after the quorum is established
Changes PlannedPublic

Authored by Fabien on Jun 24 2026, 13:45.

Details

Reviewers
bytesofman
PiRK
Group Reviewers
Restricted Project
Summary

This is expected to make it easier for non staking nodes to get a quorum as they will more easily get inbound connections from stakers.
After the quorum is established it is OK to relieve the huge bias towards stakers: this diff makes it 50% avalanche and 50% regular full-relay outbound until the slots are filled.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_peer_connect_less_aggressive
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37171
Build 73768: Build Difflint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang
Build 73767: arc lint + arc unit

Event Timeline

Fabien published this revision for review.Jun 25 2026, 09:46
This revision is now accepted and ready to land.Jun 25 2026, 11:10
Fabien planned changes to this revision.Jun 26 2026, 16:08

More changes are needed, it's not making things worst but not really helping much. Still testing.