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

@ -17,13 +17,14 @@ repository = "https://github.com/sirius0xdev/onionwire"
# every build by rusqlite's `bundled-sqlcipher-vendored-openssl`, vendored and
# static: that is the SQLCipher layer, not Arti's TLS.)
[features]
default = ["rustls"]
default = ["rustls", "cuprate-daemon"]
native-tls = ["arti-client/native-tls"]
rustls = ["arti-client/rustls"]
# In-process Monero chain daemon (Cuprate) as the local chain source, instead of
# spawning `monerod`. OFF by default: `cuprated` is pre-1.0 and is not published
# to crates.io (every Cuprate crate there is a `0.0.0-placeholder` name
# reservation), so this pins a git revision and pulls a large tree (RandomX,
# spawning `monerod`. ON in the Linux TUI/release binary (this default). A build
# with `--no-default-features` does not include it. `cuprated` is pre-1.0 and is
# not published to crates.io (every Cuprate crate there is a `0.0.0-placeholder`
# name reservation), so this pins a git revision and pulls a large tree (RandomX,
# fjall, axum/hyper, rayon). See `docs/WALLET.md`, "The in-process chain daemon".
#
# Cuprate's own `arti` feature stays OFF (and is off in its default feature set,