Our block notify pipeline and long polling
By PointSixMiner · PointSixPool team · 24 Nov 2026
When a new Zcash block appears, every miner must switch to new work as fast as possible. Work on the old block can no longer win, so every second of delay is wasted hashrate. This guide describes how PointSixPool gets from a new block on the network to fresh jobs on your miner.
1. Our own node. The pool runs its own Zcash Foundation Zebra full node. It validates every block itself and builds the block templates the pool mines on, so we do not rely on a third-party node.
2. Long polling at the node. A small notifier service keeps one getblocktemplate request open against Zebra using long polling. Zebra holds that request and answers it the moment the template changes, which happens when a new block arrives. The notifier then immediately opens the next long poll. Nothing repeatedly asks "is there a new block yet?", so there is no polling delay and no wasted load.
3. Fan-out by notification. As soon as the long poll returns, the notifier publishes a new-block notification over ZMQ (explained in a separate guide). All four mining engines, for PPLNS, PPS+, SOLO and MICRO, are subscribed. Each one fetches a fresh template and broadcasts a clean job to every connected miner, telling them to drop the old work.
4. Measured speed. On our live pool, the median time from a new block to fresh jobs is about 64 milliseconds through this notification path. The same switch through timed polling alone took about 856 milliseconds. Over a typical hour, close to every block (for example 126 of 128) arrived through the notification path.
5. Layered fallbacks. If a notification were ever missed, each engine also checks the template every second and refreshes jobs every 30 seconds. A dropped notification therefore costs at most about a second, never a whole block.
6. Why it matters for you. Faster switching means fewer stale shares and less hashrate spent on blocks that are already gone. With blocks every 25 seconds or so, even a one-second delay is about 4 percent of every block interval. The effect is largest in SOLO, where a whole block reward rides on a single lucky solution.
7. Watching it live. The Block notify gauge on the pool and status pages shows how long ago the last new block arrived and which path delivered it. The miner illustration animates jobs travelling from the pool to the miner on each new tip. The same data is published in the pool API.
8. Health checks. A watchdog probes every mining port every minute. The public status only shows the pool as open while the node is in sync with the network, all ports serve jobs and payouts are healthy.
This pipeline replaced plain polling during our recent Zebra upgrade, following the Zebra mining-pool guidance.