MarcoFalke
9f4c0a9694
Merge #19347 : [net] Make cs_inventory nonrecursive
...
e8a2822119233ade0de84f791a9e92918a3d6896 [net] Don't try to take cs_inventory before deleting CNode (John Newbery)
3556227ddd3365cfac43b307204d73058b2943f0 [net] Make cs_inventory a non-recursive mutex (John Newbery)
344e831de54f7b864f03a90f6cb19692eafcd463 [net processing] Remove PushBlockInventory and PushBlockHash (John Newbery)
Pull request description:
- Remove PushBlockInventory() and PushBlockHash(). These are one-line functions that can easy be inlined into the calling code. Doing so also allows us to eliminate the one place that cs_inventory is recursively locked.
- Make cs_inventory a nonrecursive mutex
- Remove a redundant TRY_LOCK of cs_inventory when deleting CNode.
ACKs for top commit:
sipa:
utACK e8a2822119233ade0de84f791a9e92918a3d6896
MarcoFalke:
ACK e8a2822119233ade0de84f791a9e92918a3d6896 🍬
hebasto:
re-ACK e8a2822119233ade0de84f791a9e92918a3d6896
Tree-SHA512: dbc721d102cdef7b5827a8f2549daf8b54f543050266999a7ea56c9f36618565b71e31ce0beb1209ba2db43d15388be173355a03fb6db8ad24e2475b145050bd
2020-07-08 21:57:25 +02:00
..
2020-06-17 14:12:41 -04:00
2020-05-20 08:27:07 -04:00
2020-05-26 16:05:51 +02:00
2020-01-28 17:00:01 +01:00
2020-06-29 11:31:17 +08:00
2020-06-27 11:49:28 -04:00
2020-07-03 20:43:55 -07:00
2020-01-28 16:59:07 +01:00
2020-04-30 18:02:04 +08:00
2020-07-06 08:06:40 -04:00
2020-06-28 14:20:00 -04:00
2020-05-20 07:30:29 -04:00
2020-07-03 20:43:55 -07:00
2020-07-07 11:20:34 -07:00
2020-07-01 17:24:46 -04:00
2020-06-09 13:39:09 -07:00
2020-05-29 17:22:07 -04:00
2020-07-07 11:20:34 -07:00
2020-02-09 07:44:29 -08:00
2020-07-04 08:44:45 -04:00
2020-07-05 18:06:00 -04:00
2020-04-16 13:33:09 -04:00
2020-05-28 13:26:18 -04:00
2019-12-30 10:42:20 +13:00
2020-07-03 20:43:55 -07:00
2020-05-06 14:59:28 +02:00
2020-03-04 14:24:19 +01:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-07-03 20:43:55 -07:00
2020-07-03 20:43:55 -07:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-10-16 08:56:57 -07:00
2019-09-05 13:25:11 +12:00
2020-06-02 08:50:51 +02:00
2020-04-16 13:33:09 -04:00
2020-05-25 12:36:48 -04:00
2020-06-27 11:49:28 -04:00
2020-05-28 09:55:39 +03:00
2020-05-28 09:55:39 +03:00
2020-04-20 14:57:48 +00:00
2020-05-26 17:27:15 -04:00
2020-06-21 06:41:55 -04:00
2020-05-20 07:30:29 -04:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2020-06-15 18:22:52 +09:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-04-03 16:29:26 +02:00
2020-04-16 13:33:09 -04:00
2020-05-04 19:53:58 +03:00
2020-05-03 18:42:14 +00:00
2020-05-06 13:15:28 +02:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-05-22 01:40:31 +09:00
2020-06-28 14:20:00 -04:00
2020-04-08 14:45:27 +00:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-05-01 07:39:00 -04:00
2020-05-20 07:30:29 -04:00
2020-06-16 15:15:46 -04:00
2019-12-30 10:42:20 +13:00
2020-05-21 06:53:39 -04:00
2020-05-13 16:20:13 -04:00
2020-06-27 11:49:28 -04:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-07-07 11:20:34 -07:00
2020-05-13 16:20:13 -04:00
2019-12-30 10:42:20 +13:00
2020-06-10 18:29:33 -07:00
2019-12-30 10:42:20 +13:00
2020-06-07 17:03:49 +02:00
2020-05-28 09:54:24 +03:00
2020-06-27 11:49:35 -04:00
2020-04-29 00:31:41 -07:00
2020-01-28 17:01:48 +01:00
2020-05-12 18:03:39 +03:00
2020-04-01 12:49:15 +02:00
2020-06-29 05:48:44 +01:00
2019-11-21 21:13:08 +01:00
2020-04-05 01:01:13 +02:00
2020-04-05 10:46:24 +08:00
2020-06-29 09:45:56 -04:00
2020-04-16 13:33:09 -04:00
2020-03-30 16:09:51 -07:00
2020-03-30 16:09:51 -07:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-06-09 15:39:44 +02:00
2020-07-03 20:43:55 -07:00
2020-07-08 21:57:25 +02:00
2020-07-03 20:43:55 -07:00
2019-10-29 11:30:12 +02:00
2020-07-08 21:57:25 +02:00
2020-06-23 08:46:05 -04:00
2020-05-06 14:59:28 +02:00
2020-07-03 20:43:55 -07:00
2020-06-06 17:19:52 +03:00
2020-01-08 12:35:59 +00:00
2020-05-11 00:20:57 +02:00
2020-06-27 11:49:28 -04:00
2020-05-05 04:45:59 +03:00
2019-12-30 10:42:20 +13:00
2020-07-01 18:03:12 -04:00
2020-07-01 18:02:38 -04:00
2020-04-30 18:02:03 +08:00
2020-06-04 17:16:49 +02:00
2020-05-31 18:20:17 -04:00
2020-06-24 16:32:19 -04:00
2020-06-24 16:32:19 -04:00
2019-12-30 10:42:20 +13:00
2020-06-10 17:35:43 +03:00
2020-05-15 08:58:49 -04:00
2020-04-30 09:19:14 -04:00
2020-04-16 13:33:09 -04:00
2019-11-12 14:50:44 -08:00
2020-06-24 18:41:45 +02:00
2020-06-21 06:02:59 -04:00
2020-06-21 06:02:59 -04:00
2020-05-24 10:35:00 -07:00
2020-06-26 13:49:52 -07:00
2019-12-30 10:42:20 +13:00
2020-05-28 09:55:04 +03:00
2020-06-11 15:49:39 +03:00
2019-12-30 10:42:20 +13:00
2020-06-11 15:49:39 +03:00
2020-06-27 11:49:28 -04:00
2019-12-06 10:02:08 +01:00
2020-01-08 12:35:59 +00:00
2019-12-30 10:42:20 +13:00
2020-06-27 11:49:28 -04:00
2020-01-15 02:18:00 +07:00
2020-05-15 09:23:55 -04:00
2020-05-25 11:27:07 -07:00
2020-01-23 16:35:08 -05:00
2020-01-23 16:35:08 -05:00
2020-04-16 13:33:09 -04:00
2020-07-04 08:44:45 -04:00
2020-06-29 20:28:47 -04:00
2020-05-22 16:30:07 -04:00
2020-05-22 16:30:07 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-06-10 15:01:20 +03:00
2020-06-10 15:01:20 +03:00