HomePhabricator

tests: Add RPCOverloadWrapper which overloads some disabled RPCs

Description

tests: Add RPCOverloadWrapper which overloads some disabled RPCs

Summary:
RPCOverloadWrapper overloads some deprecated or disabled RPCs with
an implementation using other RPCs to avoid having a ton of code churn
around replacing those RPCs.

Backport of Core PR16528 [42/43] : https://github.com/bitcoin/bitcoin/pull/16528/commits/869f7ab30aeb4d7fbd563c535b55467a8a0430cf

Depends on D8487

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Apr 2 2020, 22:09
deadalnixCommitted on Nov 23 2020, 14:32
deadalnixPushed on Nov 23 2020, 14:32
Reviewer
Restricted Project
Differential Revision
D8498: tests: Add RPCOverloadWrapper which overloads some disabled RPCs
Parents
rABC20d158fdf970: Fix a nit in wallet_keypool.py
Branches
Unknown
Tags
Unknown