HomePhabricator

Add CWallet::BlockUntilSyncedToCurrentChain()

Description

Add CWallet::BlockUntilSyncedToCurrentChain()

Summary:
This blocks until the wallet has synced up to the current height.

This is extracted from Core's PR10286 commit 5ee31726360cbe343f5a1a50a5e440db736da5b7

Depends on D2266

Test Plan:

make check
./test/functional/test_runner.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2267

Details

Provenance
Matt Corallo <git@bluematt.me>Authored on Jan 17 2017, 23:06
deadalnixCommitted on Jan 8 2019, 14:32
deadalnixPushed on Jan 8 2019, 15:28
Reviewer
Restricted Project
Differential Revision
D2267: Add CWallet::BlockUntilSyncedToCurrentChain()
Parents
rSTAGINGd539b4ec5514: Add CallFunctionInQueue to wait on validation interface queue drain
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/6558, tag: phabricator/base/6557, tag: phabricator/base/6555