Page MenuHomePhabricator

wallet: Avoid use of Chain::Lock in importmulti
ClosedPublic

Authored by deadalnix on Oct 10 2020, 23:34.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCc133d6383ab5: wallet: Avoid use of Chain::Lock in importmulti
Summary

This is a step toward removing the Chain::Lock class and reducing cs_main
locking.

This change only affects behavior in the case where wallet last block processed
falls behind the chain tip, in which case it may use a more accurate rescan
time.

This is part [6/12] of Core PR17954 : https://github.com/bitcoin/bitcoin/pull/17954/commits/bc96a9bfc61afdb696fb92cb644ed5fc3d1793f1

Depends on D7868

Test Plan
ninja all check-all

Diff Detail

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