Page MenuHomePhabricator

tests: Add RPCOverloadWrapper which overloads some disabled RPCs
ClosedPublic

Authored by deadalnix on Sun, Nov 22, 17:08.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.