aboutsummaryrefslogtreecommitdiffstats
path: root/tools/topic-depth-test.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-23 07:59:40 -0700
committerAdam Soltys <[email protected]>2026-10-23 07:59:40 -0700
commit6c3b49a559c90954bf5ae6dbfada73ec5b3409cc (patch)
treef0b6acf7e2ddbf22be00002b9c0b86e23c3f64a3 /tools/topic-depth-test.js
parentb3cee21d7f6614c4ec0cf462ba4cfe3a3d4e308c (diff)
downloadcoinosv3-6c3b49a559c90954bf5ae6dbfada73ec5b3409cc.tar.gz
coinosv3-6c3b49a559c90954bf5ae6dbfada73ec5b3409cc.zip
Deep coins are renewed under every tier, free of the base fee, before the server's depth cap strands them
A coin's exit depth grows by one per off-chain hop; the server refuses to cosign a spend of a coin at max_vtxo_exit_depth (100), so a wallet paying hourly from one change chain has an unspendable coin within days. Survey of the ASP's 2,279 unspent coins: median depth 7, 154 coins past 40 holding 7.7k sats, five already stuck at the cap. The server now waives the refresh base fee when every input is at its deep_waiver_depth (60; ArkInfo.fees.refresh carries it). The client mirrors that in refreshFee, never selects a capped coin as an input (the shortfall message says why), and flattens deep coins whatever the custody tier: the open app in a round of their own, the worker with a standing order two blocks out per coin. The default tier's copy names the one exception. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'tools/topic-depth-test.js')
0 files changed, 0 insertions, 0 deletions