aboutsummaryrefslogtreecommitdiff
path: root/test/get_previous_releases.py
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2022-12-07 00:03:26 -0500
committerAndrew Chow <github@achow101.com>2022-12-09 13:57:01 -0500
commit6c872d5e656a7117bbdf19a0220572b93de16f31 (patch)
treec37b7dca6b023436023f8c205a2c861642facec8 /test/get_previous_releases.py
parent544cbf776cf25d90ea4b96d92e7ee6e316576038 (diff)
tests: Initialize sigops draining script with bytes in feature_taproot
The sigops draining script in feature_taproot's block_submit was initialized with a list that would end up always being iterated by CScript's constructor. Since this list is very large, a lot of time would be wasted. By creating and passing a bytes object initialized from that list, we can avoid this iteration and dramatically improve the runtime of feature_taproot.
Diffstat (limited to 'test/get_previous_releases.py')
0 files changed, 0 insertions, 0 deletions