Repository navigation
wavelength v0.1.2
Wavelength v0.1.2
A payment does not end when its request times out, and a wallet's work does not end when its process stops. This release fixes cases where interrupted transfers, failed rounds, or incomplete recovery left funds missing from a wallet's view or waiting on work that never resumed. It also gives applications narrower access to the wallet, improves fee previews and activity history, and puts the wallet RPCs into the release binaries.
These notes cover the changes from v0.1.1 to v0.1.2, across all five release candidates. If you already run v0.1.2-rc5, the final release only removes the prerelease suffix. For upgrades from v0.1.1, read Upgrading: this release includes database migrations and changes the default VTXO listing.
wavelength-v0.1.2-elevenlabs.mp4
Recovery finds funds and resumes unfinished work
Seed recovery now scans both the ordinary VTXO-owner keys and the receive keys used for out-of-round (OOR) transfers. Previously, funds received through OOR and later settled into a round could disappear from the restored wallet's balance. Recovery also reconstructs their spending scripts with the correct exit delay, so the recovered outputs can participate in rounds again. (#1218)
Rounds now start their reconciliation timers for every saved checkpoint, including boarding-only rounds. When a round dies, the daemon retires it and releases its deposits for another attempt instead of leaving them reserved indefinitely. (#1052)
Unilateral exits recover from more interrupted states: restored jobs resume after re-admission, staged work is reissued after routing errors, and confirmation subscriptions retry failed setup. A confirmed transaction can supersede a pending failure. Missing fee estimates defer a sweep rather than forcing an unsafe estimate. Legacy commitment heights are repaired where possible; when exact ancestry heights are unavailable, proof scans use conservative network-specific starting heights. (#1222, #1243, #1248, #1266, #1269, #1276)
Retries keep the original operation's identity
An OOR send's idempotency key is now durably bound to its session and canonical recipient request. Retrying the same request finds the original operation; changing the request under the same key is rejected. A terminal failure does not free the key for another send. Retryable operator rejections also retain their reason across restarts, making a pending transfer's delay visible. (#1109, #1199)
Receive-script allocation gains the same retry contract. NewReceiveScript accepts an idempotency_key, and wavecli ark oor receive exposes --idempotency-key. An exact retry reuses the allocation instead of deriving another key. Expired indexer registrations can be renewed without changing the owned script. (#1151)
Mailbox delivery now validates returned cursors, records receipts for tagged event occurrences, and retains messages that cannot be decoded in bounded quarantine for recovery. Capacity deferrals no longer consume a message's failure attempts; actual transaction failures still have a retry ceiling. Durable outbound RPC sends also have deadlines. (#1122, #1172, #1240, #1281, #1282)
Refresh and swaps account for the time they need
Automatic refresh now reserves lifetime for Lightning payments as well as for exit safety. Swap-enabled builds default maxpaymentcltv to 300 blocks. This is a readiness target, not permission to bypass the payment's actual expiry checks. Refresh waits for the round subsystem to become ready and derives fresh signing keys for renewed outputs. (#1238, #1257, #1262)
A critical VTXO no longer automatically chooses an exit that the backing wallet cannot fund. The daemon assesses the exit package and keeps cooperative refresh available when unilateral recovery is infeasible. It also refuses duplicate forfeit commitments and prevents conflicting leave or exit actions once a forfeit signature has been sent. (#1113, #1215)
Swap contract timing is checked at admission, funding, claim, and resume boundaries. Already-funded legacy receives retain their cooperative claim path. Credit receives now follow the server's invoice lifecycle instead of becoming locally failed after an arbitrary poll count, while credit redemption and receive planning use the operator's live minimum VTXO amount. (#1168, #1196, #1228)
The operator can also advertise separate confirmation depths for boarding-input maturity and new VTXO availability. Raising the first no longer has to delay the second. Older operators retain the previous behavior through a fallback to min_confirmations. (#1199)
Validate the spending path before signing
VTXO tree validation now rejects shared children, unreachable nodes, incorrect parent outpoints, and transactions that do not conserve the value supplied by their parent. Incoming OOR checkpoint witnesses are checked before acceptance. Custom Ark policies reject malformed predicate fragments, OP_SUCCESSx opcodes, and noncanonical relative timelocks that could undermine the intended spending conditions. (#1111, #1144, #1236, #1249)
Give applications only the wallet access they need
wavecli bakemacaroon creates credentials scoped to permission pairs or individual RPC methods, with optional expiry. An application can receive a payment credential without receiving wallet-signing, recovery, or administrative powers. Credential creation stays on the authenticated local listener. See the provisioning examples. (#1227)
For deployments sharing an LND node, --lnd.account confines the daemon's spending, change, address derivation, and signing to a selected account. It does not restrict what the daemon can observe. Outbound mailbox RPCs and swap credit-account requests also gain explicit signed authorization. (#1103, #1136, #1140)
Activity and fee previews tell a clearer story
On-chain send previews quote fees for every selected VTXO and reject uneconomic sends. Internal OOR claim transfers no longer appear as separate user payments, and stale internal activity rows are removed without altering the accounting ledger. Late activity transitions use their observation time. (#1161, #1279, #1280)
Ledger idempotency keys now distinguish operations and accounting legs, preventing unrelated entries for the same outpoint from suppressing one another. Legacy exit reconciliation preserves prior refresh fees and recovers completion heights where the evidence supports it. (#1263)
ark vtxos list now shows the unconsumed inventory by default, including outputs that are not currently spendable. Repeated --status flags select several states; --all includes historical and pending-round entries. A failure to load one output's checkpoint package no longer hides that output from the listing. (#1299)
Embedded wallets and release binaries
The SDK and mobile bindings add StartExternalSeedWallet for hosts that manage their own seed derivation. It accepts exactly 16 bytes of derived aezeed entropy, supports identity pinning when reopening a wallet, and returns only after wallet-dependent services are ready. Existing startup APIs remain available. (#1158)
Mobile receive and balance operations now bound external I/O. A cancelled receive reports an uncertain outcome so the host can reconcile activity before retrying. The WebAssembly runtime also supports a Node host with filesystem-backed SQLite, alongside browser storage. (#1131, #1064)
Release binaries now include the wavewalletrpc and swapruntime build tags. Docker release builds isolate their Go caches from the host. Android, Apple-platform, and WebAssembly bindings remain available as release assets. (#1203, #1156)
Taproot Assets groundwork
This release adds asset-aware VTXO tree construction, caller-funded batch anchors, durable proof context, and client-side asset request validation and signing. This is groundwork for asset support; it does not add a complete end-user asset wallet. (#1176, #1177, #1178, #1245, #1246, #1247)
Quieter, bounded operation
Standalone log files rotate instead of growing indefinitely. SQLite migration backups are pruned only after both application and actor-delivery migrations succeed. Recoverable retries and shutdown races produce less alert-level noise, and the logging system stops retrying dead subscribers. (#1198, #1208, #1210, #1253, #1254)
Upgrading
- Back up before starting the new daemon. The application schema advances from 16 to 19, and the actor-delivery schema from 1 to 3. Startup applies the migrations unless migration skipping is configured. Keep a separate pre-upgrade backup; do not assume an older binary can open the migrated database.
- Filter explicitly when you need live VTXOs. Use
wavecli ark vtxos list --status live. The unfiltered inventory excludes forfeited and spent outputs, but includes other non-spendable states; pending-round projections require an explicit request or--all. RPC callers can use the new repeatedstatusesfield; the existingstatus_filterremains supported. - Check mainnet endpoint overrides. Mainnet defaults now select the public Ark and swap gRPC services instead of localhost, and the mainnet mempool endpoint changes. Deployments using private or local services should set their addresses explicitly. Do not assume the mainnet REST defaults are reachable. (#1142, #1166)
- Review automatic refresh policy. Swap-enabled builds reserve 300 blocks for payment CLTV by default. Set
maxpaymentcltv=0to disable that extra reserve, not the ordinary exit-safety policy. Existing automatic-refresh fee caps still apply. - Treat timeout as uncertainty, not proof of failure. Mobile hosts should inspect activity after a cancelled receive. OOR callers should reuse their original idempotency key for retries. Pre-migration OOR replay records may return the original session without recipient outpoints; they do not start another send. Receive-script keys share a daemon-wide namespace, so applications sharing a daemon should prefix their keys.
- Check custom integrations. Custom Ark policies must satisfy the stricter script validation. A non-default LND account must already exist and be Taproot-scoped. A credential that can bake macaroons remains an administrative credential, even if its other permissions are narrow.
Verifying the release
Use the repository's verification helper to check the signatures and the downloaded binary or archive:
./scripts/verify-install.sh v0.1.2 <path>The binaries are built with Go 1.26.0. Linux users can reproduce the release archives with:
make release tag=v0.1.2On macOS and other BSD platforms, use the pinned Docker builder:
make docker-release tag=v0.1.2Allow at least 5 GB of free Docker storage for temporary caches. See the reproducible build guide for the complete signing and verification process.
Contributors
Thanks to everyone represented in this release's commits, co-author credits, and merged pull requests:
Automated documentation and backport contributions came from @litbot-9000 (including the lightninglabs-deploy commit identity), wavelength-doc-bot, and @github-actions[bot].
Full changelog: v0.1.1 → v0.1.2
The comparison includes original commits and release-branch backports. The notes above describe the resulting changes, without counting a patch twice.