Page MenuHomePhabricator

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

Authored by Fabien on Tue, Jul 30, 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.

Event Timeline

Fabien created this revision.Tue, Jul 30, 08:28
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Jul 30, 08:28
deadalnix accepted this revision.Mon, Aug 5, 06:09
This revision is now accepted and ready to land.Mon, Aug 5, 06:09