Pieter Wuille
56e37e71a2
Make miniscript fuzzers avoid script size limit
...
Use the same technique as is using in the FromString miniscript parser to
predict the final script size of the miniscript being generated in the
miniscript_stable and miniscript_smart fuzzers (by counting every unexplored
sub node as 1 script byte, which is possible because every leaf node always
adds at least 1 byte). This allows bailing out early if the script being
generated would exceed the maximum allowed size (before actually constructing
the miniscript, as that may happen only significantly later potentially).
Also add a self-check to make sure this predicted script size matches that
of generated scripts.
2023-02-28 09:42:33 -05:00
..
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 18:11:13 -05:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-13 09:40:57 +00:00
2022-09-05 15:38:33 +02:00
2022-12-13 15:08:24 -05:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-02 09:00:15 -05:00
2023-02-03 10:33:31 -05:00
2022-12-24 23:49:50 +00:00
2023-01-30 18:12:21 -05:00
2023-01-30 18:12:21 -05:00
2022-12-13 15:08:24 -05:00
2022-12-13 15:08:24 -05:00
2022-12-13 15:08:24 -05:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-13 09:40:57 +00:00
2023-02-17 13:34:40 -05:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2022-12-13 15:08:24 -05:00
2023-01-26 10:44:05 +01:00
2022-07-18 12:06:14 -06:00
2022-12-13 15:08:24 -05:00
2023-02-28 09:42:33 -05:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-17 13:34:40 -05:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-03 19:31:29 -06:00
2023-01-13 09:40:57 +00:00
2023-01-23 17:29:41 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2023-01-19 15:56:58 +01:00
2023-01-19 15:56:58 +01:00
2023-01-13 09:40:57 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2023-01-13 09:40:57 +00:00
2022-12-13 15:08:24 -05:00
2022-12-24 23:49:50 +00:00
2023-02-16 10:01:33 +00:00
2023-01-13 09:40:57 +00:00
2022-12-13 15:08:24 -05:00
2023-01-13 09:40:57 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2023-01-26 10:44:05 +01:00
2023-01-20 12:15:01 +01:00
2023-01-26 10:36:18 +00:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-03 19:31:29 -06:00