bitcoin/src/zmq
Wladimir J. van der Laan 295211e668
Merge #17445: zmq: Fix due to invalid argument and multiple notifiers
3e730bf90a zmq: Fix due to invalid argument and multiple notifiers (João Barbosa)

Pull request description:

  ZMQ initialization is interrupted if any notifier fails, and in that case all notifiers are destroyed. The notifier shutdown assumes that the initialization had occurred. This is not valid when there are multiple notifiers and any except the last fails to initialize.

  Can be tested by running test/functional/interface_zmq.py from this branch with bitcoind from master.

  Closes #17185.

ACKs for top commit:
  laanwj:
    Code review ACK 3e730bf90a, thanks for adding a test

Tree-SHA512: 5da710e97dcbaa94896d019e75162d470f6d381ee07c60e5b3e9db93d11e8f7ca9bf2c509efa4486199e88c96c3e720cc96b4e35b62725d4c7db8e8e9bf6e09d
2020-01-08 15:20:34 +01:00
..
zmqabstractnotifier.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
zmqabstractnotifier.h ZMQ: add options to configure outbound message high water mark, aka SNDHWM 2018-10-19 07:36:13 -04:00
zmqconfig.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
zmqnotificationinterface.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
zmqnotificationinterface.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
zmqpublishnotifier.cpp Merge #17445: zmq: Fix due to invalid argument and multiple notifiers 2020-01-08 15:20:34 +01:00
zmqpublishnotifier.h ZMQ: add options to configure outbound message high water mark, aka SNDHWM 2018-10-19 07:36:13 -04:00
zmqrpc.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
zmqrpc.h RPC: Add new getzmqnotifications method. 2018-07-05 08:02:22 +02:00