Page MenuHomePhabricator

[wallet] setup wallet background flushing in WalletInit directly

Authored by Fabien on Jul 10 2019, 09:59.


WalletInit::Start calls postInitProcess() for each wallet. Previously
each call to postInitProcess() would attempt to schedule wallet
background flushing.

Just start wallet background flushing once from WalletInit::Start().

Partial backport of core PR10740 (commit 470316c)

Progress towards T459

Test Plan
make check
./test/functional/ wallet_*

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Jul 10 2019, 09:59
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 10 2019, 09:59
deadalnix accepted this revision.Jul 11 2019, 01:49
deadalnix added inline comments.
400 ↗(On Diff #10189)

Do you actually need the full trinity here ?

This revision is now accepted and ready to land.Jul 11 2019, 01:49
Fabien updated this revision to Diff 10240.Jul 11 2019, 19:47

Remove () from the predicate.