HomePhabricator

[qa] fix pad_tx to better match the desired size

Description

[qa] fix pad_tx to better match the desired size

Summary:
Currently, pad_tx overpads quite often. This diff makes it pad the
correct amount except in specific cases. This enables us to simplify
some other tests which need to pad blocks.

Test Plan:

./test/functional/test_runner.py

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity

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

Details

Provenance
schancelAuthored on Nov 19 2018, 07:26
schancelPushed on Nov 19 2018, 08:18
Reviewer
Restricted Project
Differential Revision
D2098: [qa] fix pad_tx to better match the desired size
Parents
rABC6d18d4c703af: Ensure bip68-112-113-p2p passes for pre-fork conditions
Branches
Unknown
Tags
Unknown