HomePhabricator

[wallet] Refactor ProcessImport()

Description

[wallet] Refactor ProcessImport()

Summary:
This commit is move-only and doesn't make any functional changes. It
simply moves code around within ProcessImport() in preparation for
refactors in the next commits.

This is a partial backport of Core PR14491 : https://github.com/bitcoin/bitcoin/pull/14491/commits/a1b25e12a5f57048a4639964d57c0b46eb84cd4e

Some loop variable names have been changed to make sure we don't have shaddowing going on.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Jan 11 2019, 21:32
deadalnixCommitted on May 19 2020, 19:02
deadalnixPushed on May 19 2020, 19:02
Reviewer
Restricted Project
Differential Revision
D6141: [wallet] Refactor ProcessImport()
Parents
rABC03ee4b87a741: [backport#15153] gui: Show indeterminate progress dialog while opening wallet
Branches
Unknown
Tags
Unknown