Page MenuHomePhabricator

refactor: Get rid of more redundant chain methods
ClosedPublic

Authored by PiRK on May 5 2022, 14:53.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5e2fdfcbd407: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable