What is the use case of ZeroMQ implementation for bitcoind which will be merged into Bitcoin Core v0.12.0?

Block and Transaction Broadcasting With ZeroMQ https://github.com/bitcoin/bitcoin/blob/master/doc/zmq.md

1 Answer 1


ZeroMQ is a publisher / subscriber messaging system. In the case of Bitcoin Core it is a socket which other applications can connect to and get notifications of new events in real time, without having to repeatedly ask the daemon if there are any new events. ZMQ support is useful for any systems interfacing with the network like miners and wallets, which can choose to subscribe either to just transaction notifications or block notifications as their situation requires. It covers a lot of the same use area as the prexisting walletnotify and blocknotify systems, but with significantly improved performance and ease of configuration. These older systems have the unfortunate side effect of spawning a new process for every notification, which tends to incapacitate the host if not used extremely carefully.

  • 2
    It currently (upcoming 0.12 release) does not support walletnotify-likes notifications. Only notifications for new blocks or transactions. Oct 4, 2015 at 19:27
  • @JonasSchnelli I'll re-write that to be clearer, I meant you can emulate walletnotify by simply subscribing to all transactions and doing your own IsMine()-style filtering externally.
    – Claris
    Oct 4, 2015 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.