MarcoFalke
d6e0d78c31
Merge bitcoin/bitcoin#20966 : banman: save the banlist in a JSON format on disk
...
bb719a08db173a753984a04534de6f148b87b17a style: remove () from assert in rpc_setban.py (Vasil Dimov)
24b10ebda301548b8ff4b0c73fefc367ad5dc22b doc: fix grammar in doc/files.md (Vasil Dimov)
dd4e957dcdfc971a4a971995ff2db9fb787d23c3 test: ensure banlist can be read from disk after restart (Vasil Dimov)
d197977ae2076903ed12ab7616a7f93e88be02e1 banman: save the banlist in a JSON format on disk (Vasil Dimov)
Pull request description:
Save the banlist in `banlist.json` instead of `banlist.dat`.
This makes it possible to store Tor v3 entries in the banlist on disk
(and any other addresses that cannot be serialized in addrv1 format).
Only read `banlist.dat` if it exists and `banlist.json` does not exist (first start after an upgrade).
Supersedes https://github.com/bitcoin/bitcoin/pull/20904
Resolves https://github.com/bitcoin/bitcoin/issues/19748
ACKs for top commit:
jonatack:
Code review re-ACK bb719a08db173a753984a04534de6f148b87b17a per `git range-diff 6a67366 4b52c72 bb719a0`
achow101:
Code Review ACK bb719a08db173a753984a04534de6f148b87b17a
Tree-SHA512: fc135c3a1fe20bcf5d008ce6bea251b4135e56c78bf8f750b4bd8144c095b81ffe165133cdc7e4715875eec7e7c4e13ad9f5d2450b21102af063d7c8abf716b6
2021-06-23 10:01:56 +02:00
..
2021-06-10 15:05:24 -04:00
2021-05-24 16:15:05 -07:00
2021-05-25 21:09:05 +00:00
2020-12-08 19:26:30 +01:00
2021-04-19 20:28:46 +02:00
2021-06-10 15:05:24 -04:00
2021-06-10 09:58:45 -05:00
2021-06-16 10:48:58 +02:00
2021-04-23 03:02:50 -05:00
2021-06-22 11:06:30 +02:00
2021-06-02 17:26:44 +01:00
2020-12-31 09:45:41 +01:00
2021-06-16 10:48:58 +02:00
2021-06-12 12:38:17 -07:00
2021-06-12 12:38:17 -07:00
2021-04-23 11:35:15 -07:00
2021-02-01 15:17:28 +01:00
2021-06-21 14:39:44 +02:00
2020-11-19 15:48:24 +01:00
2021-06-16 10:48:58 +02:00
2021-06-22 10:01:50 +02:00
2021-06-09 19:25:13 +08:00
2021-02-18 10:07:37 +00:00
2021-06-21 14:39:44 +02:00
2021-06-21 14:39:44 +02:00
2021-06-14 17:28:38 +03:00
2021-06-14 17:28:38 +03:00
2020-12-31 09:45:41 +01:00
2021-06-21 14:39:44 +02:00
2021-06-21 14:39:44 +02:00
2021-01-31 17:35:16 +01:00
2020-12-31 09:45:41 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2020-11-18 12:00:57 -05:00
2021-06-03 11:23:22 +02:00
2020-11-18 12:00:57 -05:00
2021-06-12 12:38:17 -07:00
2021-01-12 18:34:25 +10:00
2021-02-07 06:50:11 +10:00
2020-11-18 12:00:57 -05:00
2021-01-21 19:31:28 +01:00
2020-11-18 12:00:57 -05:00
2021-06-10 09:58:45 -05:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-06-03 13:53:31 +02:00
2021-06-02 22:36:48 +02:00
2021-05-11 10:40:40 +02:00
2021-04-12 11:14:49 +10:00
2020-12-31 09:45:41 +01:00
2021-06-03 14:04:06 +02:00
2020-09-24 06:55:34 +03:00
2020-12-31 09:45:41 +01:00
2021-02-01 22:30:05 +02:00
2021-02-12 07:53:29 -06:00
2021-05-11 10:39:44 +02:00
2021-03-01 17:36:16 +01:00
2021-05-04 06:53:32 +02:00
2021-03-23 10:51:43 -04:00
2021-06-12 12:38:17 -07:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:23:16 +08:00
2021-05-04 06:53:37 +02:00
2021-02-01 15:17:28 +01:00
2021-04-12 19:29:03 -04:00
2021-06-16 10:48:58 +02:00
2021-06-16 10:48:58 +02:00
2021-02-10 20:46:25 +00:00
2021-01-15 22:48:15 +01:00
2021-01-15 22:48:15 +01:00
2021-01-04 12:23:16 +08:00
2021-04-23 11:35:15 -07:00
2021-04-07 04:53:26 -04:00
2021-03-29 23:29:42 +02:00
2021-06-21 11:15:42 +02:00
2021-04-08 16:31:55 +02:00
2021-03-16 13:59:18 +01:00
2021-06-21 14:39:44 +02:00
2021-06-10 09:58:45 -05:00
2021-05-24 12:14:16 -07:00
2021-01-24 02:44:53 +01:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-04-23 03:02:50 -05:00
2021-04-23 03:02:50 -05:00
2021-06-10 19:09:54 +08:00
2021-01-07 18:07:09 +02:00
2020-12-08 19:26:30 +01:00
2020-10-27 19:40:44 +01:00
2021-06-03 21:25:30 +08:00
2021-03-29 11:12:26 +08:00
2021-03-04 12:34:46 +08:00
2021-03-30 10:42:45 +02:00
2021-06-16 10:41:24 +02:00
2021-04-29 18:39:01 +03:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2021-06-10 15:05:24 -04:00
2021-05-27 13:50:11 -04:00
2021-05-19 19:41:05 +02:00
2021-05-19 19:41:05 +02:00
2021-06-21 08:18:55 +02:00
2021-05-04 09:31:03 +01:00
2021-06-16 11:27:16 +08:00
2021-06-14 14:01:35 +02:00
2021-06-06 15:49:22 +02:00
2021-06-12 11:41:27 +08:00
2021-03-30 17:41:13 +02:00
2021-04-06 14:50:17 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-03 18:37:59 +01:00
2021-01-03 18:37:59 +01:00
2021-05-13 12:42:21 +01:00
2021-05-24 18:06:35 -07:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-06-12 12:25:28 -07:00
2021-05-04 06:55:31 +02:00
2021-03-29 11:08:29 +08:00
2021-06-10 15:05:25 -04:00
2021-05-14 12:49:16 +02:00
2021-01-29 15:39:44 +08:00
2021-05-31 14:56:17 +02:00
2021-04-04 18:08:36 +02:00
2021-04-04 18:08:36 +02:00
2021-04-13 10:24:31 +08:00
2021-03-15 10:41:30 +08:00
2020-11-25 15:18:33 +01:00
2021-05-05 20:19:03 +02:00
2021-01-26 15:57:28 +08:00
2021-04-05 08:42:15 +02:00
2020-12-31 09:45:41 +01:00
2020-10-12 19:50:16 -07:00
2020-12-01 18:36:39 +01:00
2021-05-24 10:29:58 +02:00
2021-03-02 12:21:32 +00:00
2021-05-31 14:56:17 +02:00
2021-06-10 15:05:24 -04:00
2021-06-02 09:40:40 +01:00
2021-02-27 01:08:09 +10:00
2021-04-07 19:26:25 +01:00
2021-04-07 19:26:25 +01:00
2020-10-12 12:14:53 -07:00
2020-12-31 09:45:41 +01:00
2021-05-24 12:14:16 -07:00
2021-06-13 09:21:46 +02:00
2021-06-10 15:05:25 -04:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-12-31 09:45:41 +01:00
2021-04-12 11:14:49 +10:00
2021-04-12 11:14:49 +10:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00