← All insights
RELEASEZodl

ZODL Slipstream, a faster sync engine

Zodl's new sync engine, Slipstream, greatly cuts the time to restore a wallet and catch up to the latest blocks. It has applied to all Zodl users since 3.9.0.

Zodl released a new sync engine, ZODL Slipstream, with the 3.9.0 release. The Ironwood migration tool drew the attention in that release, but this engine, shipped the same day, aims to greatly reduce wallet wait times. It applies to all Zodl users from 3.9.0, and in its own testing Slipstream v0.1.1 greatly sped up restore and sync on a variety of consumer devices.

A sync engine is the software inside a wallet that downloads blockchain data, scans it to find your transactions, and keeps the wallet up to date. Unlike a transparent chain, Zcash shielded transactions do not reveal whose funds they are, so a wallet has to scan the chain itself and privately find the transactions tied to its keys, and this scan is the source of the slowness. Slipstream shortens the waits during restore, catching up to the latest blocks, and moving funds to Ironwood.

The performance figures are controlled benchmark results. On an iPhone 16 Pro, restoring a wallet took close to 17 minutes with the previous SDK but finished in 43 seconds with Slipstream, and on a 2018 iPad the same task, which took over an hour, dropped to under 5 minutes. It does not rewrite wallet cryptography and uses the Zcash ecosystem's open-source Rust libraries as they are, and every optimization is verified against the reference implementation so that it produces a byte-for-byte identical wallet database.

Slipstream is open source under AGPL-3.0-only. It explains that it chose AGPL to let developers review and modify the code while keeping improvements from disappearing behind private forks. A commercial license is also offered for organizations with commercial needs that do not fit AGPL, and the details are in the GitHub repository. The author closes by saying that Ironwood is a new shielded pool that is officially verifiable and independently auditable, and that Slipstream is the foundation that improves how it feels to use.

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