HomePhabricator

wallet: avoid rescans if under the snapshot

Description

wallet: avoid rescans if under the snapshot

Summary:
Refuse to load a wallet if it requires a rescan lower than the height of
an unvalidated snapshot we're running -- in more general terms, if we
don't have data for the blocks.

This is a backport of core#23997 and core#26282

Depends on D17645

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
James O'Beirne <james.obeirne@gmail.com>Authored on Mar 29 2019, 21:10
PiRKCommitted on Tue, Feb 11, 14:43
PiRKPushed on Tue, Feb 11, 14:43
Reviewer
Restricted Project
Differential Revision
D17646: wallet: avoid rescans if under the snapshot
Parents
rABC45ecb7b1162e: Temporarly disable the getavaaddr_interval_test
Branches
Unknown
Tags
Unknown