fanquake
831b0ecea9
Merge #13686 : ZMQ: Small cleanups in the ZMQ code
...
6fe2ef2acb00b1df7f6a0c0dea1a81a1924be0e1 scripted-diff: Rename SendMessage to SendZmqMessage. (Daniel Kraft)
a3ffb6ebebd753cec294c91cef7c603a30cf217e Replace zmqconfig.h by a simple zmqutil. (Daniel Kraft)
7f2ad1b9acef4ccc1b3e1a9f551416235d95cbfd Use std::unique_ptr for CZMQNotifierFactory. (Daniel Kraft)
b93b9d54569145bfcec6cee10968284fe05fe254 Simplify and fix notifier removal on error. (Daniel Kraft)
e15b1cfc310df739b92bd281112dbeb31d3bb30a Various cleanups in zmqnotificationinterface. (Daniel Kraft)
Pull request description:
This contains various small code cleanups that make the ZMQ code easier to read and maintain (at least in my opinion). The only functional change is that a potential memory leak is fixed that would have occured when a notifier is removed from the `notifiers` list after its callback function returned `false` (which is likely not relevant in practice but still a bug).
ACKs for top commit:
instagibbs:
utACK 6fe2ef2acb00b1df7f6a0c0dea1a81a1924be0e1
hebasto:
re-ACK 6fe2ef2acb00b1df7f6a0c0dea1a81a1924be0e1, only the latest commit got a scripted-diff since my [previous](https://github.com/bitcoin/bitcoin/pull/13686#pullrequestreview-487649808 ) review.
Tree-SHA512: 8206f8713bf3698d7cd4cb235f6657dc1c4dd920f50a8c5f371a559dd17ce5ab6d94d6281165eef860a22fc844a6bb25489ada12c83ebc780efd7ccdc0860f70
2020-09-19 17:13:28 +08:00
..
2020-09-06 18:35:23 -07:00
2020-05-20 08:27:07 -04:00
2020-08-04 13:29:40 -04:00
2020-01-28 17:00:01 +01:00
2020-09-14 16:30:17 +08:00
2020-08-21 12:48:46 +08:00
2020-09-08 21:02:53 -04:00
2020-01-28 16:59:07 +01:00
2020-04-30 18:02:04 +08:00
2020-09-16 06:30:57 +08:00
2020-09-05 11:45:16 +02:00
2020-07-30 13:44:54 -07:00
2020-09-19 16:28:04 +08:00
2020-09-19 15:04:03 +08:00
2020-08-25 20:18:40 +08:00
2020-09-11 12:44:08 -07:00
2020-08-20 17:55:06 +00:00
2020-09-10 14:54:30 +00:00
2020-02-09 07:44:29 -08:00
2020-08-31 13:07:24 +08:00
2020-09-18 12:03:55 +12:00
2020-09-15 09:38:56 +02:00
2020-07-06 03:52:37 +02:00
2020-06-22 12:12:22 +02:00
2020-07-03 20:43:55 -07:00
2020-08-12 09:22:07 +01:00
2020-08-12 09:22:07 +01:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-07-08 21:44:45 +08:00
2020-07-03 20:43:55 -07:00
2020-08-28 16:50:57 +02:00
2020-08-28 16:50:57 +02:00
2019-10-16 08:56:57 -07:00
2020-09-15 15:01:50 +08:00
2020-08-14 08:44:42 +12:00
2020-07-29 16:39:00 +07:00
2020-08-27 14:33:00 -04:00
2020-05-28 09:55:39 +03:00
2020-05-28 09:55:39 +03:00
2020-07-30 13:57:54 -07: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-08-27 20:07:27 -04:00
2020-08-12 10:01:44 +08:00
2020-08-20 18:20:27 +00:00
2020-07-29 16:39:00 +07:00
2020-07-29 16:36:44 +07: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-07-01 14:44:28 -04:00
2020-07-01 14:44:28 -04:00
2020-08-20 17:55:06 +00: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-09-04 10:25:44 +01:00
2020-04-08 14:45:27 +00:00
2019-12-30 10:42:20 +13:00
2020-07-08 14:26:14 +03:00
2020-09-01 09:26:28 +08: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-08-06 16:28:26 -07:00
2020-08-06 16:28:26 -07: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-09-15 15:46:08 +02:00
2020-08-27 14:33:00 -04:00
2019-12-30 10:42:20 +13:00
2020-08-18 18:03:57 +00: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-09-19 17:13:28 +08:00
2020-09-14 16:35:09 +08: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-09-14 16:35:09 +08:00
2020-09-14 16:35:09 +08:00
2020-04-05 01:01:13 +02:00
2020-04-05 10:46:24 +08:00
2020-09-14 16:35:09 +08:00
2020-04-16 13:33:09 -04:00
2020-07-30 13:57:54 -07:00
2020-03-30 16:09:51 -07:00
2020-06-15 08:08:19 -04:00
2020-09-04 09:46:44 -07:00
2020-07-30 14:38:50 +03:00
2020-07-30 14:38:50 +03:00
2020-09-16 06:30:57 +08:00
2020-09-08 07:55:11 +02:00
2019-10-29 11:30:12 +02:00
2020-09-03 17:20:47 +02:00
2020-09-02 17:18:22 -07:00
2020-08-28 17:51:37 +02:00
2020-08-24 21:50:59 +02:00
2020-08-24 21:50:59 +02: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-09-06 02:29:30 +02:00
2020-09-03 17:23:52 +02:00
2020-06-24 16:32:19 -04:00
2020-06-24 16:32:19 -04:00
2020-08-18 18:03:56 +00:00
2020-07-30 13:57:54 -07:00
2020-08-10 21:30:42 +08: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-09-05 16:24:56 +02:00
2020-06-21 06:02:59 -04:00
2020-06-21 06:02:59 -04:00
2020-06-22 12:12:22 +02:00
2020-07-30 13:57:09 -07:00
2020-07-26 22:46:28 +03:00
2020-08-29 20:46:47 +03:00
2020-08-29 20:46:47 +03:00
2019-12-30 10:42:20 +13:00
2020-08-18 10:46:53 +03:00
2020-06-27 11:49:28 -04:00
2019-12-06 10:02:08 +01:00
2020-08-07 14:55:02 +02:00
2019-12-30 10:42:20 +13:00
2020-07-29 07:53:19 +02:00
2020-07-01 14:44:24 -04:00
2020-09-04 09:46:44 -07:00
2020-09-16 06:30:57 +08:00
2020-08-06 19:41:43 +02:00
2020-07-30 13:57:09 -07:00
2020-04-16 13:33:09 -04:00
2020-09-19 15:04:03 +08:00
2020-09-15 18:01:32 -07:00
2020-05-22 16:30:07 -04:00
2020-05-22 16:30:07 -04:00
2020-07-19 02:10:41 -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
2020-07-29 16:36:44 +07:00
2020-06-10 15:01:20 +03:00
2020-06-10 15:01:20 +03:00