wallet: wait for listeners before treating connect refusal as an error #155

Merged
sirius merged 5 commits from onionwire/t_c8fe0549-onionwire-wallet-start-waits-for-the-dae into main 2026-09-24 00:44:44 +00:00
Showing only changes of commit 2f3d5d69c3 - Show all commits

docs: start waits for the daemon and wallet RPC listeners
Some checks failed
android-ci / android (pull_request) Has been cancelled
ci / test (pull_request) Successful in 8m43s
ci / sdk (pull_request) Successful in 1m16s
ci / fuzz (pull_request) Successful in 5m21s

agent 2026-09-23 20:33:49 -04:00
No known key found for this signature in database

View file

@ -48,6 +48,10 @@ env var:
- **`monerod`** is spawned when the chain source is *local*:
`--non-interactive --data-dir <datadir> --rpc-bind-ip 127.0.0.1 --rpc-bind-port
18081`. The wallet child dials `127.0.0.1:18081`.
- **Start waits up to 5s for `127.0.0.1:18081` to accept before spawning
`monero-wallet-rpc`, and up to 5s for that child's own port before
`open_wallet`.** A closed port fails the start. A connect refusal while state is
still `connecting` is not shown as an error.
- **`arti`** is spawned as a SOCKS child only when the chain source is a
`.onion` daemon: `arti proxy -p <port>`.
- `--trusted-daemon` is never passed.