From dd011c2c98033637829d83fc320ab4fdce4ede8c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 29 Aug 2026 07:05:47 -0700 Subject: A round's output can no longer strand: every refresh asks the server to drop its unlock hash in the mailbox, and any device that finds such a breadcrumb with no matching action adopts the claim itself (input ids now read from the status response — the rescue needs no operator). History learns to tell the whole truth and nothing more: coins the server saw spent elsewhere get a folded row (skipping coins a known renewal consumed), renewals fold across devices on their unlock hash and appear only when they cost something, and a rescue records the fee the round actually took. The account page keeps its header icons when reached from an open wallet; the messages page folds the control/guestbook replay once per burst instead of painting every intermediate state — no more blinking messages from superseded ban lists or member counts crawling to their total, which now paints from last session's settled figure Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019WboeoetMF3MTmgT7Ew8yi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ark/proto.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ark/proto.js') diff --git a/src/ark/proto.js b/src/ark/proto.js index a1f2fdc..b8c091d 100644 --- a/src/ark/proto.js +++ b/src/ark/proto.js @@ -511,6 +511,12 @@ export function decodeMailboxMessage(value) { if (a.field === 1) msg.vtxos.push(decodeVtxo(a.value)); } } + if (f.field === 4) { // RoundParticipationCompleted — wallet-recovery breadcrumb + msg.kind = 'roundCompleted'; + for (const a of pbFields(f.value)) { + if (a.field === 2) msg.unlockHash = hex.encode(a.value); + } + } if (f.field === 5) { // IncomingLightningPaymentMessage msg.kind = 'lnIncoming'; for (const a of pbFields(f.value)) { -- cgit v1.2.3