Page MenuHomePhabricator

[avalanche] delay executing avalanche event loop until IBD is done
ClosedPublic

Authored by majcosta on Tue, Apr 6, 18:49.

Details

Summary

as title

Test Plan
cmake -DCMAKE_BUILD_TYPE=Debug; ninja all check check-functional
build-configurations.py build-tsan

Diff Detail

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

Event Timeline

majcosta requested review of this revision.Tue, Apr 6, 18:49
deadalnix requested changes to this revision.Tue, Apr 6, 23:30
deadalnix added a subscriber: deadalnix.

Why not just check for IBD status in runEventLoop ? What benefit does all this complication achieves?

This revision now requires changes to proceed.Tue, Apr 6, 23:30
src/eventloop.cpp
31 ↗(On Diff #28077)

This is going to block the scheduler thread for 200ms, why would you ever wan to do that?

This revision is now accepted and ready to land.Thu, Apr 8, 13:07