Skip to content

Zally 0.2.1

Choose a tag to compare

@gustavovalverde gustavovalverde released this 14 Nov 11:06
· 6 commits to main since this release
v0.2.1
04be67e

Zally 0.2.1 keeps the transparent UTXO refresh working through brief Zinder readiness gaps and epoch rotations. Consumers pin it as a Git dependency with tag = "v0.2.1"; the crates are not published to crates.io.

Changes

  • Refresh retries within one walk. Wallet::refresh_transparent_utxos now retries a source that answers ServiceNotReady and a lost chain epoch pin under its own retry policy: 8 attempts, with backoff from 250 milliseconds doubling to 8 seconds by default. Each retry re-pins the epoch and the scanned frontier and resumes at the receiver that failed, so a source that rotates its epoch during a long walk no longer forces the walk to start over. Wallet::transparent_utxo_refresh_retry_policy and Wallet::set_transparent_utxo_refresh_retry_policy read and replace the policy (#28).
  • Typed incomplete refresh. A walk that still stops early returns the new WalletError::TransparentUtxoRefreshIncomplete. It reports the receivers refreshed, the receivers in the walk, the attempts spent, and the failure that ended the walk, and inherits that failure's posture (#28).

Upgrade notes

  • Refresh errors arrive wrapped. Every refresh_transparent_utxos failure except CircuitBroken is now TransparentUtxoRefreshIncomplete. A caller that matched a bare WalletError::ChainSource(..) from this method should match on its source instead. WalletError is #[non_exhaustive], so existing builds still compile.
  • Driver timeout bounds the retries. SyncDriverOptions::transparent_utxo_refresh_timeout_seconds (120 by default) bounds each refresh call, retries included.
  • Version requirements. Every Zally crate is now 0.2.1, so move every Zally Git pin to tag = "v0.2.1" together. No Zinder server change is required.

Known issue

cargo deny reports RUSTSEC-2026-0459 (bundled SQLite in libsqlite3-sys 0.35). It is pinned by zcash_client_sqlite 0.23's rusqlite 0.37, which has no patched release.