Page MenuHomePhabricator

Fix race to check chaintips in p2p_headers_sync_with_minchainwork
Needs ReviewPublic

Authored by roqqit on Tue, Dec 17, 22:35.

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

node3 is not guaranteed to have finished syncing headers by the time getchaintips is first called.

Test Plan
./test/functional/test_runner.py p2p_headers_sync_with_minchainwork.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
minchainwork-race
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31708
Build 62912: Build Diffbuild-debug · build-clang-tidy · build-clang · build-diff · build-without-wallet
Build 62911: arc lint + arc unit