aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-06-13 14:36:44 -0400
committerJohn Newbery <john@johnnewbery.com>2019-03-29 11:43:41 -0400
commit03d6d238104d228acfae9f3e122879bddef8d27d (patch)
treea3ebc80476eb9e9c7d143ffeb30bee9998d5d425 /src/index
parent1c29ac40fb1853df20572a389db70ce75d80ef93 (diff)
downloadbitcoin-03d6d238104d228acfae9f3e122879bddef8d27d.tar.xz
[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/index')
0 files changed, 0 insertions, 0 deletions