tui: spawn the wallet-rpc binary that sits next to the app
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:
parent
9b827fc001
commit
37690e3d48
4 changed files with 139 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue