Repository navigation
Releases
Zally v0.3.0
Zally uses the Zinder 0.29.0 native WalletQuery SDK. Hosts that construct an
EndpointBackedIndex for ZinderChainSource::from_chain_index or
ZinderSubmitter::from_chain_index must use zinder-client = "=0.29.0".
Align zinder-core to 0.29.0 wherever you exchange its types with Zally.
To connect by URL, use the same endpoint and network with
ZinderChainSource::connect_remote. Use Rust 1.100 or later and a Zinder
endpoint that supports native contract revision 8 or later. Move all Zally
Git dependencies to tag = "v0.3.0" together.
After restarting on a quiet chain, the sync driver can confirm an already
caught-up wallet by checking its stored tip against the chain. Faucet and
other hosts that gate payouts on a fresh sync observation can resume at the
verified tip without waiting for a new block.
SQLite security
The bundled SQLite remains affected by RUSTSEC-2026-0459. A wallet process can
disclose memory when it opens a database and write-ahead log that an
untrusted party could write. Keep both files in a directory writable only
by the wallet operator and avoid opening untrusted copies.
RustSec advisory
The owner approved a one-release exception for Zally v0.3.0 and the locked
libsqlite3-sys 0.35.0. Run python3 scripts/check-dependencies.py from a
full checkout to report the standard result and recheck all policies with
that advisory excepted. The exception expires when the checkout contains
the v0.3.0 tag or a workspace crate changes version.
Zally 0.2.3
Zally now uses the Zinder 0.23.0 native WalletQuery SDK. Use Rust 1.100 or later
and a Zinder endpoint that supports native contract revision 8 or later.
The wallet database schema is unchanged. Move every Zally Git dependency to
tag = "v0.2.3" together.
If your application pins librustzcash crates directly, align
zcash_primitives with 0.31.1 and zcash_transparent with 0.11.1 before
updating the tag.
Hosts using ZinderChainSource::connect_remote can keep their existing
endpoint and network configuration. If your host passes an existing
EndpointBackedIndex to ZinderChainSource::from_chain_index or
ZinderSubmitter::from_chain_index, build the handle with
zinder-client = "=0.23.0". Rust treats a handle from an earlier SDK as a
different type. Align zinder-core to 0.23.0 wherever you exchange its types
with Zally.
The dependency refresh also updates rustix to 1.1.6, which fixes an
uninitialized-memory issue in extended attribute reads.
RustSec advisory
The Regtest lifecycle procedure
covers wallet creation, restore, persisted state across process restarts, and
the same shielding transaction through submission, mining, and scanning.
The public Testnet probe
checks connectivity, wallet synchronization, and settled tree state.
The separate Zspend walkthrough uses its locked Zally v0.2.0 host to follow
one Testnet payment through settlement.
Zspend walkthrough
Bundled SQLite advisory
The wallet still bundles libsqlite3-sys 0.35.0 through the
zcash_client_sqlite 0.23.0 dependency cohort. SQLite can disclose local
process memory when opening a database and its WAL that an untrusted party
could write. Keep wallet databases and WAL files in directories writable only
by the wallet operator and avoid opening untrusted copies. The bundled copy
remains affected. RUSTSEC-2026-0459
For the v0.2.3 release work, run python3 scripts/check-dependencies.py.
It reports the original policy result, then rechecks all dependency policies
with only this advisory excepted for the locked libsqlite3-sys 0.35.0.
The exception is inactive once the full checkout contains the v0.2.3 tag or
any workspace crate changes version. A compatible published release of the
wallet SQLite cohort is needed to remove the exception code.
Upstream coordination
Zally 0.2.2
Zally 0.2.2 stops shielding transparent outputs that a reorg removed, stops reporting sends the node only queued as broadcast, and keeps a caught-up wallet's spendable balance steady while it scans new blocks. Consumers pin it as a Git dependency with tag = "v0.2.2"; the crates are not published to crates.io.
Changes
- Reorged transparent outputs leave the wallet.
Wallet::refresh_transparent_utxosnow reconciles each receiver with its complete unspent set. A recorded output the set omits is retired when it is mined at or below the serving epoch's visible tip, no mined or unexpired transaction spends any output of its transaction, and that transaction carries nothing else of the wallet's. A reorg that replaced the output's block leaves exactly that, even below the wallet's scanned height. Retired outputs leave every balance and proposal, so shieldings stop failing with a missing input; a later walk that sees one again restores it.TransparentUtxoRefreshOutcome::utxos_retiredcounts them, and each is logged aswallet_transparent_utxo_retired(#31). - Queued broadcasts are confirmed. A node that answers a submission as queued for verification has not accepted it and drops it silently if verification fails.
send_payment,shield_transparent_funds, andextract_and_submit_pcztnow submit the same bytes again about once a second until the node answers accepted or duplicate, for at mostWalletOptions::queued_broadcast_confirmation_ms(5 seconds by default) after the first queued answer. A transaction still queued fails the call with the newWalletError::BroadcastUnconfirmed(retryable), and the send's idempotency key stays bound to it (#31). - Steady balance while scanning. Recording a new chain tip before scanning its blocks made
zcash_client_sqlitetreat every note in the tip's commitment-tree shard as lacking a witness, so balances and proposals briefly left those notes out. A caught-up wallet now records the tip in the same storage step as the scan that reaches it (WalletStorage::scan_blocks_to_tip) (#31).
Upgrade notes
- Handle unconfirmed sends. A send that used to return success after a queued answer now returns
WalletError::BroadcastUnconfirmed. Do not pay again under another key: retry the same key, which submits the same transaction, or wait forWalletEvent::PendingBroadcastUnmineable.WalletErroris#[non_exhaustive], so existing builds still compile. - Custom storage backends.
WalletStoragegains the required methodsrecord_transparent_unspent_setandscan_blocks_to_tip.Sqliteimplements both. - No database migration. The wallet database schema is unchanged; 0.2.1 and 0.2.2 open the same
wallet.db. Retiring an output only clears its transaction's mined height, which a later walk restores if the output returns. - Version requirements. Every Zally crate is now 0.2.2, so move every Zally Git pin to
tag = "v0.2.2"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.
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.
Zally 0.2.0
Zally 0.2.0 moves the optional zinder backend to the Zinder 0.10.0 releases, which require a Zinder server at native contract revision 8. Consumers pin it as a Git dependency with tag = "v0.2.0"; the crates are not published to crates.io.
Changes
- Zinder 0.10.0.
zinder-clientandzinder-corenow resolve from their 0.10.0 crates.io releases. They share Zally'szcash_protocol,zcash_address, andzcash_encodingreleases, so the duplicate copies of those crates leave the dependency graph (#26). - Unprovable transaction absence. When a Zinder server cannot prove a transaction absent, because its history starts after genesis or because it gave no typed absence signal,
transaction_statusreturns the newChainSourceError::TransactionAbsenceUnprovablewith therequires_operatorposture. It never reportsNotFoundin that case. Pending-broadcast retirement withholds its unmineable verdict and keeps the idempotency key bound, so only a source with complete history can free the key (#26). - Typed broadcast rejections.
RejectionReasongainsUnsupportedTransactionVersionandExceedsBlockActionLimit, which earlier releases reported asUnknown(#26).
Upgrade notes
- Cut over with your Zinder servers. This release refuses Zinder servers below contract revision 8 with
ContractRevisionUnsupported. Zally 0.1.x fails against a revision 8 server. No upgrade order is safe: stop the wallet runtime, upgradezinder-ingest,zinder-query, andzinder-compat-lightwalletdto v0.10.0 together, then start the wallet on Zally 0.2.0. - New error variant.
ChainSourceError::TransactionAbsenceUnprovableand the two newRejectionReasonvariants are additions to#[non_exhaustive]enums. Callers that act on a specificChainSourceErrorshould treat the new variant as "status unknown", never as absence. - Version requirements. Every Zally crate is now 0.2.0, so move every Zally Git pin to
tag = "v0.2.0"together.
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.
Zally 0.1.1
Zally 0.1.1 moves the optional zinder backend to the Zinder 0.8.0 releases. Consumers pin it as a Git dependency with tag = "v0.1.1"; the crates are not published to crates.io.
Changes
- Zinder 0.8.0 from crates.io.
zinder-clientandzinder-corenow resolve from their 0.8.0 crates.io releases instead of a Git commit, so thezinderfeature no longer needs a Git source in a consumer's dependency policy (#24). - Indexer reads outside retained history. Zinder 0.8.0 reports compact-block range and subtree-root reads outside an indexer's retained history as
ArtifactUnavailableinstead ofServiceUnavailable. Both carry theRetryWithBackoffpolicy, so Zally's sync behaves the same way.
There are no Zally API changes. The upgrade notes from 0.1.0 still apply to wallets moving from earlier revisions.
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.
Zally 0.1.0
First tagged Zally release. Consumers pin it as a Git dependency with tag = "v0.1.0"; the crates are not published to crates.io.
Highlights
- Final NU7 librustzcash releases. Moves to the 2026-10-21 releases:
zcash_client_backend0.25.0,zcash_client_sqlite0.23.0,zcash_primitives0.31.0,zcash_protocol0.11.0, and the rest of that family (#17, #18). - Transactions that can never be mined. Refuses transactions that cannot be mined after NU7. Settles pending broadcasts by chain state and frees their keys (#19).
- Fork-point rewind. Rewinds to the fork point on reorgs, and pays each idempotency key once across wallet rebuilds (#20).
- Sync liveness. The sync driver republishes its snapshot on every polling wakeup, and every wait on the chain source is bounded by
sync_timeout_seconds(#22). - Shielding maturity. Shielding judges coinbase maturity at the lower of the wallet tip and the chain source's tip (#22).
- Zinder 0.7.0. Zinder client crates come from the 0.7.0 release commit on
ZcashFoundation/zinder(#23).
Upgrade notes
- Wallet database. The first open migrates the wallet database one way. Back it up first;
docs/runbooksdescribes the procedure. - Reorg window. Spends are refused while the chain source's reorg window is below
WalletOptions::minimum_source_reorg_window_blocks, which defaults to 1,000 blocks. - API changes. Breaking API changes are listed in #18, #19, #20, and #22.
ShieldTransparentRequestgainssource_tip_height.ChainSourcegainsreorg_window_blocks, andtransaction_statusnow takes aChainEpoch.
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.