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