Martin Zumsande
8cc3ac6c23
validation: Don't use IsValid() to filter for invalid blocks
...
IsValid() also returns false for blocks that have not been
validated yet up to the default validity level of BLOCK_VALID_TRANSACTIONS but
are not marked as invalid - e.g. if we only know the header.
Here, we specifically want to filter for invalid blocks.
Also removes the default arg from IsValid() which is now unused outside
of tests, to prevent this kind of misuse for the future.
Co-authored-by: TheCharlatan <seb.kung@gmail.com >
2025-06-12 14:40:59 -04:00
..
2025-05-19 18:09:56 -07:00
2024-04-18 10:27:25 +01:00
2025-06-03 19:56:55 +02:00
2025-06-03 15:13:57 +02:00
2024-09-13 21:59:29 -04:00
2024-12-13 14:22:25 +01:00
2025-03-25 21:21:27 +01:00
2025-05-13 15:50:02 +02:00
2025-03-12 19:46:54 +01:00
2024-07-01 10:26:46 -04:00
2024-08-05 14:51:47 +02:00
2024-05-29 18:55:04 +02:00
2024-12-13 14:22:25 +01:00
2025-06-12 14:40:59 -04:00
2025-05-19 22:06:48 +00:00
2025-06-03 19:56:55 +02:00
2025-05-16 09:12:00 +02:00
2025-05-29 12:14:13 +01:00
2025-06-03 19:56:55 +02:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2024-09-21 12:37:36 +02:00
2024-08-28 15:56:15 +01:00
2025-06-03 19:56:55 +02:00
2025-04-08 15:18:03 -04:00
2025-06-03 15:13:54 +02:00
2024-05-16 10:16:08 -05:00
2025-01-20 17:43:58 +01:00
2025-04-22 22:00:59 -04:00
2024-06-12 15:21:31 +02:00
2025-02-21 10:43:41 +01:00
2024-12-13 14:22:25 +01:00
2025-05-20 09:43:21 +01:00
2025-03-12 19:46:54 +01:00
2025-04-03 12:05:59 +02:00
2025-02-21 10:43:01 +01:00
2024-05-09 15:56:04 +02:00
2025-05-30 10:12:38 -04:00
2024-08-05 15:45:58 +01:00
2025-01-06 15:43:04 +00:00
2025-05-19 17:16:13 +02:00
2024-09-04 15:04:53 -04:00
2025-02-04 11:53:03 -05:00
2025-03-12 19:46:54 +01:00
2025-06-03 08:09:28 +01:00
2024-04-18 10:27:25 +01:00
2025-01-06 15:43:04 +00:00
2025-04-25 15:12:03 +02:00
2025-01-15 15:44:03 +01:00
2024-12-13 14:22:25 +01:00
2025-06-03 08:09:28 +01:00
2025-03-12 19:46:54 +01:00
2025-03-16 09:26:37 +01:00
2024-12-02 15:09:31 +01:00
2025-05-19 17:16:13 +02:00
2024-07-19 15:39:02 +02:00
2025-05-20 09:43:21 +01:00
2025-02-12 11:39:37 -05:00
2025-06-03 08:09:28 +01:00
2025-03-27 11:54:39 +01:00
2025-03-12 19:46:54 +01:00
2024-09-02 15:43:33 +01:00
2024-09-04 15:04:53 -04:00
2024-12-17 12:55:38 -05:00
2024-12-17 12:55:38 -05:00
2024-10-26 23:44:15 +02:00
2024-12-13 14:22:25 +01:00
2024-07-06 09:06:36 -04:00
2025-03-25 09:38:25 +01:00
2024-12-13 14:22:25 +01:00
2025-05-06 12:33:16 -07:00
2025-03-13 11:47:41 +00:00
2025-03-12 19:46:54 +01:00
2024-12-13 14:22:25 +01:00
2024-09-20 16:05:28 +01:00
2025-05-30 10:12:38 -04:00
2024-08-21 00:41:56 +02:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2025-01-06 15:43:04 +00:00
2025-03-12 19:46:54 +01:00
2024-07-10 09:40:47 +02:00
2025-01-15 12:16:08 +01:00
2024-09-06 09:08:10 -04:00
2024-06-13 11:20:49 +01:00
2024-12-13 14:22:25 +01:00
2024-12-17 12:55:38 -05:00
2025-02-07 13:55:57 -05:00
2025-06-03 19:56:55 +02:00
2025-02-20 14:00:21 -05:00
2025-01-29 18:05:16 -05:00
2025-03-12 19:45:37 +01:00
2025-02-21 10:43:01 +01:00
2025-06-03 08:09:28 +01:00
2025-04-25 12:44:08 -04:00
2024-12-13 14:22:25 +01:00
2025-06-03 19:56:55 +02:00
2025-01-21 00:38:03 +10:00