fanquake
e862bceb17
Merge bitcoin/bitcoin#27935 : fuzz: call lookup functions before calling Ban
...
fca0a8938e34cb4f6c400e1d1d0be02f027d80c5 ci: remove "--exclude banman" for fuzzing in mac (brunoerg)
f9b286353f79cdb5e55e2ff4ca47d73e14f9da48 fuzz: call lookup functions before calling `Ban` (brunoerg)
Pull request description:
Fixes #27924
To not have any discrepancy, it's required to call lookup functions before calling `Ban`. If we don't do it, the assertion `assert(banmap == banmap_read);` may fail because `BanMapFromJson` will call `LookupSubNet` and cause the discrepancy between the banned and the loaded one. It happens especially in MacOS (#27924 ).
Also, calling lookup functions before banning is what RPC `setban` does.
ACKs for top commit:
maflcko:
lgtm ACK fca0a8938e34cb4f6c400e1d1d0be02f027d80c5
dergoegge:
ACK fca0a8938e34cb4f6c400e1d1d0be02f027d80c5
Tree-SHA512: a3d635088a556df4507e65542157f10b41d4f87dce42927b58c3b812f262f4544b6b57f3384eef1097ffdd7c32b8dd1556aae201254960cbfbf48d45551200f7
2023-11-13 10:57:01 +00:00
..
2023-10-05 15:10:33 +02:00
2022-12-24 23:49:50 +00:00
2023-09-14 10:25:26 +10:00
2021-12-30 19:36:57 +02:00
2022-04-20 14:35:52 +01:00
2022-12-24 23:49:50 +00:00
2023-11-09 10:11:51 -03:00
2023-01-13 09:40:57 +00:00
2021-12-30 19:36:57 +02:00
2023-09-06 13:59:12 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2021-12-30 19:36:57 +02:00
2023-11-08 09:51:54 +01:00
2023-09-15 14:34:17 +02:00
2023-10-06 19:43:32 +02:00
2023-03-21 13:04:21 +00:00
2023-11-08 09:51:54 +01:00
2023-02-03 10:33:31 -05:00
2023-10-30 11:39:21 -04:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2023-08-17 15:31:56 -04:00
2023-08-17 15:31:27 -04:00
2021-12-30 19:36:57 +02:00
2023-08-17 15:31:56 -04:00
2023-07-17 13:27:46 +02:00
2021-12-30 19:36:57 +02:00
2023-09-12 22:51:42 +02:00
2023-10-13 10:30:49 +02:00
2022-12-13 15:08:24 -05:00
2021-12-30 19:36:57 +02:00
2023-10-04 13:16:52 +01:00
2023-03-21 13:54:11 +01:00
2021-12-30 19:36:57 +02:00
2023-09-19 13:41:24 +02:00
2023-11-08 09:51:54 +01:00
2023-07-17 09:39:52 +02:00
2023-09-19 14:19:57 +00:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-02-17 13:34:40 -05:00
2023-08-14 17:38:27 -04:00
2023-07-13 20:37:14 +02:00
2023-09-12 12:14:31 -04:00
2021-08-04 19:20:32 +08:00
2023-09-15 14:34:17 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2023-09-06 13:59:12 +02:00
2023-10-12 11:27:19 +02:00
2023-10-17 18:27:52 -04:00
2022-01-06 22:14:16 -05:00
2021-09-22 10:39:08 +02:00
2021-12-30 19:36:57 +02:00
2022-12-24 23:49:50 +00:00
2023-09-05 10:13:25 +02:00
2023-06-05 11:02:47 -04:00
2023-05-30 16:27:21 -03:00
2022-12-24 23:49:50 +00:00
2023-10-02 18:11:11 -04:00
2023-11-02 09:33:47 -04:00
2023-04-04 18:33:08 +02:00
2021-12-30 19:36:57 +02:00
2023-07-27 09:36:05 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-11-08 09:51:54 +01:00
2023-03-23 19:38:38 +01:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-08-18 12:52:30 -04:00
2023-08-23 20:13:49 -04:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2021-10-05 11:10:37 +02:00
2023-11-08 09:51:54 +01:00
2023-09-19 14:19:57 +00:00
2023-10-13 08:55:12 -03:00
2021-12-30 19:36:57 +02:00
2022-12-13 15:08:24 -05:00
2023-07-13 20:37:14 +02:00
2021-11-12 19:51:55 +00:00
2023-07-13 20:37:14 +02:00
2023-09-07 11:34:34 +01:00
2023-09-12 12:14:31 -04:00
2021-11-12 19:51:55 +00:00
2022-12-13 15:08:24 -05:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-10-31 18:19:37 +01:00
2023-06-09 14:58:49 -04:00
2023-07-13 20:37:14 +02:00
2021-12-30 19:36:57 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-01-26 10:44:05 +01:00
2023-11-07 11:26:17 +00:00
2023-07-13 20:37:14 +02:00
2021-12-30 19:36:57 +02:00
2023-09-12 12:14:31 -04:00
2023-10-13 10:30:49 +02:00
2023-07-13 20:37:14 +02:00
2023-11-03 21:16:12 +01:00
2023-08-07 11:32:34 +02:00
2023-07-13 20:37:14 +02:00