[bitcoin/bitcoin] [zmq] pub/sub is not reliable at all (#12754)

Looks like they’re starting to sort it out in the ZMQ repo:

https://github.com/zeromq/libzmq/commit/0867c380326829dc7e48e12d46b977bffad207c4
https://github.com/zeromq/libzmq/commit/79d5ac3deeb944c9fd8a7a7a20a8b973d119fa5e
https://github.com/zeromq/libzmq/commit/cdf556610812c172a15c53da063ffd5684c5d995

We should probably await a fresh release / sufficient tests, but can begin on the implementation with 4.2.0 (using `zmq_setsockopt` and `ZMQ_HEARTBEAT_IVL`/`TIMEOUT`/`TTL`. I’ll take a crack at it this week.

http://api.zeromq.org/4-2:zmq-setsockopt#toc17

Добавить комментарий