Files
giza-kmp/composeApp
Kgothatso NgakoandClaude Opus 5.5 6140aef33a feat(lightning): the group re-keys its Lightning wallet when members change (Phase 14)
Iceberg cannot reshare, so a member who leaves keeps a share of the key
and the node's seed until the group opens a new wallet without them.

- A ceremony is now over the onchain key's holders who are still in the
  room (D1, narrowed), and a statement verifies when every participant
  holds the onchain key, so the wallets before and after a removal both
  stand.
- A room can have several wallets on a network. The highest-numbered is
  current, and a new statement takes the next number, under a key no
  wallet uses yet.
- The wallet screen names who has left and offers the new key or the new
  wallet. It lists earlier wallets with their balance, one decision to
  close every channel they still have, their sweeps, and a way to run
  their node when nobody does.
- `GroupLightningNodes` runs one node per wallet a device operates.
- Removing a member who holds a share says what the removal leaves.

A five-device test removes a member, refuses the leaver's own ceremony,
re-keys over the four who remain, opens wallet 1 beside wallet 0 with an
operator each, and closes wallet 0's channels in one session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:09:13 +02:00
..