tui: the Cuprate start path answers get_info, and the Linux TUI includes it
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:
parent
c550a197ac
commit
a466c43764
6 changed files with 218 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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`).
|
||||
|
|
|
|||
Loading…
Reference in a new issue