Page MenuHomePhabricator

[avalanche] Keep sending getavaaddr until the qorum is established
ClosedPublic

Authored by Fabien on Mar 30 2022, 10:15.

Details

Reviewers
tyler-smith
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC9d641e10f624: [avalanche] Keep sending getavaaddr until the qorum is established
Summary

The getavaaddr is conditionally sent when we failed to find a node to query. This is not working properly for the time where the quorum is not established yet as there is no attempt to select a node, altough that's the time we need them the most. This diff fixes this isse by issuing the getavaaddr request while the qorum is not esablished.

Ref T1864.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_getavaadd_no_quorum
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18669
Build 37129: Build Diffbuild-without-wallet · build-diff · lint-circular-dependencies · build-debug · build-clang-tidy · build-clang
Build 37128: arc lint + arc unit