HomePhabricator

Remove uses of chainActive and mapBlockIndex in wallet code

Description

Remove uses of chainActive and mapBlockIndex in wallet code

Summary:

This change removes uses of chainActive and mapBlockIndex globals in
wallet code. It is a refactoring change which does not affect external
behavior.

Backport of core PR14711.

Test Plan:

ninja all check-extended

Ran the tests with UBSAN and ASAN as well.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Jul 27 2017, 14:08
FabienCommitted on Apr 10 2020, 09:59
FabienPushed on Apr 10 2020, 09:59
Reviewer
Restricted Project
Differential Revision
D5683: Remove uses of chainActive and mapBlockIndex in wallet code
Parents
rABC7da0e8e564f8: tests: Fix fs_tests for unknown locales
Branches
Unknown
Tags
Unknown