Page MenuHomePhabricator

tests: Add RPCOverloadWrapper which overloads some disabled RPCs
ClosedPublic

Authored by deadalnix on Nov 22 2020, 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