HomePhabricator

refactor: Get rid of more redundant chain methods

Description

refactor: Get rid of more redundant chain methods

Summary:
This just drops three interfaces::Chain methods replacing them with other calls.

Motivation for removing these chain methods:

Behavior is not changing in any way here. A TODO comment in
ScanForWalletTransactions was removed, but just because it was invalid (see
https://github.com/bitcoin/bitcoin/pull/19195#discussion_r448020762), not
because it was implemented.

This is a backport of core#19425 [1/3]
https://github.com/bitcoin/bitcoin/pull/19425/commits/3fbbb9a6403a86fbed3d5d9f7939998922593377

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Jun 9 2020, 22:03
PiRKCommitted on May 5 2022, 16:43
PiRKPushed on May 5 2022, 16:42
Reviewer
Restricted Project
Differential Revision
D11418: refactor: Get rid of more redundant chain methods
Parents
rABCd5df49bfebc5: test: Add pure Python RIPEMD-160 and use it instead of OpenSSL
Branches
Unknown
Tags
Unknown