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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue