Page MenuHomePhabricator

[tests] refactor interface_rest.py to avoid code repetition
ClosedPublic

Authored by Fabien on Jul 30 2019, 08:28.

Details

Summary
Also refactor txout index parsing and formatting.

Partial backport of core PR12766 (commit ad00fbe)
https://github.com/bitcoin/bitcoin/pull/12766/commits/ad00fbed3cfcfe7e921500179183589ac4aad419

Depends on D3767

Test Plan
./test/functional/test_runner.py interface_rest

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.