<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coinosv3.git/tools/ark, branch master</title>
<subtitle>coinos v3 — bitcoin, Ark, Lightning and nostr wallet (web + Android)</subtitle>
<id>https://git.coinos.io/coinosv3.git/atom?h=master</id>
<link rel='self' href='https://git.coinos.io/coinosv3.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/'/>
<updated>2026-11-25T15:33:00Z</updated>
<entry>
<title>Ark sends follow server-0.9.0's dust rule, and a renewal checks its new coins before forfeiting for them. "yes go ahead" (Adam, 2026-11-25, on fixing the send code and the refresh check before rehearsing captaind 0.9.0).</title>
<updated>2026-11-25T15:33:00Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-11-25T15:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=b23b02bdaae233f51b543bc60fa38a025e07a743'/>
<id>urn:sha1:b23b02bdaae233f51b543bc60fa38a025e07a743</id>
<content type='text'>
Dust: 0.9.0 (!2822) refuses a cosign whose checkpoint carries an output under 330 sat unless the input itself is dust. Our split, a port of bark ≤0.8's new_isolate_dust, "accepted the mix" in two cases 0.9.0 now isolates: every output dust (100 sent from a 400-sat coin, 300 change), and dust no output can pad (100 from 500, the 400 change isolated whole). isolateDust now matches 0.9.0 case for case (upstream's eight isolate_dust tests ported). 0.8.0 refuses exactly those two new shapes instead ("At least one output is required"), so the split follows the server it talks to: a server advertising ArkInfo field 23 (max_round_participation_outputs, new in 0.9.0 and never 0 there) gets the new rule, any other the old one. Every arkoor build (sends, Lightning HTLC sends, refunds, sweeps, claims) passes it through.

Renewals: bark !2803 (reported by MrHodl) — bark didn't check that the unlock hash of its forfeits matched the one locking its new round coins; neither did we. A round's coins are now checked before the leaf cosign and the forfeit: a hash-locked round leaf locked by our unlock hash, anchored in this round's funding transaction, paid to our output key, worth at least what we asked for. On any mismatch nothing is signed, and the action keeps the reason.

Regtest: new dust-shapes-test sends all four shapes (all dust, isolate whole, pad, dust input) from single-coin wallets, delivers them and spends the change onward — passes on captaind 0.8.0 and on 0.9.0 (master's code fails the two new shapes on 0.9.0). manager, dust-gift, refresh-reprice, rescue-claimed, expired-dust, send-failure, custody, offboard-split and board tests pass on 0.9.0; ln-test and ln-e2e (25-sat zap-size sends, receives) pass on 0.9.0 with CLN v26.06.9; manager and dust-gift pass on 0.8.0. send, refresh, receive, scheduled-refresh and ln-pending-history fail the same way on master (stale fixtures). New isolate-dust-test (upstream vectors, 200k random payments against both servers' ported checks) and round-outputs-check-test pass; rescue-claimed-test stubs the new check (its fake rounds carry no coins). features-smoke and feature-registry-check pass.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
</content>
</entry>
<entry>
<title>A wallet that renews its own coins (Settings → Spending: self or exit) pays a Lightning invoice from the coins nearest expiry first, so fewer of them come up for a paid renewal (Stacker News request, 2026-10-29). Lightning sends only: the ASP takes those coins, whereas an Ark-to-Ark send would hand the recipient your short timelocks. The custodial default keeps the smallest coin that covers the payment (expiry costs nothing there), a coin past its timelock still goes last, and a pile of old crumbs that would breach the input cap falls back to largest-first. The closed-app NWC worker follows the mirrored tier the same way</title>
<updated>2026-10-30T22:57:46Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-30T22:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=fd60875c2233ad4e367a501825f5e3e37bb2dec6'/>
<id>urn:sha1:fd60875c2233ad4e367a501825f5e3e37bb2dec6</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01VMan6VLgQdujavxPsfU7A9
</content>
</entry>
<entry>
<title>refresh-test waits for esplora to index the round's funding tx before handing alice the coin: bark checks the anchor there, and esplora indexes a block ~5 s after it's mined, so alice dropped the coin as 'anchor not found'</title>
<updated>2026-10-28T07:57:20Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-28T07:57:20Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=5e3e94648885512572a71e44e80f7c8f95bdd756'/>
<id>urn:sha1:5e3e94648885512572a71e44e80f7c8f95bdd756</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
</content>
</entry>
<entry>
<title>On a server that does not honor expired coins the custody tier in force is "self": renewal stays automatic there, in the app and the worker</title>
<updated>2026-10-23T16:18:39Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T16:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=0a412c94ef1517e7b471e31ccadb867078826721'/>
<id>urn:sha1:0a412c94ef1517e7b471e31ccadb867078826721</id>
<content type='text'>
"Coinos holds my coins" was meant to exist only on servers that keep
cosigning a coin past its timelock (the presets carry honorsExpired), and
the custody card hid it elsewhere and showed "self". But the tier the
renewal pass and the worker mirror read came from the stored choice or the
custodial default regardless of server, so a wallet on Second or a custom
captaind (where an expired coin is gone) renewed nothing and warned of
nothing since 648a550 (2026-10-22): no backstop orders, no renewal in the
last hours, and the worker registering nothing while closed.

