merge-script ab2df1726e
Merge bitcoin/bitcoin#31917: fuzz: provide more realistic values to the base58(check) decoders
d5537c18a9034647ba4c9ed4008abd7fee33989e fuzz: make sure DecodeBase58(Check) is called with valid values more often (Lőrinc)
bad1433ef2b5b02ac4b1c6c1d9482c513e5b2192 fuzz: Always restrict base conversion input lengths (Lőrinc)

Pull request description:

  This is a follow-up to https://github.com/bitcoin/bitcoin/pull/30746, expanding coverage by:
  * restricting every input for the base58 conversions, capping max sizes to `100` instead of `1000` or all available input (suggested by marcofleon in https://github.com/bitcoin/bitcoin/pull/30746#discussion_r1963718683) since most actual usage has lengths of e.g. `21`, `34`, `78`.
  * providing more valid values to the decoder (suggested by maflcko in https://github.com/bitcoin/bitcoin/pull/30746#discussion_r1957847712) by randomly providing a random input or a valid encoded one; this also enables unifying the roundtrip tests to a single roundtrip per fuzz.

ACKs for top commit:
  mzumsande:
    Code Review / lightly tested ACK d5537c18a9034647ba4c9ed4008abd7fee33989e
  maflcko:
    review ACK d5537c18a9034647ba4c9ed4008abd7fee33989e 🚛

Tree-SHA512: 50365654cdac8a38708a7475eaa43396642b7337e2ee8999374c3faafff4f05457abc1a54c701211e0ed24d36c12af77bcad17b49695699be42664f2be660659
2025-03-16 17:02:58 +08:00
..
2025-03-13 11:13:13 +00:00
2025-03-13 11:13:13 +00:00
2025-03-13 11:13:13 +00:00
2025-02-18 12:29:18 +00:00
2024-10-25 18:09:36 +01:00
2025-03-13 11:13:13 +00:00
2025-03-13 11:13:13 +00:00
2024-11-11 14:14:39 +00:00
2024-11-26 20:47:08 -05:00
2024-12-05 14:37:47 +00:00
2025-03-13 11:13:13 +00:00
2024-08-04 08:51:36 +02:00
2024-11-04 14:19:40 -05:00
2025-03-13 11:13:13 +00:00
2024-05-20 16:48:19 +00:00
2024-07-08 11:12:01 +02:00
2024-09-10 11:20:40 -03:00
2025-01-22 11:29:05 +01:00
2025-01-22 11:29:05 +01:00
2025-01-14 19:01:53 +01:00
2024-10-21 23:24:17 +02:00
2024-08-29 13:49:57 +02:00
2024-12-19 13:46:52 +01:00
2024-07-08 11:12:01 +02:00
2024-12-31 00:04:20 -03:00
2024-12-31 00:04:20 -03:00
2025-03-13 11:13:13 +00:00