aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-04 09:28:36 -0700
committerAdam Soltys <[email protected]>2026-08-04 09:28:36 -0700
commite462bc1e7756dcbf7c651ee282e96ee8c48b5a14 (patch)
treebdb0a8276fffc8cce54adfb978ea6d22cec290b8 /src/app.js
parent9fd8887dcdd5e0fc1067a91032bfd18eb25f0202 (diff)
downloadcoinosv3-e462bc1e7756dcbf7c651ee282e96ee8c48b5a14.tar.gz
coinosv3-e462bc1e7756dcbf7c651ee282e96ee8c48b5a14.zip
A wallet too small to renew warns before its coins expire; dust never dies
The warning: when the Spending balance minus round fee is under the 330-sat round minimum AND a vtxo enters the renewal window, auto-refresh can't save the coins — a wallet-screen notice (and a daily local notification, when permitted) says to receive any amount or spend before the deadline. New walletNotices feature hook renders under the balance card. The amnesty: sub-dust vtxos have no unilateral exit to protect, and regtest proves captaind keeps cosigning their spends past expiryHeight — even after the watchman claims the backing on-chain (tools/ark/expired-dust-test.js). Only hal's own receive validation stood in the way; it now exempts sub-330 vtxos from the expiry check. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015QwAtBSpKvECqp1rHLHjJk
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index cfd2f49..e68fc52 100644
--- a/src/app.js
+++ b/src/app.js
@@ -2447,6 +2447,7 @@ function walletScreen() {
brandHeader(true),
h('div', { class: 'mt16' }, balanceCard()),
ui.offlineFallback && wallet.offline ? offlineBanner() : null,
+ ...featureAll('walletNotices'),
tabsBar(),
pane,
ui.tour != null ? tourOverlay() : null