From 700fe52dfcbf3a78cbb4575be9b3bbc6add67003 Mon Sep 17 00:00:00 2001 From: agent Date: Mon, 28 Sep 2026 00:24:21 -0400 Subject: [PATCH] docs: the F7 row table carries the wallet-rpc binary row, and Enter has three halves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- docs/TUI.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/TUI.md b/docs/TUI.md index 6de7305..957593b 100644 --- a/docs/TUI.md +++ b/docs/TUI.md @@ -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 (`/monero-wallet-rpc`, then `/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: · chain source: ` — 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: · wallet config: · chain source: ` — 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 -- 2.52.0