Page MenuHomePhabricator

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

Authored by majcosta on Apr 6 2021, 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.Apr 6 2021, 18:49
deadalnix requested changes to this revision.Apr 6 2021, 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.Apr 6 2021, 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.Apr 8 2021, 13:07