| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
upkeep ran again (f27c49c) the 92 small coins tripped consolidation, whose 64 smallest came to 259 sat against a 301-sat round fee: refused, and asked again every minute. Sends gather largest-first, so dust never decides whether one fits; the merge now waits until the coins it would take clear the fee and the 330-sat floor. Checked on the live float state (skip: true); names tests pass.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
|
| |
|
|
|
|
|
|
|
|
|
| |
runs. "Test it and bring it up to speed" (Adam, 2026-11-24, after the depth-cap outage of f27c49c). The pin was from 2026-10-16; since then src/ark gained the exit-depth cap (read from the server, field 19) and the deep-refresh waiver (field 3 of the refresh fees), refunds that come back through the mailbox to any key the wallet handed out, orphan HTLC coins settled by the server's answer, a send input cap of 48 instead of 24, and refreshes no longer retired for an expired input. The opt-in parts (honorsExpired, lnOldestFirst, infoHint, custody tiers) stay off: names passes none of them. Every ArkManager method names calls keeps its signature.
With the cap in the library, f27c49c's selection wrapper goes. Float upkeep now flattens the library's deepCoins() — depth ≥ 60, where the server waives the 300-sat base fee — in a round of their own (the waiver needs every input deep), on a 2-minute cadence while there are enough of them to make a round; coins nearing expiry go in the next one. Names logs it if the server ever stops publishing a cap.
Checked offline against the live float state with the live server info: balance matches /health (248,956 spendable, 13,934 renewing); sends of 52 to 150,000 sat pick coins at depth ≤ 26, none capped; upkeep does nothing now (26 deep dust coins, 152 sat, can't make a round) and flattens the main 66,315-sat coin with them for 133 sat once its chain reaches depth 60 (59: nothing). names and bridge tests (25), public-feed-cache-test, and a parse of names, bridge, feed and translate pass.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
|
| |
|
|
|
|
|
| |
think there's an issue with the lightning forwarder can you look into it? I've got reports of missing deposits" (Adam, 2026-11-23). From 2026-11-24 00:09Z every forward under 13,661 sat failed: the float's wallet code (the coinosv3 submodule, from 10-16, older than its own cap check) picks the smallest coin that covers a send, and that was a 13,661-sat change chain at exit depth 100, where the ASP refuses every cosign ("refresh the VTXO in a round"). Nine forwards (14,816 sat) sat queued, retried every minute. Float sends now leave coins at the cap out of selection, and upkeep refreshes coins within 8 hops of it right away (2-minute cadence while there are any, dust riding along). Upkeep had not run at all since 2026-10-27: five 1-sat test sends sat 'registered' with a permanently refused mailbox notice, and any open action holds the round. Those are now closed as forwardOnce already closes the ones made for a payment. Checked against the live float state: before, a 381-sat send picked the depth-100 coin; after, every queued amount picks an 81,184-sat coin at depth 12, and the capped coin is still free for the refresh. names tests pass.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
|
| |
|
|
|
|
|
| |
A name's LNURL-pay callback now returns a `verify` URL when the invoice comes from our node (the recipient's wallet was not listening), and GET /lnurlp/verify/<hash> answers {status, settled, preimage, pr} from CLN. The v3.coinos.io/<name>/receive pay page (coinosv3) polls it to say "Paid". An invoice the recipient's own wallet minted has no verify URL: only that wallet knows when it is paid.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
|
| |
|
|
|
|
|
| |
zap pnk but it said names.coinos.io could not create an invoice" (Adam, 2026-11-20). bcln was recreated at 04:26Z; names has the node's socket file mounted, the mount kept pointing at the old file, and every @coinos.io LNURL invoice failed with ECONNREFUSED for four and a half hours until names was restarted by hand. The same thing cost 13 hours on 2026-11-11. The socket client now counts refused connections: after a minute of nothing but refusals (ten minutes if this process never reached the node, so a node that is down doesn't restart names in a loop) names logs it and exits, and docker's restart mounts the new socket. Only the mainnet node does this; the mutinynet one is left alone. New bridge/ln.test.js passes (4 checks), with the store and forget tests.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
|
| |
|
|
|
|
|
| |
paff.club names claimed while it had dns:false (16 of 68) never got a record id, so backfill skipped them; on a knot domain every name with a URI belongs in the zone.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
|
| |
|
|
|
|
|
| |
staging.coinos.io first)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
|
| |
|
|
|
|
|
| |
separate entries; join them all (the 2,409 'mismatches' were 615-byte URIs split at 255, stored correctly in Knot)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
|
| |
|
|
|
|
|
| |
learned cloudflare may have a quota on how many names we can register on dns so is that going to foil our plans to give everyone a bip353 payment address?" … "yeah build it on cs don't worry about the fallback just get it working with our knot dns" (Adam, 2026-11-16). coinos.io's Cloudflare zone (Pro) was at 3,038 of its 3,500 records with one TXT per name and about 35 names claimed a day. user._bitcoin-payment.coinos.io and user._bitcoin-payment.staging.coinos.io get delegated (NS + DS in Cloudflare) to Knot DNS, so there's no record quota. The `dns` compose service on cs is the hidden primary: it signs both zones (ECDSA P-256, NSEC3 without iterations, the KSK fixed because its DS sits in Cloudflare) and listens on cs's Tailscale address only, because the house router forwards nothing to cs. ovh2 runs the public secondary (dns/secondary.conf, dns1.coinos.io), notified and transferred over Tailscale with a TSIG key, so names keep resolving while cs is down. The registrar sends RFC 2136 UPDATEs signed with TSIG hmac-sha256 over TCP (names/dns-update.js) for domains with `knot` in its config. It replaces a name's TXT RRset whole, removes it on release and on account deletion (forgetAccount now hands back the name), and deletes a name's leftover Cloudflare record as it rewrites it. names/dns-migrate.js does the one-shot moves: backfill, check, cf-cleanup. dns/README.md is the runbook. Tested against Knot 3.4.11: updates land signed, a 700-byte URI spans several TXT strings, a wrong key gets NOTAUTH and an out-of-zone name gets NOTZONE. bun test names/ passes (21, with the new dns-update tests)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SwkivduFDDkMmnXjZ
|
| |
|
|
|
|
|
| |
paff.club does: every browser's PAFF tipping wallet claims a name there, the zone reached Cloudflare's record quota ("Record quota exceeded", 81045) and every new claim failed, its 500 answered without CORS so the browser only saw a CORS error; while the records were never usable there, DNSSEC being off. Its names stay LNURL and NIP-05; a record kept from before is removed as its name updates
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6VeUVDmcp6GPSFWPwT
|
| |
|
|
|
|
|
| |
to ten minutes. "I made a transaction for 1,000,000 sats using the Withdraw link method, but they never arrived" (a user via Adam, 2026-11-14). The claim's invoice sat behind a private channel; at that moment this node's own channels couldn't carry 1M ("could not find a usable set of paths", answered in a tenth of a second), so the payout failed at once and the sats went back on the link, while the claimer's wallet, told OK as LUD-03 has it, waited for nothing. Minutes later a route was there. Now a payout to another node that definitely failed (no part pending or complete) is paid again after 30 s, 90 s, 3 min and 5 min, as long as the invoice has a minute to spare; the claim stays 'paying' meanwhile and settlePending leaves it alone. Reclaims are not retried (the creator is waiting on them). The claim's view carries tries, so the app can say it's still trying
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6UKGJyuGyZFxddYRxS
|
| |
|
|
|
|
|
| |
"can we do something to stop it logging at least?" (Adam, 2026-11-14), of "forward retry failed for [email protected] (21 sat, try N): float send for this payment still unresolved — not paying again" every minute. [email protected]'s ark address carries a blinded mailbox id that isn't a point (64bbbb…), so after the server cosigned and registered the arkoor to the recipient's key, PostArkoorMessage answered status 3 "invalid a blinded VTXO mailbox identifier" and the action sat at 'registered' for good: the forward refused to pay twice, and floatUpkeep/consolidateFloat (held while any action is open) stopped. Now such an action is closed as done (undelivered: the reason), the payment is recorded delivered, and one line says it went without a notice
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6UKGJyuGyZFxddYRxS
|
| |
|
|
|
|
| |
gets a lightning address and NIP-05 under paff.club from this registrar (Adam, 2026-11-12: "re-use the same name server that's on the cs machine for v3 and let it handle paff.club name lookups"). A domain's config entry may say welcome: false; paff.club does, since a node claims its own name and there's nobody to greet
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
| |
account. we allowed that in v2. i guess we'd want to free up the name once the deletion is done and remove any records we have on them on the server" (Adam, 2026-11-10). POST /account/delete, NIP-98 signed: the signer's account is its key, the names it owns or manages, and those names' other key (a login identity's name is kept by its wallet's key). Everything filed under them goes: the names (DNS record, node offer), custom offers, POS tokens and sales, hats and hat invoices, the welcome mark, Lightning receipts, migration grants (which would otherwise keep the name reserved for the key that left), queued webhooks, closed and never-funded withdraw links. Then the notifier is told (POST /forget with the shared notify token): the devices registered to be told about those keys lose their registrations, NWC wakes included, and the keys' scheduled posts are dropped. Money is never deleted: while sats are queued, parked or in flight to them, or an open withdraw link of theirs still holds some, the answer is 409 "funds" with the amounts; { check: true } asks without doing. Kept: what stops a payment being made twice (delivered, withdrawPaid, inflight) and the unpaid-invoice map, which ages out in a week. names/forget.js + forget.test.js; run against both real services on throwaway state
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6V74NSFWZtNtgCfokN
|
| |
|
|
|
|
|
| |
have lnurl withdraw links somewhere? can we add them?" → "Prepaid" (Adam, 2026-11-07). A self-custodial wallet asleep in a pocket can't answer a withdraw link days later, so the creator pays the whole amount up front (POST /withdraw/new → a CLN invoice for sat × uses; the settle loop, or the creator's POST /withdraw/funded checking listinvoices, opens the link) and this service pays each claim out of that reserve: GET /w/<id> serves the withdrawRequest (up to the per-claim amount, never past what's left), GET /w/<id>/cb?k1&pr pays it — a plain pay with the routing fee capped at max(10 sat, 1%) and borne here, or, for an invoice on this very node (any coinos wallet's Lightning receive), round the float top-up's circular route, read back with waitsendpay. The reserve is taken before a payment starts and handed back only on a definite failure; an unknown outcome stays reserved for a minute-ly listsendpays check. No invoice is ever paid twice, one claim per link at a time. The creator lists theirs (GET /withdraw/mine) and takes back the remainder with an invoice of their own (POST /withdraw/reclaim), which closes the link first and reopens it if that payment fails. All NIP-98 by the wallet key. Mainnet and (play money) mutinynet, on the hat stand's nodes. names/withdraw.test.js covers it against a fake node
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Ts5Tktega8VbLg31q
|
| |
|
|
|
|
|
| |
Lightning deliveries go now. A name whose wallet lives on Second (or a custom captaind) can only be paid over Lightning, and only while the wallet is open to answer the registrar's offer request — the float can't arkoor to a server it isn't on — and the queue's hourly retry with its six-second window rarely overlapped a short phone session: manna's 52 sats failed 449 times from 2026-10-18 to 11-03. POST /listening (NIP-98) marks every queued forward for the caller's names due now and runs the retry pass at once (or again, when one is mid-flight); the answer says how much is waiting. The app calls it once its offer listener is up (coinosv3, same day)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6TFgisGKUDhdStLUvs
|
| |
|
|
|
|
|
|
|
| |
A terminal in the field sat on "Waiting for payment" with its websocket
open the whole time while the registrar credited the sale and pushed the
payment frame. The firmware now polls this while it waits, so a socket
that stays up but goes deaf can't strand a paid sale.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
| |
|
|
|
|
|
| |
coinos holds the whole list and a face it has never seen gets its hat in the first paint instead of after a per-head lookup
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6TUeqTyZB8eXLGymUY
|
| |
|
|
|
|
|
| |
holds now, or write it off (state.writtenOff keeps the record)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
| |
retried (and paged on) forever
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
an hour without a person
- forward() refuses (parks) any delivery not backed by this node's own
invoice for that payment hash, paid, for at least the amount — whatever
path asked (settle loop, retry tick, /admin/forward)
- a key past 1.5M sat delivered in the trailing hour has its next
deliveries wait in the queue (ALERT line in the log; the desk monitor
pages on a queue older than 30 min)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The float wallet keeps every send as an action. forward() records the
send it is about to make (destination, amount, start time) before making
it; a later try finds that action: done = delivered, failed or never
started = go again, anything else = still unresolved, wait. Before, a send
that threw after its cosign landed (the coins moved, the answer didn't)
was queued and paid a second time.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lock around forward(), the first try queued before it runs
- state.delivered[saleHash] is saved once a delivery succeeds; any later
caller (retry tick, settle loop, /admin/forward) returns without paying
- a sale already being delivered refuses a second concurrent caller (stays
queued) instead of racing it
- the settle loop queues a payment BEFORE its first try, so a restart
mid-delivery no longer loses it (the retry finds it; the records keep it
from paying twice)
- the retry tick no longer overwrites the queue with its snapshot (it
dropped payments queued while it ran)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
| |
user42a0887a / sloperated)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
still in flight
forward() records the payment hash of every Lightning delivery before it
pays (state.inflight, keyed by the settled payment). A later try checks it
first: complete = delivered, pending = wait, failed or never sent = go
again. Before, waitsendpay's 240 s timeout queued the payment while its
HTLC was still out, and the retry paid it a second time once the wallet
claimed the first. A scripted wallet (usera7fc7e2c, "crit1 … double
payout") held its claims to do exactly that on 2026-10-27; its key's
forwards are parked for review (HOLD_KEYS).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are retired
Releasing a name disabled its own offer but left its custom offers live
(27 orphans on 2026-10-22, rick@ had 4): a payment to one found no name
and no key, and would have sat in the forward queue for good. Custom
offers now record the owner's pubkey (backfilled at start from the name,
or for an orphaned npub1xxxxxxx@ name from the one current key with that
npub prefix — 4 recovered), and the settle loop forwards by it, so a
released name's offer pays the same key's name now, as the name's own
offer already did. Orphans with no owner to follow are disabled on the
node and dropped (23), as are a released staging name's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
was minted
A staging name is a mutinynet wallet, but every claim got a mainnet BOLT12
offer on our node published in its record, and custom offers and POS sales
were minted there too: real sats paid that way had no route onward (2,092
sat parked on 2026-10-22). otherNetwork() — the record's ark address decides,
a staging name without one is mutinynet — now gates the claim's stand-in
offer, custom offers and POS invoices (LNURL already refused staging).
At start, retireOtherNetworkOffers() disables the offers already out there
(83 staging names, 13 custom offers), takes their lno= out of the published
DNS record and drops them from state; idempotent, so a failure retries next
start. [email protected] keeps its offers: its wallet is mainnet.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
Float top-ups that missed their 60 s settle window landed later (+300k on
2026-10-22 once the ASP's vtxo pool refilled), but only a top-up seen to
settle resets the queue's backoff, so jarryd's 248k sat in a 1-hour wait
with 477k in the float.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
another network is parked
The float step threw 'address belongs to a different ark server' before the
Lightning step ever ran, so manna and rogerv3 (wallets on Second) were retried
100 times since 10-18 without once asking their wallets for an invoice. The
destination's ark id now decides: the float only on our own server, otherwise
straight to the wallet's CLINK invoice — those wait for the wallet without
paging (waitingOnWallet in /health).
A staging name's tark address paid real sats through its mainnet offer has no
route at all: such a forward is parked (state.parked, with its reason) instead
of retried forever, and /health counts it for the desk monitor. Ten such
payments (2,092 sat, Sep–Oct test payments to @staging.coinos.io names) had
been retried ~900 times each.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
top-ups, report stuck money in /health
The ASP's vtxo pool sat empty for 35 hours (2026-10-20/22: 614k in the
rounds wallet against 1.12M needed to refill), and two forwards of ~124k
for jarryd sat in the queue the whole time:
- viaClink paid the wallet's own invoice with a plain pay, but a coinos
wallet's invoice is minted by our ASP on this very node: a self-payment
the hold plugin never sees ('Destination said it doesn't know invoice').
It now goes out and back in over a channel pair (payCircular, shared with
the float top-up) and waits for the wallet to claim, so a payment is
delivered whenever the wallet is open, float or no float.
- a float top-up that doesn't settle halves the next ask (down to 20k),
back to full size after one lands: 79 tries of 200k failed where the
pool's 100k coins could have funded half of it.
- the retry tick can't overlap itself any more (a circular delivery waits
up to 4 min; an overlapping tick would forward the same payment twice).
- /health reports pendingSat, oldestPendingAt, the top-up failure streak
and last error, and payments for wallets on another ark server apart
(undeliverable): the desk float monitor pages on these.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
| |
when; older records count from their last update), never if banned; GET /live/allowed says which and until when. Viewers can report a stream (POST /live/<id>/report, NIP-98): kept in .reports.jsonl and DM'd to the admins from the welcome key. An admin takes a stream down (POST /live/<id>/remove {ban}): it ends, its playlists and segments answer 410, its files move to .removed/ (kept for reporting, never trimmed), and a ban stops its sender streaming.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013ZDf1cyCQLkfjftYhymZAg
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
names/vendor/ goes.
The pin had stayed at 082fc2e (Sep 14) while the app's Ark manager moved on —
renewals priced at a 300-sat base fee and re-priced on "insufficient refresh
fee", expiry-aware coin selection, standing (scheduled) renewals merged by
unlock hash, policy-aware freeing of in-flight coins — so the registrar's
forwarder float was a month behind the wallets it forwards to. The manager's
constructor, the methods the services call (balance, sync, refresh, send,
address, createLnInvoice, driveLn, startBoard, pendingActions, htlcClaim,
htlcCosignRefund, _key) and the storage contract (load → state or null, save
← state) are unchanged between the two commits, and nothing new is imported
from a package the server lacks.
names/translate.js imports translate-split.js from the submodule now, as
feed/cache.js already did lang-guess.js: the vendored copies were byte-equal
to what the pin now carries. The README's note about them goes with them.
Resolve-checked every service entry (bun build --target=bun); the moved tests
(registry-ownership, public-feed-cache) and the bun-test files
(deepl-translate, names/store) pass.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01J1Kon8bxJoHRpJdSzshCkp
|
| |
|
|
| |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
persist() rewrote the whole state file, close to 10 MB, on every settled
payment and every queue tick, so one crash during a write could take every
name with it. State now lives in SQLite (bun:sqlite, WAL,
synchronous=FULL): one row per name, offer, invoice and so on, with the
forwarder wallet's state kept as a single row. Each persist() is one
transaction that writes only the rows that changed, so a crash leaves the
previous state or the new one, never a torn file.
The in-memory state object and every persist() call stay as they were. On
the first start the JSON state file is imported, and a corrupt one stops
startup. The file is left in place, so a rollback to the JSON build still
finds its data. store.snapshot() makes a consistent copy while the service
runs, for backups.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Carved out of coinosv3 (names, feed, nwcpush, blossom, vmedia, bridge and
their tests, with history). The shared wallet code they import (src/ark,
noffer, bolt12, popular-feed) now comes from a coinosv3 submodule pinned at
082fc2e, the commit the services have actually run on, so moving here changes
no behaviour; bumping it is its own commit. The two text helpers translation
uses arrived on the server later than that commit and are vendored under
names/vendor at the versions deployed, until the pin moves past them.
Root package.json pins the npm versions installed on the server. compose.yml
runs names, nwcpush and blossom from this checkout (read-only) with configs
and state under $STATE, outside the repo, and pins the Bun image.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
| |
The loader treated any read or parse error as a fresh registrar and started
with no names, then persisted that empty state over the real one. A crash
can leave the state file truncated, because persist() renamed the new file
into place without flushing it. Now a missing file is a fresh start, an
unreadable one stops startup, and persist() fsyncs the file and its
directory around the rename.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The deployed registrar carried changes made directly on the server between
Oct 10 and Oct 14 that never reached the repo:
- forward() delivers to the same key's current name when the paid name was
released in the meantime (a v2 migration swaps its throwaway npub name for
the real one seconds after a payment can settle)
- "nowhere to send" throws, so the payout stays queued instead of dropping
- the forwarder float merges small coins (consolidateFloat) before a send
hits the input cap
- floatUpkeep skips coins already past expiry, which the server's sweeper
has taken and whose refresh never settles
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
| |
isolabellart saw the Translate button but nothing became Italian: the target was the app's language, coinos has no Italian UI (so it ran in English), and the language guess didn't know Italian. Posts now translate into the reader's choice (Settings → Nostr → Translation, any of 31 languages), else the phone's language when the app has no UI for it, else the app's; the guess knows Italian, Dutch and Polish. And, as Jumble offers: a DeepL API key of your own, kept on the device and sent per request as x-deepl-key — the registrar passes it to DeepL (api-free for ":fx" keys; DeepL refuses browsers) and never stores or logs it; a refused key or used-up quota says so once. names: translateDeepl (prose only, links/tags kept, detected source back, 401/402/422 statuses), CORS allows the header. Deployed to cs names. tools/translate-italian-test.js, tools/deepl-translate.test.js.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
|
| |
|
|
|
|
|
| |
took a-z, 0-9 and . _ - (1–30), so bitcoin-education and a dozen others got through. A NEW claim must now match /^[a-z0-9]{2,24}$/ (v2's /^[\p{L}\p{N}]{2,24}$/u, held to ASCII since a name is a DNS label); a name already held (19 with . _ -, plus "f" and "g") is grandfathered — its owner can still update it — as are v2 migrations carrying their own name and npub-shaped defaults. /name/<n> answers invalid: true for a free name that breaks the rule; the claim form says "Letters and numbers only" as it's typed, and the suggested name from a nostr profile is stripped to letters and digits.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
|
| |
|
|
|
|
|
| |
translation in brackets after it — "#総合部絵チャ (…)" — the tag itself kept as the link it is. A post that is only such hashtags now counts as foreign (it was judged by its prose alone, of which it has none, so nothing ever offered to translate it), and ⋯ → Translate on a post with no words says so instead of "already in your language". The registrar's language detection reads the glossed tags too; lang-guess's scriptOf takes a minimum (a two-character tag has a script too).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
|
| |
|
|
|
|
|
| |
from Spanish · Show original" under the words, automatic by default for posts the language guess calls foreign (Settings → Nostr → Translation switches it off and leaves a Translate link instead), and ⋯ → Translate for any post. The browser's on-device Translator does it when the language pair is already installed (desktop Chrome); otherwise the registrar's new POST /translate (names/translate.js): a cached, 4-at-a-time front for a LibreTranslate container on cs (names/compose-libretranslate.yml, v1.9.6, 32 languages; none for sw/mr/ta/te, so those readers get no offer). Links, nostr: mentions, :emoji:, #tags and long codes are never sent to the model — only the prose between them, batched in one call (src/translate-split.js, shared). Translations are remembered (coinos-translations, 300). tools/translate-test.js
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
|
| |
|
|
|
|
| |
when minting a terminal token (it sent none, so every terminal priced sales in USD and a $0.03 sale paid out as $0.04 CAD), and a new token retunes the terminals already paired to that name
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
| |
(the operator's own IP while testing sign-ups)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
| |
dead sockets are dropped and it retries on fresh ones (four welcomes on 2026-10-07 vanished after the uplink dropped while the log said sent)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |
|
|
|
|
|
|
|
|
| |
coinos.io's v3 bridge forwards a migrated legacy account's incoming
payments to the v3 wallet only on proof: the holder is the legacy
account's own key, or the wallet its session named via /migrate-grant
(granted: true).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011bvzKaZosXGHkigcGcSzAR
|
| |
|
|
|
|
|
| |
in a card).
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
|
| |
|
|
|
|
|
|
|
|
|
|
| |
A plain link becomes an Open Graph card: picture, title, a line, the site.
The registrar fetches the page on the reader's behalf (names/preview.js,
GET /preview?url=): only public hosts, at most half a megabyte of HTML,
cached a day. The client warms the card with the rest of the post so the row
arrives whole, keeps a few hundred cards across sessions, and leaves a page
with nothing to say as a bare link. Pictures and YouTube keep their boxes.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
|
| |
|
|
|
|
|
| |
once more before minting our own.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
grants.
Header buttons always leave the current feature screen; an account with
no remembered nostr identity opens Accounts instead of nothing. Logout
confirms in place. A scan finishing after logout or an account switch no
longer drops the new session into offline mode (stateGeneration guards in
sync + ark). Spending restores from the snapshot first. A migration grant
names the identity that owns an address; its manager may register it
without becoming that identity (names/ownership.js). Browser tests for
account access, profile retry, spending restore, thread reply focus,
custom-emoji reactions and registry ownership.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
| |
|
|
|
| |
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QYJfZ4A1TDCEY4Foq3CApR
|