tui: the Cuprate start path answers get_info, and the Linux TUI includes it
Some checks failed
ci / test (pull_request) Failing after 2m50s
ci / sdk (pull_request) Successful in 1m23s
android-ci / android (pull_request) Successful in 12m40s

Node::start_wallet_child is the call the TUI makes. The test stores an
in-process testnet source, starts the child, and checks the typed daemon
client's get_info. It does not bootstrap Tor.

cuprate-daemon is now in the Linux TUI default, so a release build of the
onionwire bin links the daemon with no extra feature flag. A build with
--no-default-features still refuses with NO_FEATURE_MSG. cuprated keeps
default-features = false so Cuprate's arti feature cannot pull arti-client
0.44 next to OnionWire's 0.46.

Cargo.lock is unchanged: cuprated was already an optional dependency.
This commit is contained in:
agent 2026-10-08 10:59:45 -04:00
commit a466c43764
No known key found for this signature in database
6 changed files with 218 additions and 11 deletions

View file

@ -219,8 +219,9 @@ the app does not pick a public remote node for them.
Unsynced or not running is an honest “not ready” / unverified state, not a
fake success.
2. **An in-process daemon** (Cuprate, behind the `cuprate-daemon` feature, off by
default). P2P, consensus and RandomX run in the OnionWire process; nothing is
2. **An in-process daemon** (Cuprate, behind the `cuprate-daemon` feature, on in
the Linux TUI/release binary; a `--no-default-features` build does not
include it). P2P, consensus and RandomX run in the OnionWire process; nothing is
spawned and nothing leaves the device except the chain P2P traffic itself.
What that changes: there is **no daemon operator** to trust — your own process
is the daemon, so the "operator sees your addresses" question does not exist.

View file

@ -158,12 +158,16 @@ Settings live in the sealed `wallet_child` record (`ChildConfig`: `source`,
### The in-process chain daemon (`cuprate-daemon`)
```
cargo build --release --features cuprate-daemon
cargo build --release --bin onionwire
```
- **Off by default.** `cuprated` is pre-1.0, not on crates.io (placeholder
crates), git-pinned, behind the feature. Without the feature, a stored
in-process source can still be read back, but start fails with
That is the Linux TUI/release build. It includes the in-process daemon.
`--features cuprate-daemon` still selects it; that flag is no longer required
for the TUI. A build with `--no-default-features` does not include the daemon.
- **On in the Linux TUI default.** `cuprated` is pre-1.0, not on crates.io
(placeholder crates), git-pinned. Without the feature, a stored in-process
source can still be read back, but start fails with
`this build has no in-process chain daemon — rebuild with --features cuprate-daemon`.
- **Pre-production.** Cuprate's own user book says do not use `cuprated` for
serious purposes. RPC parity is incomplete (`docs/cuprate-launch-spike.md`).