diff options
author | John Newbery <john@johnnewbery.com> | 2017-06-13 14:36:44 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-03-29 11:43:41 -0400 |
commit | 03d6d238104d228acfae9f3e122879bddef8d27d (patch) | |
tree | a3ebc80476eb9e9c7d143ffeb30bee9998d5d425 /src/ui_interface.cpp | |
parent | 1c29ac40fb1853df20572a389db70ce75d80ef93 (diff) |
[tests] make pruning test faster
This commit makes the pruning.py much faster.
Key insights to do this:
- pruning.py doesn't care what kind of transactions make up the big
blocks that are pruned in the test. Instead of making blocks with
several large, expensive to construct and validate transactions,
instead make the large blocks contain a single coinbase transaction with
a huge OP_RETURN txout.
- avoid stop-starting nodes where possible.
This test could probably be made even faster by using the P2P interface
for submitting blocks instead of the submitblock RPC.
Diffstat (limited to 'src/ui_interface.cpp')
0 files changed, 0 insertions, 0 deletions