Page MenuHomePhabricator

[backport#17445] zmq: Fix due to invalid argument and multiple notifiers
ClosedPublic

Authored by majcosta on Sep 3 2020, 19:15.

Details

Summary

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.

Depends on D7341

Backport of Core PR17445

Test Plan
ninja
./test/functional/test_runner.py interface_zmq

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

majcosta requested review of this revision.Sep 3 2020, 19:15

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 3 2020, 21:30