tui: spawn the wallet-rpc binary that sits next to the app
All checks were successful
ci / test (pull_request) Successful in 14m27s
ci / sdk (pull_request) Successful in 1m26s

A bare monero-wallet-rpc name is the executable beside this binary
when that file is executable, then PATH. An absolute path is left
alone, so Android and operator overrides keep working. Remote daemon
and remote wallet RPC are unchanged.
This commit is contained in:
agent 2026-10-11 19:41:11 -04:00
commit 37690e3d48
No known key found for this signature in database
4 changed files with 139 additions and 2 deletions

View file

@ -41,7 +41,10 @@ env var:
- **`monero-wallet-rpc`** is spawned with `--rpc-bind-ip 127.0.0.1`, a **random
free loopback port**, a generated `--rpc-login` (`user:pass`, random
`[a-z0-9]`), and `--wallet-dir $ONIONWIRE_HOME/wallet`. No `--wallet-file` and
`[a-z0-9]`), and `--wallet-dir $ONIONWIRE_HOME/wallet`. A bare name is the
executable of that name next to the OnionWire binary, when that file is
executable; otherwise `PATH`. An absolute path is spawned as given (Android's
bundled library, or a path the operator set). No `--wallet-file` and
no `--password`: argv is world-readable to the same user through `ps`, so the
wallet is opened **over RPC** (`open_wallet`) once the child is up, and never
named on the command line.