getCustody() now returns "self" in place of "custodial" whenever the active
server does not honor expired coins ("exit" stays "exit"); the mirror
carries the same, so the worker follows. The stored choice is left alone
for a later switch back to a coinos server, and choosing a tier always
writes it. tools/ark/custody-foreign-test.js: a custom server with no
honorsExpired, nothing stored or "custodial" stored, reads as "self", the
card offers only self/exit, and the renewal pass registers backstops and
renews the coin at its timelock.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
</content>
</entry>
<entry>
<title>A partial on-chain send from Spending takes whatever coins add up to the amount; a split that lands as several coins sends them all</title>
<updated>2026-10-23T15:35:22Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T15:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=10a4841e1a80ae72b35638953add79489edce9b6'/>
<id>urn:sha1:10a4841e1a80ae72b35638953add79489edce9b6</id>
<content type='text'>
An offboard moves whole coins, so a partial amount was first split off by
a payment to the wallet's own address, and the send then waited for ONE new
coin of exactly that size. A payment that needs more than one input arrives
as one coin per input, so for any balance held in two or more coins the
wait timed out ("The split is taking longer than expected") while the split
had gone through — every retry split again and nothing was ever sent
(Jarryd, 2026-10-23: three splits of 185,000 sats, each landing as
109,958 + 75,042).

Now the coins that leave are chosen as a set: a single coin of the exact
size, else the free coins that already add up to it (largest first, so the
halves an earlier split left behind go as they are, with no new split),
else the split's own output — every new coin on the receive key that adds
up to the amount. Change keeps its own key index and stays. Same carving
for the automatic withdrawal. tools/ark/offboard-split-test.js covers the
four cases against the real send form.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
</content>
</entry>
<entry>
<title>Deep coins are renewed under every tier, free of the base fee, before the server's depth cap strands them</title>
<updated>2026-10-23T14:59:40Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T14:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=6c3b49a559c90954bf5ae6dbfada73ec5b3409cc'/>
<id>urn:sha1:6c3b49a559c90954bf5ae6dbfada73ec5b3409cc</id>
<content type='text'>
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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Custody strategy: the price sits under the drop-down, not in the option text (which overflowed on a phone)</title>
<updated>2026-10-23T06:17:13Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T06:17:13Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=2d1f83c88000503b0ce5dbe391ce1929bcb9a71b'/>
<id>urn:sha1:2d1f83c88000503b0ce5dbe391ce1929bcb9a71b</id>
<content type='text'>
Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Manage page: the card is "Custody strategy"</title>
<updated>2026-10-23T06:14:36Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T06:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=60505c082937946f598dfbf11685c533f48ce4e1'/>
<id>urn:sha1:60505c082937946f598dfbf11685c533f48ce4e1</id>
<content type='text'>
Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Manage page: Renew, Withdraw and Exit sit under the coin table and act on the ticked coins; a unilateral exit can be partial; the explainers moved to the confirmations</title>
<updated>2026-10-23T06:12:42Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T06:12:42Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=af351e13947831ba54d4233ba80f46dab89e8c42'/>
<id>urn:sha1:af351e13947831ba54d4233ba80f46dab89e8c42</id>
<content type='text'>
Adam, 2026-10-23: the three buttons belong right below the table so it is clear they act on the selection, "co-operative exit" is Withdraw and "unilateral exit" is Exit, Exit names the ticked total and takes just those coins, and the explainer cards were a wall — they now appear where the action is decided: the renewal text and fee schedule on the Renew confirmation, the withdraw note on the form it opens, the exit cost comparison on the Exit confirmation. The page is the coins, their three buttons, and the custody strategy. The buttons stay (disabled) while every coin is in a round.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Spending settings: the coins first, then the custody strategy as a drop-down that describes only the chosen one</title>
<updated>2026-10-23T06:07:20Z</updated>
<author>
<name>Adam Soltys</name>
<email>adam@coinos.io</email>
</author>
<published>2026-10-23T06:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.coinos.io/coinosv3.git/commit/?id=a6c30c044a31dd1adc6a7ccf5cffff74ca2d6258'/>
<id>urn:sha1:a6c30c044a31dd1adc6a7ccf5cffff74ca2d6258</id>
<content type='text'>
Adam, 2026-10-23: three descriptions at once were a wall of text. The card now sits between the coins table and Renewal, is a select of the three strategies with their prices, and shows one paragraph — the chosen strategy's. The intro is two sentences shorter.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
