<p>No, it is not possible to catch up via ZMQ itself. A sequence number is present with each notification so you can detect when you've missed notifications. In those cases, then you can fetch the missing blocks and transactions over the RPC interface.</p>

CC BY-SA 4.0
2019-11-14T21:44:23.743Z
2019-11-14T21:44:23.743Z
Ava Chow
<p>I use zeroMQ to get all new blocks (rawblock or hashblock). If my script is down for few minutes or hours and I missed few blocks, is it possible to catch up all missed blocks with zeroMQ when I restart the script ?
During this time, bitcoin-core is always running.</p>

<bitcoin-core><zeromq>
Is it possible to catch up missing blocks with zeroMQ if script was down for a while?
jfjobidon
# Is it possible to catch up missing blocks with zeroMQ if script was down for a while?

(Asked by: username_0 on 2019-11-14)

I use zeroMQ to get all new blocks (rawblock or hashblock). If my script is down for few minutes or hours and I missed few blocks, is it possible to catch up all missed blocks with zeroMQ when I restart the script ?
During this time, bitcoin-core is always running.

**Tags:** bitcoin-core, zeromq


---

## 1 answers

### Answer by username_1 on 2019-11-14. Score: 1 | Accepted answer

No, it is not possible to catch up via ZMQ itself. A sequence number is present with each notification so you can detect when you've missed notifications. In those cases, then you can fetch the missing blocks and transactions over the RPC interface.


---

