onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent 8986724848
All checks were successful
ci / test (pull_request) Successful in 6m14s
android-ci / android (pull_request) Successful in 12m16s
ci / sdk (pull_request) Successful in 1m30s
ci / fuzz (pull_request) Successful in 4m50s
tui: read the wallet list from the store and load the chosen wallet
The selection screen shipped as presentation only: `F6 w` opened its
unavailable state, the rows were never read, and Enter on a wallet said
switching was not wired up. The catalogue, the create path and the screen
all existed; nothing joined them.

- `App::open_wallet_select` builds its rows from `Node::list_wallets` at
  the moment the screen opens (never cached from startup), and a failed
  read is the screen's own error state rather than "no saved wallets".
- `App::choose_wallet` resolves `WalletChoice::Open(index)` against the
  catalogue as it is now — the index is a position, and two saved wallets
  may share an identity key — then loads it. `+ create new wallet` still
  starts the existing create flow.
- `Node::open_wallet(filename)` is the load: it refuses a file the
  catalogue does not hold, re-points the sealed wallet-child record with a
  read-modify-write (the generated RPC creds survive), and restarts a
  running child onto the new file. An idle child takes the change on its
  next start.
- `App::new` starts on the selection screen when the catalogue is
  non-empty and on the create flow when it is empty, so a restart lands on
  the wallets it remembers and a first run has no dead empty list.
- The stored identity/locator stay catalogue columns: a locator rotates
  (F4) and identity is the roster key the node already holds, so the live
  header keeps reading them from the node.
- `SELECT_UNAVAILABLE` is gone with the state it described; docs/TUI.md
  now describes the wired behaviour.

Tests (both new): `Node::open_wallet` over an offline node — the chosen
file, the creds kept across the read-modify-write, the choice surviving a
reopen, and a non-catalogue file refused; and the app path in src/tui.rs
over a real store-backed node — start screen both ways, catalogue mapping,
row index over a shared identity, the create row, and a wallet recorded
after startup appearing the next time the list opens.
2026-09-21 11:43:07 -04:00
..
arti-socks-feasibility.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
ARTI_UPGRADE.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
cuprate-android-spike.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
cuprate-launch-spike.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
option-a-recommendation.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
payment-integration-plan.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
PROTOCOL.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
README.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
RELEASING.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
SECURITY_AUDIT.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
THREAT_MODEL.md docs: rewrite README and living docs to match the tree 2026-09-20 00:31:07 -04:00
TUI.md tui: read the wallet list from the store and load the chosen wallet 2026-09-21 11:43:07 -04:00
WALLET.md wallet: answer the Digest challenge on the connection that issued it 2026-09-20 09:17:05 -04:00

OnionWire docs

Read these in order if you are evaluating the protocol without the Rust:

  1. PROTOCOL.md — wire format, handshake, invite, frames. This is the document a second implementation would use.
  2. THREAT_MODEL.md — what v1 claims, and what it refuses to claim.
  3. SECURITY_AUDIT.md — in-house review notes and which findings are still open. Not a public third-party audit.

Operator / product docs:

  • ../README.md — install, run, real flags, F-key map, wallet/chain source, releases.
  • TUI.md — screens and keybindings as the TUI actually handles them.
  • WALLET.md — loopback wallet RPC, chain source, spend-authority warning, receipt verification.
  • RELEASING.md — manual, batched releases (not one per merge).
  • ARTI_UPGRADE.md — how to bump the in-process Tor crates.

Android build notes: android/README.md. SDK: crates/onionwire-sdk/README.md.

Decision records and spike reports (history — not living operator docs):