Repository navigation
Zally 0.2.1
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_utxosnow retries a source that answersServiceNotReadyand 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_policyandWallet::set_transparent_utxo_refresh_retry_policyread 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_utxosfailure exceptCircuitBrokenis nowTransparentUtxoRefreshIncomplete. A caller that matched a bareWalletError::ChainSource(..)from this method should match on itssourceinstead.WalletErroris#[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.