diff options
author | Andrew Chow <github@achow101.com> | 2022-12-07 00:03:26 -0500 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2022-12-09 13:57:01 -0500 |
commit | 6c872d5e656a7117bbdf19a0220572b93de16f31 (patch) | |
tree | c37b7dca6b023436023f8c205a2c861642facec8 /src/test/compilerbug_tests.cpp | |
parent | 544cbf776cf25d90ea4b96d92e7ee6e316576038 (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 'src/test/compilerbug_tests.cpp')
0 files changed, 0 insertions, 0 deletions