HomePhabricator

[qa] fix pad_tx to better match the desired size

Authored by schancel on Nov 19 2018, 07:26.

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

Committed
schancelNov 19 2018, 08:18
Pushed
jasonbcoxNov 19 2018, 09:28
Reviewer
Restricted Project
Differential Revision
D2098: [qa] fix pad_tx to better match the desired size
Parents
rSTAGING6d18d4c703af: Ensure bip68-112-113-p2p passes for pre-fork conditions
Branches
Unknown
Tags
Unknown