2

I'm running a full node,

bitcoind .. -zmqpubhashblock=tcp://0.0.0.0:3001 -zmqpubrawtx=tcp://0.0.0.0:3001

rawtx events work great, but not getting any hashblock ones. Node is fully synced, I can see new blocks received in bitcoind output, but it's not announced over zmq. I consume zmq as fast as possible, so I don't understand why I'm not seeing the hashblock events.

3
  • Are you certain that your client is subscribed to receive hashblock?
    – Ava Chow
    May 25, 2023 at 0:45
  • Maybe the same endpoint is causing conflicts in receiving events? Using separate ports for hashblock and rawtx events might help.
    – deyw
    May 25, 2023 at 7:17
  • 1
    No idea why, but adding this solved the problem: -zmqpubrawtxhwm=50000
    – Eva4684
    May 25, 2023 at 19:59

0

Your Answer

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

Browse other questions tagged or ask your own question.