docs: the F7 row table carries the wallet-rpc binary row, and Enter has three halves #172

Showing only changes of commit 700fe52dfc - Show all commits

docs: the F7 row table carries the wallet-rpc binary row, and Enter has three halves

docs/TUI.md enumerated the F7 screen's rows and the Enter answer, and both were
behind the screen: the `binary` row (index 3, between `view-only` and `chain`)
prints the monero-wallet-rpc the child will spawn — typed path, else the copy
resolved beside the executable, else PATH, else
`wallet_child::NO_WALLET_RPC_MESSAGE` — and a failed save now names three parts
(`wallet-rpc binary`, `wallet config`, `chain source`), not two. Wording
follows docs/WALLET.md "Which monero-wallet-rpc the child runs".

Docs only: no code, no tests.
agent 2026-09-28 00:24:21 -04:00
No known key found for this signature in database

View file

@ -199,6 +199,7 @@ node that serves it.
| `url` | text | the wallet RPC endpoint |
| `login` | text | `user:pass`. Never rendered back: the row reads `hidden · set` or `(none)` |
| `view-only` | toggle | `no_spend`; `/tip` is refused before any dial |
| `binary` | text | the `monero-wallet-rpc` the child spawns: the path you typed, else the copy the app resolved beside its own executable (`<exe dir>/monero-wallet-rpc`, then `<exe dir>/share/onionwire/monero-wallet-rpc`), else the first one on `PATH`. With none of those it prints `monero-wallet-rpc not found — put it beside this binary, in share/onionwire/, or on PATH`, never a bare name that only fails at the spawn; an app-resolved copy is suffixed `(auto)`. Empty means resolve; `Ctrl-U` clears back to auto. Order and bundled copy: [WALLET.md](WALLET.md) |
| `chain` | picker | `space` cycles receive-only, local node, remote daemon, in-process |
| `daemon` | text | `host:port`, for the remote daemon |
| `monerod` | text | the binary this box spawns for a local node |
@ -212,10 +213,12 @@ last save/test answer. The live row is the node's answer, never the draft above
it, and it is re-read by `Ctrl-R`.
`Enter` saves and answers on the status row: `saved · not dialled yet — ctrl-s
starts it, ctrl-t tests the endpoint`, or, when a half is refused, `not saved ·
wallet config: <why> · chain source: <why>` — one line shape either way round,
and the half that did write says so. Both halves are attempted even when one is
refused: a wallet-RPC refusal must not silently drop a chain source the user
starts it, ctrl-t tests the endpoint`, or, when a part is refused, `not saved ·
wallet-rpc binary: <why> · wallet config: <why> · chain source: <why>` — one line
shape either way round, and the part that did write says so. All three are
attempted even when one is refused: the `binary` half stores the path you typed,
else the copy the app resolved, else the bare name, so an empty row never vetoes
a save; and a wallet-RPC refusal must not silently drop a chain source the user
just picked. The endpoint's own validator is `Node::wallet_save_config`
(`Wallet::from_config` behind it) — loopback host, login required — and a
rejected form is rejected **before** it is written: nothing in the sealed record