← All insights
RELEASEZcash Foundation

Zebra Ándale: a mining-performance 7.1.0 alpha

The Zcash Foundation released Zebra 7.1.0-alpha.0, which speeds up template generation, block acceptance and propagation based on miner feedback heard at Zcon7.

The Zcash Foundation said that at Zcon7 miners told them Zebra takes too long to turn new transactions into work, accept a solved block and announce it to the network. Node operators said initial sync is long and uses a lot of memory. In response, it released 7.1.0-alpha.0, codenamed Zebra Ándale, as a performance release.

Zebra 7.0.0 handled verified-transaction checks and block template regeneration with 5-second timers each, and proof batches waited 100 milliseconds. In Ándale, a verified transaction wakes the mempool immediately and the template is rebuilt on every change (about once per second during a flood), and a proof batch starts after 5ms with no new input. Validation rules were not relaxed.

When a solved block comes back that matches a proposal the pool already validated, repeated validation is skipped and only the proof of work, time, size and parent are checked. The node replies that it has accepted the block and informs its peers before finishing the disk write. Compact block propagation is also supported, so a 2MB block can shrink to about 20KB, and Sapling validation is spread across more cores.

In the team's own benchmarks, accepting a pre-validated mixed block took 17ms, which is 9.6 times faster than Zebra 7.0.0's 164ms and 3 to 4 times faster than Zakura v1.7.0's 65ms. The time for a 1.9MB transaction flood to be reflected in the template fell from over 8 minutes in 7.0.0 to about 4.1 seconds. Full validation became 2.6 times faster and peak memory dropped by a third.

The post asks for testing on real mining infrastructure. It said that if people run it alongside 7.0.0, watch the metrics and report back, the results will be used to decide what goes into the official 7.1.0 and what to fix first. All the figures come mostly from the team's own benchmarks, and a public dashboard (alpha.zfnd.org) shows per-block mainnet comparisons.

This summary is based on the original; check the original for exact details.