HomePhabricator

Add stop_block out arg to ScanForWalletTransactions

Description

Add stop_block out arg to ScanForWalletTransactions

Summary:

Accurately reports the last block successfully scanned, replacing a
return of the chain tip, which represented possibly inaccurated data in
a race condition.

Completes backport of core PR13076:
https://github.com/bitcoin/bitcoin/pull/13076/commits/bd3b0361d840bff95988a048abf70ade94d80524

Depends on D5562.

Test Plan:

ninja all check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Ben Woosley <ben.woosley@gmail.com>Authored on Nov 13 2018, 04:57
FabienCommitted on Mar 26 2020, 12:34
FabienPushed on Mar 26 2020, 13:37
Reviewer
Restricted Project
Differential Revision
D5563: Add stop_block out arg to ScanForWalletTransactions
Parents
rSTAGING14fb21559761: Return a status enum from ScanForWalletTransactions
Branches
Unknown
Tags
Unknown