HomePhabricator

[Part 1 of 2] [qa] receivedby.py cleanup and fixes

Description

[Part 1 of 2] [qa] receivedby.py cleanup and fixes

Summary:
[qa] Tidy up receivedby.py

  • Fix flake8 warnings
  • Remove the useless get_sub_array_from_array() function
  • Reduce runtime for receivedby.py by about half by only using two nodes

Backport of Core PR11055

Test Plan:

make check && ./test/functional/test_runner.py

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Aug 15 2017, 15:39
schancelCommitted on Oct 30 2018, 00:17
schancelPushed on Oct 30 2018, 00:17
Reviewer
Restricted Project
Differential Revision
D1983: [Part 1 of 2] [qa] receivedby.py cleanup and fixes
Parents
rABC00c72639b0c7: Fix that CWallet::AbandonTransaction would only traverse one level
Branches
Unknown
Tags
Unknown