diff --git a/crates/onionwire-sdk/Cargo.lock b/crates/onionwire-sdk/Cargo.lock index fa1d2d2..d674106 100644 --- a/crates/onionwire-sdk/Cargo.lock +++ b/crates/onionwire-sdk/Cargo.lock @@ -146,15 +146,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "arc-swap" -version = "1.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" -dependencies = [ - "rustversion", -] - [[package]] name = "argon2" version = "0.5.3" @@ -409,66 +400,12 @@ dependencies = [ "bytemuck", ] -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - [[package]] name = "autocfg" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" -[[package]] -name = "axum" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" -dependencies = [ - "axum-core", - "bytes", - "futures-util", - "http", - "http-body", - "http-body-util", - "hyper", - "hyper-util", - "itoa", - "matchit", - "memchr", - "mime", - "percent-encoding", - "pin-project-lite", - "serde_core", - "serde_json", - "serde_path_to_error", - "sync_wrapper", - "tokio", - "tower", - "tower-layer", - "tower-service", -] - -[[package]] -name = "axum-core" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" -dependencies = [ - "bytes", - "futures-core", - "http", - "http-body", - "http-body-util", - "mime", - "pin-project-lite", - "sync_wrapper", - "tower-layer", - "tower-service", -] - [[package]] name = "base16ct" version = "0.2.0" @@ -506,21 +443,6 @@ dependencies = [ "unty", ] -[[package]] -name = "bit-set" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" - [[package]] name = "bitflags" version = "1.3.2" @@ -532,10 +454,6 @@ name = "bitflags" version = "2.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" -dependencies = [ - "bytemuck", - "serde_core", -] [[package]] name = "bitvec" @@ -558,19 +476,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "blake3" -version = "1.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" -dependencies = [ - "arrayvec", - "cc", - "cfg-if", - "constant_time_eq", - "cpufeatures 0.3.1", -] - [[package]] name = "blanket" version = "0.3.0" @@ -601,30 +506,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "borsh" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a" -dependencies = [ - "borsh-derive", - "bytes", - "cfg_aliases", -] - -[[package]] -name = "borsh-derive" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12cdfe656708a01f89b451a7d36466e6fe6c414de0aa18fc54f864f6f9ca9f56" -dependencies = [ - "once_cell", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 3.0.5", -] - [[package]] name = "bs58" version = "0.5.1" @@ -662,20 +543,6 @@ name = "bytemuck" version = "1.25.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" -dependencies = [ - "bytemuck_derive", -] - -[[package]] -name = "bytemuck_derive" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.5", -] [[package]] name = "byteorder" @@ -683,26 +550,11 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" -[[package]] -name = "byteorder-lite" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" - [[package]] name = "bytes" version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" -dependencies = [ - "serde", -] - -[[package]] -name = "byteview" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d74937895e761d5984206f82ca8ff7725d0fd8021921011921894b41ab1b9f7" [[package]] name = "camino" @@ -770,12 +622,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" -[[package]] -name = "cfg_aliases" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" - [[package]] name = "chacha20" version = "0.9.1" @@ -865,7 +711,6 @@ dependencies = [ "anstyle", "clap_lex", "strsim 0.11.1", - "terminal_size", ] [[package]] @@ -886,15 +731,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" -[[package]] -name = "cmake" -version = "0.1.58" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" -dependencies = [ - "cc", -] - [[package]] name = "cmov" version = "0.5.4" @@ -926,12 +762,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "compare" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0095f6103c2a8b44acd6fd15960c801dafebf02e21940360833e0673f48ba7" - [[package]] name = "compression-codecs" version = "0.4.41" @@ -963,34 +793,6 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" -[[package]] -name = "const_format" -version = "0.2.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4481a617ad9a412be3b97c5d403fef8ed023103368908b9c50af598ff467cc1e" -dependencies = [ - "const_format_proc_macros", - "konst", -] - -[[package]] -name = "const_format_proc_macros" -version = "0.2.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-xid", -] - -[[package]] -name = "constant_time_eq" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" - [[package]] name = "convert_case" version = "0.10.0" @@ -1048,47 +850,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossbeam" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e71406cd8807725f7ac2f999a4cdd32e98f829fdf65f528343cebf945e41df1e" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "crossbeam-queue" version = "0.3.14" @@ -1098,16 +859,6 @@ dependencies = [ "crossbeam-utils", ] -[[package]] -name = "crossbeam-skiplist" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df29de440c58ca2cc6e587ec3d22347551a32435fbde9d2bff64e78a9ffa151b" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - [[package]] name = "crossbeam-utils" version = "0.8.23" @@ -1153,17 +904,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "crypto-bigint" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a52aa3fcda4e6302a9f48734f234d35d4721b96f8fe07d073f07ce9df4f0271" -dependencies = [ - "cpubits", - "ctutils", - "num-traits", -] - [[package]] name = "crypto-common" version = "0.1.7" @@ -1211,491 +951,6 @@ dependencies = [ "cmov", ] -[[package]] -name = "cuprate-address-book" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "borsh", - "cuprate-constants", - "cuprate-p2p-core", - "cuprate-pruning", - "futures", - "indexmap 2.14.2", - "rand 0.8.8", - "thiserror 2.0.20", - "tokio", - "tokio-util", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-async-buffer" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "futures", - "pin-project", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-blockchain" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "arc-swap", - "bytemuck", - "bytes", - "crossbeam", - "cuprate-constants", - "cuprate-helper", - "cuprate-pruning", - "cuprate-types", - "fjall", - "futures", - "indexmap 2.14.2", - "monero-oxide", - "rand 0.8.8", - "rayon", - "serde", - "tapes", - "thiserror 2.0.20", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-consensus" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "cfg-if", - "cuprate-consensus-context", - "cuprate-consensus-rules", - "cuprate-helper", - "cuprate-types", - "hex", - "indexmap 2.14.2", - "monero-oxide", - "rand 0.8.8", - "rayon", - "thiserror 2.0.20", - "thread_local", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-consensus-context" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "arc-swap", - "cuprate-consensus-rules", - "cuprate-helper", - "cuprate-types", - "futures", - "hex", - "monero-oxide", - "randomx-rs", - "rayon", - "strum", - "thread_local", - "tokio", - "tokio-util", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-consensus-rules" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "cfg-if", - "crypto-bigint 0.7.5", - "cuprate-constants", - "cuprate-cryptonight", - "cuprate-helper", - "cuprate-types", - "curve25519-dalek", - "hex", - "hex-literal 1.1.0", - "indexmap 2.14.2", - "monero-oxide", - "rand 0.8.8", - "rayon", - "thiserror 2.0.20", - "tracing", -] - -[[package]] -name = "cuprate-constants" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" - -[[package]] -name = "cuprate-cryptonight" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "digest 0.10.7", - "groestl", - "jh", - "keccak 0.1.6", - "seq-macro", - "sha3 0.10.9", - "skein", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-dandelion-tower" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "futures", - "rand 0.8.8", - "rand_distr", - "thiserror 2.0.20", - "tokio", - "tokio-util", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-epee-encoding" -version = "0.5.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "bytes", - "cuprate-fixed-bytes", - "cuprate-hex", - "paste", - "ref-cast", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-fast-sync" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "blake3", - "clap", - "cuprate-blockchain", - "cuprate-consensus", - "cuprate-consensus-context", - "cuprate-helper", - "cuprate-hex", - "cuprate-p2p", - "cuprate-p2p-core", - "cuprate-types", - "fjall", - "futures", - "hex", - "monero-oxide", - "rayon", - "serde_json", - "tokio", - "tower", - "tracing-subscriber", -] - -[[package]] -name = "cuprate-fixed-bytes" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "bytes", - "serde", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-helper" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "chrono", - "cuprate-constants", - "curve25519-dalek", - "dirs", - "futures", - "libc", - "monero-oxide", - "rayon", - "serde", - "windows", -] - -[[package]] -name = "cuprate-hex" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "hex", - "serde", -] - -[[package]] -name = "cuprate-json-rpc" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "serde", - "serde_json", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-levin" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "bitflags 2.13.2", - "bytes", - "cfg-if", - "cuprate-helper", - "thiserror 2.0.20", - "tokio-util", - "tracing", -] - -[[package]] -name = "cuprate-p2p" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "borsh", - "bytes", - "cuprate-address-book", - "cuprate-async-buffer", - "cuprate-constants", - "cuprate-fixed-bytes", - "cuprate-helper", - "cuprate-p2p-core", - "cuprate-pruning", - "cuprate-types", - "cuprate-wire", - "futures", - "indexmap 2.14.2", - "monero-oxide", - "pin-project", - "rand 0.8.8", - "rand_distr", - "rayon", - "thiserror 2.0.20", - "tokio", - "tokio-stream", - "tokio-util", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-p2p-core" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "async-trait", - "borsh", - "cfg-if", - "cuprate-helper", - "cuprate-pruning", - "cuprate-types", - "cuprate-wire", - "futures", - "hex", - "hex-literal 1.1.0", - "rand 0.8.8", - "thiserror 2.0.20", - "tokio", - "tokio-stream", - "tokio-util", - "tower", - "tracing", -] - -[[package]] -name = "cuprate-p2p-transport" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "async-trait", - "cuprate-p2p-core", - "cuprate-wire", - "futures", - "tokio", - "tokio-socks", - "tokio-util", -] - -[[package]] -name = "cuprate-pruning" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "borsh", - "cuprate-constants", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-rpc-interface" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "anyhow", - "axum", - "cuprate-epee-encoding", - "cuprate-helper", - "cuprate-json-rpc", - "cuprate-rpc-types", - "futures", - "paste", - "serde", - "serde_json", - "tower", -] - -[[package]] -name = "cuprate-rpc-types" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "cuprate-epee-encoding", - "cuprate-fixed-bytes", - "cuprate-helper", - "cuprate-hex", - "cuprate-p2p-core", - "cuprate-types", - "hex", - "monero-oxide", - "paste", - "serde", - "serde_json", -] - -[[package]] -name = "cuprate-txpool" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "bitflags 2.13.2", - "blake3", - "bytemuck", - "cuprate-helper", - "cuprate-types", - "fjall", - "futures", - "hex", - "monero-oxide", - "rayon", - "thiserror 2.0.20", - "tower", -] - -[[package]] -name = "cuprate-types" -version = "0.0.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "bitflags 2.13.2", - "bytes", - "cfg-if", - "cuprate-epee-encoding", - "cuprate-fixed-bytes", - "cuprate-helper", - "cuprate-hex", - "indexmap 2.14.2", - "monero-oxide", - "proptest", - "proptest-derive", - "serde", - "strum", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprate-wire" -version = "0.1.0" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "bitflags 2.13.2", - "borsh", - "bytes", - "cuprate-epee-encoding", - "cuprate-fixed-bytes", - "cuprate-helper", - "cuprate-levin", - "cuprate-types", - "serde", - "thiserror 2.0.20", -] - -[[package]] -name = "cuprated" -version = "0.1.0-preview" -source = "git+https://github.com/Cuprate/cuprate?rev=4f8fcd1bf468f566fcd89c460d50de4adb6825bf#4f8fcd1bf468f566fcd89c460d50de4adb6825bf" -dependencies = [ - "anyhow", - "axum", - "borsh", - "bytes", - "clap", - "const_format", - "cuprate-address-book", - "cuprate-blockchain", - "cuprate-consensus", - "cuprate-consensus-context", - "cuprate-consensus-rules", - "cuprate-constants", - "cuprate-cryptonight", - "cuprate-dandelion-tower", - "cuprate-fast-sync", - "cuprate-fixed-bytes", - "cuprate-helper", - "cuprate-hex", - "cuprate-p2p", - "cuprate-p2p-core", - "cuprate-p2p-transport", - "cuprate-pruning", - "cuprate-rpc-interface", - "cuprate-rpc-types", - "cuprate-txpool", - "cuprate-types", - "cuprate-wire", - "dashmap", - "fjall", - "futures", - "hex", - "hyper", - "hyper-util", - "indexmap 2.14.2", - "monero-address", - "monero-oxide", - "nu-ansi-term", - "pin-project-lite", - "rayon", - "serde", - "serde_json", - "sysinfo", - "thiserror 2.0.20", - "tokio", - "tokio-util", - "toml 1.1.6+spec-1.1.0", - "toml_edit 0.25.14+spec-1.1.0", - "tower", - "tower-http", - "tracing", - "tracing-appender", - "tracing-subscriber", -] - [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -1826,20 +1081,6 @@ dependencies = [ "syn 3.0.5", ] -[[package]] -name = "dashmap" -version = "6.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" -dependencies = [ - "cfg-if", - "crossbeam-utils", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core", -] - [[package]] name = "data-encoding" version = "2.11.1" @@ -2143,7 +1384,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ "base16ct", - "crypto-bigint 0.5.5", + "crypto-bigint", "digest 0.10.7", "ff", "generic-array", @@ -2301,23 +1542,6 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e0f1c7c3a72c66fd80abe965175f7523475c0489a87d3ff9d6e8c87d87a9d2d" -[[package]] -name = "fjall" -version = "3.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd201c93927cdf4712e8f7d4c9c8d34d68c7534380c05d4a58864a309f91c33f" -dependencies = [ - "byteorder-lite", - "byteview", - "dashmap", - "flume", - "log", - "lsm-tree", - "lz4_flex", - "tempfile", - "xxhash-rust", -] - [[package]] name = "flate2" version = "1.1.10" @@ -2335,15 +1559,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "749cff877dc1af878a0b31a41dd221a753634401ea0ef2f87b62d3171522485a" -[[package]] -name = "flume" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be" -dependencies = [ - "spin 0.9.9", -] - [[package]] name = "fnv" version = "1.0.7" @@ -2609,15 +1824,6 @@ dependencies = [ "scroll", ] -[[package]] -name = "groestl" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343cfc165f92a988fd60292f7a0bfde4352a5a0beff9fbec29251ca4e9676e4d" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "group" version = "0.13.0" @@ -2647,12 +1853,6 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - [[package]] name = "hashbrown" version = "0.15.5" @@ -2704,21 +1904,6 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] - -[[package]] -name = "hex-literal" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" - -[[package]] -name = "hex-literal" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e712f64ec3850b98572bffac52e2c6f282b29fe6c5fa6d42334b30be438d95c1" [[package]] name = "hkdf" @@ -2754,29 +1939,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-body" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" -dependencies = [ - "bytes", - "http", -] - -[[package]] -name = "http-body-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" -dependencies = [ - "bytes", - "futures-core", - "http", - "http-body", - "pin-project-lite", -] - [[package]] name = "httparse" version = "1.10.1" @@ -2815,41 +1977,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "hyper" -version = "1.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43" -dependencies = [ - "atomic-waker", - "bytes", - "futures-channel", - "futures-core", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "smallvec", - "tokio", -] - -[[package]] -name = "hyper-util" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" -dependencies = [ - "bytes", - "http", - "http-body", - "hyper", - "pin-project-lite", - "tokio", - "tower-service", -] - [[package]] name = "iana-time-zone" version = "0.1.65" @@ -3013,7 +2140,6 @@ checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" dependencies = [ "equivalent", "hashbrown 0.17.1", - "rayon", "serde", "serde_core", ] @@ -3078,15 +2204,6 @@ dependencies = [ "syn 3.0.5", ] -[[package]] -name = "interval-heap" -version = "0.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11274e5e8e89b8607cfedc2910b6626e998779b48a019151c7604d0adcb86ac6" -dependencies = [ - "compare", -] - [[package]] name = "inventory" version = "0.3.24" @@ -3135,17 +2252,6 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" -[[package]] -name = "jh" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f65735f9e73adc203417d2e05352aef71d7e832ec090f65de26c96c9ec563aa5" -dependencies = [ - "digest 0.10.7", - "hex-literal 0.4.1", - "ppv-lite86", -] - [[package]] name = "jiff" version = "0.2.35" @@ -3260,21 +2366,6 @@ dependencies = [ "cpufeatures 0.3.1", ] -[[package]] -name = "konst" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "128133ed7824fcd73d6e7b17957c5eb7bacb885649bd8c69708b2331a10bcefb" -dependencies = [ - "konst_macro_rules", -] - -[[package]] -name = "konst_macro_rules" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37" - [[package]] name = "kqueue" version = "1.2.1" @@ -3301,7 +2392,7 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" dependencies = [ - "spin 0.9.9", + "spin", ] [[package]] @@ -3408,37 +2499,6 @@ dependencies = [ "hashbrown 0.17.1", ] -[[package]] -name = "lsm-tree" -version = "3.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5498808f4d41cf785079d3ef3f28716f1b4364af1b512f3097bfb651bded1b3e" -dependencies = [ - "byteorder-lite", - "byteview", - "crossbeam-skiplist", - "enum_dispatch", - "interval-heap", - "log", - "lz4_flex", - "quick_cache", - "rustc-hash", - "self_cell", - "sfa", - "tempfile", - "varint-rs", - "xxhash-rust", -] - -[[package]] -name = "lz4_flex" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef0d4ed8669f8f8826eb00dc878084aa8f253506c4fd5e8f58f5bce72ddb97e" -dependencies = [ - "twox-hash", -] - [[package]] name = "matchers" version = "0.2.0" @@ -3448,12 +2508,6 @@ dependencies = [ "regex-automata", ] -[[package]] -name = "matchit" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" - [[package]] name = "md-5" version = "0.10.6" @@ -3491,12 +2545,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - [[package]] name = "minimal-lexical" version = "0.2.1" @@ -3525,147 +2573,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "monero-address" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "monero-base58", - "monero-ed25519", - "monero-io", - "monero-primitives", - "thiserror 2.0.20", - "zeroize", -] - -[[package]] -name = "monero-base58" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "monero-primitives", - "std-shims", -] - -[[package]] -name = "monero-borromean" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "curve25519-dalek", - "monero-ed25519", - "monero-io", - "std-shims", - "zeroize", -] - -[[package]] -name = "monero-bulletproofs" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "curve25519-dalek", - "monero-bulletproofs-generators", - "monero-ed25519", - "monero-io", - "monero-primitives", - "rand_core 0.6.4", - "std-shims", - "thiserror 2.0.20", - "zeroize", -] - -[[package]] -name = "monero-bulletproofs-generators" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "curve25519-dalek", - "monero-ed25519", - "monero-io", - "monero-primitives", - "std-shims", -] - -[[package]] -name = "monero-clsag" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "curve25519-dalek", - "group", - "monero-ed25519", - "monero-io", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "std-shims", - "subtle", - "thiserror 2.0.20", - "zeroize", -] - -[[package]] -name = "monero-ed25519" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "crypto-bigint 0.5.5", - "curve25519-dalek", - "monero-io", - "rand_core 0.6.4", - "sha3 0.10.9", - "std-shims", - "subtle", - "zeroize", -] - -[[package]] -name = "monero-io" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "std-shims", -] - -[[package]] -name = "monero-mlsag" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "curve25519-dalek", - "monero-ed25519", - "monero-io", - "std-shims", - "thiserror 2.0.20", - "zeroize", -] - -[[package]] -name = "monero-oxide" -version = "0.1.4-alpha" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "curve25519-dalek", - "hex-literal 1.1.0", - "monero-borromean", - "monero-bulletproofs", - "monero-clsag", - "monero-ed25519", - "monero-io", - "monero-mlsag", - "monero-primitives", - "std-shims", - "zeroize", -] - -[[package]] -name = "monero-primitives" -version = "0.1.0" -source = "git+https://github.com/monero-oxide/monero-oxide.git?rev=946ec5f#946ec5f00ff071b129758ee8cba5528539fccfe4" -dependencies = [ - "sha3 0.10.9", -] - [[package]] name = "nom" version = "7.1.3" @@ -3859,7 +2766,6 @@ dependencies = [ "argon2", "arti-client", "chacha20poly1305", - "cuprated", "ed25519-dalek", "futures", "hkdf", @@ -3877,7 +2783,6 @@ dependencies = [ "sha3 0.10.9", "snow", "tokio", - "toml 0.8.23", "tor-cell", "tor-hsservice", "tor-rtcompat", @@ -4309,36 +3214,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "proptest" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" -dependencies = [ - "bit-set", - "bit-vec", - "bitflags 2.13.2", - "num-traits", - "rand 0.9.5", - "rand_chacha 0.9.0", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", - "unarray", -] - -[[package]] -name = "proptest-derive" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c57924a81864dddafba92e1bf92f9bf82f97096c44489548a60e888e1547549b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "pwd-grp" version = "1.0.2" @@ -4357,22 +3232,6 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d68782463e408eb1e668cf6152704bd856c78c5b6417adaee3203d8f4c1fc9ec" -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick_cache" -version = "0.6.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9c6658afe513a3b484e3abfdaa0d03ef3c0bbf017542c178dd55f94eb3051f9" -dependencies = [ - "equivalent", - "hashbrown 0.16.1", -] - [[package]] name = "quote" version = "1.0.47" @@ -4411,16 +3270,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_chacha 0.9.0", - "rand_core 0.9.5", -] - [[package]] name = "rand" version = "0.10.2" @@ -4442,16 +3291,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - [[package]] name = "rand_chacha" version = "0.10.0" @@ -4471,31 +3310,12 @@ dependencies = [ "getrandom 0.2.17", ] -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", -] - [[package]] name = "rand_core" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand 0.8.8", -] - [[package]] name = "rand_jitter" version = "0.6.1" @@ -4507,27 +3327,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "rand_xorshift" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" -dependencies = [ - "rand_core 0.9.5", -] - -[[package]] -name = "randomx-rs" -version = "1.4.1" -source = "git+https://github.com/Cuprate/randomx-rs.git?rev=76c2385#76c2385771ca5aca941e0991ebd822e6edb8d94d" -dependencies = [ - "bitflags 1.3.2", - "cc", - "cmake", - "libc", - "thiserror 1.0.69", -] - [[package]] name = "rangemap" version = "1.8.0" @@ -4600,26 +3399,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "rayon" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - [[package]] name = "rdrand" version = "0.9.0" @@ -4877,18 +3656,6 @@ version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" -[[package]] -name = "rusty-fork" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" -dependencies = [ - "fnv", - "quick-error", - "tempfile", - "wait-timeout", -] - [[package]] name = "ryu" version = "1.0.23" @@ -4996,12 +3763,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "self_cell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813" - [[package]] name = "semver" version = "1.0.28" @@ -5012,12 +3773,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "seq-macro" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" - [[package]] name = "serde" version = "1.0.229" @@ -5091,17 +3846,6 @@ dependencies = [ "zmij", ] -[[package]] -name = "serde_path_to_error" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" -dependencies = [ - "itoa", - "serde", - "serde_core", -] - [[package]] name = "serde_spanned" version = "0.6.9" @@ -5153,17 +3897,6 @@ dependencies = [ "syn 3.0.5", ] -[[package]] -name = "sfa" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1296838937cab56cd6c4eeeb8718ec777383700c33f060e2869867bd01d1175" -dependencies = [ - "byteorder-lite", - "log", - "xxhash-rust", -] - [[package]] name = "sha1" version = "0.10.7" @@ -5286,16 +4019,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649" -[[package]] -name = "skein" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96a90a220ab98dbbfeabeae7c558a79f37839c10b9ef55c77082a741a463cab7" -dependencies = [ - "digest 0.10.7", - "threefish", -] - [[package]] name = "slab" version = "0.4.12" @@ -5369,15 +4092,6 @@ name = "spin" version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" -dependencies = [ - "lock_api", -] - -[[package]] -name = "spin" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" [[package]] name = "spki" @@ -5449,17 +4163,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "std-shims" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "227c4f8561598188d0df96dbe749824576174bba278b5b6bb2eacff1066067d0" -dependencies = [ - "hashbrown 0.16.1", - "rustversion", - "spin 0.10.1", -] - [[package]] name = "strsim" version = "0.10.0" @@ -5499,12 +4202,6 @@ version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" -[[package]] -name = "symlink" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7973cce6668464ea31f176d85b13c7ab3bba2cb3b77a2ed26abd7801688010a" - [[package]] name = "syn" version = "1.0.109" @@ -5575,18 +4272,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" -[[package]] -name = "tapes" -version = "0.2.0" -source = "git+https://github.com/Cuprate/Tapes.git?rev=04562f4#04562f44fd8e029ce0caf7dfa993682ffe69837d" -dependencies = [ - "blake2", - "borsh", - "bytemuck", - "parking_lot", - "slab", -] - [[package]] name = "tempfile" version = "3.27.0" @@ -5600,16 +4285,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "terminal_size" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "230a1b821ccbd75b185820a1f1ff7b14d21da1e442e22c0863ea5f08771a8874" -dependencies = [ - "rustix", - "windows-sys 0.59.0", -] - [[package]] name = "textwrap" version = "0.16.3" @@ -5669,12 +4344,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "threefish" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a693d0c8cf16973fac5a93fbe47b8c6452e7097d4fcac49f3d7a18e39c76e62e" - [[package]] name = "time" version = "0.3.55" @@ -5742,7 +4411,6 @@ dependencies = [ "bytes", "libc", "mio", - "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", @@ -5761,29 +4429,6 @@ dependencies = [ "syn 3.0.5", ] -[[package]] -name = "tokio-socks" -version = "0.5.2" -source = "git+https://github.com/Cuprate/tokio-socks.git?rev=8737caf#8737caf429a86ab181954444fac4f9b917795b19" -dependencies = [ - "either", - "futures-util", - "thiserror 1.0.69", - "tokio", -] - -[[package]] -name = "tokio-stream" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", - "tokio-util", -] - [[package]] name = "tokio-util" version = "0.7.19" @@ -5794,12 +4439,8 @@ dependencies = [ "futures-core", "futures-io", "futures-sink", - "futures-util", - "libc", "pin-project-lite", - "slab", "tokio", - "tracing", ] [[package]] @@ -5870,7 +4511,6 @@ dependencies = [ "indexmap 2.14.2", "toml_datetime 1.1.1+spec-1.1.0", "toml_parser", - "toml_writer", "winnow 1.0.4", ] @@ -7010,54 +5650,6 @@ dependencies = [ "tor-memquota", ] -[[package]] -name = "tower" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" -dependencies = [ - "futures-core", - "futures-util", - "pin-project-lite", - "sync_wrapper", - "tokio", - "tokio-util", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-http" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a05a66a4fdd61cbbe0a1d755ffe0ca6aba159dd4820936a0ff8a8278245b9c" -dependencies = [ - "bitflags 2.13.2", - "bytes", - "http", - "http-body", - "http-body-util", - "percent-encoding", - "pin-project-lite", - "tokio", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - -[[package]] -name = "tower-service" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" - [[package]] name = "tracing" version = "0.1.44" @@ -7069,19 +5661,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-appender" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "050686193eb999b4bb3bc2acfa891a13da00f79734704c4b8b4ef1a10b368a3c" -dependencies = [ - "crossbeam-channel", - "symlink", - "thiserror 2.0.20", - "time", - "tracing-subscriber", -] - [[package]] name = "tracing-attributes" version = "0.1.31" @@ -7153,12 +5732,6 @@ dependencies = [ "syn 2.0.119", ] -[[package]] -name = "twox-hash" -version = "2.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5283634e518fe9e82c7b20520bb4bc209009fd16c82077c802f8111ecbb0117a" - [[package]] name = "typed-index-collections" version = "3.5.0" @@ -7175,12 +5748,6 @@ version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - [[package]] name = "uncased" version = "0.9.10" @@ -7403,12 +5970,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" -[[package]] -name = "varint-rs" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa6c38708f6257f1ec2ca7e5a11f9bbf58a27d7060078b6b333624968183d96" - [[package]] name = "vcpkg" version = "0.2.15" @@ -7438,15 +5999,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" -[[package]] -name = "wait-timeout" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] - [[package]] name = "walkdir" version = "2.5.0" diff --git a/crates/onionwire-sdk/Cargo.toml b/crates/onionwire-sdk/Cargo.toml index 5f209ec..a1a8227 100644 --- a/crates/onionwire-sdk/Cargo.toml +++ b/crates/onionwire-sdk/Cargo.toml @@ -17,16 +17,6 @@ resolver = "2" name = "onionwire_sdk" crate-type = ["cdylib", "lib"] -[features] -default = [] - -# The in-process Monero chain daemon (Cuprate). Off by default: it pulls a -# pinned `cuprated` git revision, ~152 crates and a C++ RandomX cross-build -# (+11.8 MiB on an aarch64 release binary). Without it the SDK can still store -# and read back a `ChainChoice.InProcessCuprate` setting — starting one fails -# with the core's "rebuild with --features cuprate-daemon" message. -cuprate-daemon = ["onionwire/cuprate-daemon"] - [dependencies] onionwire = { path = "../..", default-features = false, features = ["rustls"] } # `static-sqlite`: Android has no system libsqlite3 to link against. diff --git a/crates/onionwire-sdk/src/lib.rs b/crates/onionwire-sdk/src/lib.rs index 24bc2fb..ad2f077 100644 --- a/crates/onionwire-sdk/src/lib.rs +++ b/crates/onionwire-sdk/src/lib.rs @@ -25,7 +25,7 @@ //! The façade deliberately exposes only plain data (records + hex strings) so //! no TUI/ratatui type leaks into the AAR. -use std::path::{Path, PathBuf}; +use std::path::PathBuf; use std::sync::{Arc, Mutex, OnceLock}; use onionwire::Message; @@ -35,7 +35,7 @@ use onionwire::outbox::{DEFAULT_MAX_ATTEMPTS, OutboxEntry, OutboxStatus}; use onionwire::pay; use onionwire::qr; use onionwire::wallet::ChainSource; -use onionwire::wallet_child::{ChildConfig, WalletChildState}; +use onionwire::wallet_child::ChildConfig; uniffi::setup_scaffolding!(); @@ -244,10 +244,6 @@ pub struct FlushOutcome { #[derive(uniffi::Object)] pub struct Wire { node: Mutex>>, - /// `$ONIONWIRE_HOME` exactly as [`open_wire`] was given it. The SDK resolves - /// the per-identity defaults a caller cannot know (the in-process chain - /// data directory) against it, so Kotlin never has to invent a path. - home: PathBuf, } impl Wire { @@ -283,13 +279,11 @@ pub async fn open_wire(home: String, passphrase: String) -> WResult> { // with "Could not automatically determine the process-level CryptoProvider" // if no provider is resolvable. See `install_crypto_provider`. install_crypto_provider(); - let home = PathBuf::from(home); - let node = Node::start_with_passphrase(home.clone(), &passphrase) + let node = Node::start_with_passphrase(PathBuf::from(home), &passphrase) .await .map_err(WireError::new)?; Ok(Arc::new(Wire { node: Mutex::new(Some(node)), - home, })) } @@ -622,8 +616,7 @@ impl Wire { pub async fn start_wallet_child(&self) -> WResult { let node = self.node()?; node.start_wallet_child().map_err(WireError::new)?; - let source = node.wallet_child_config().source; - Ok(child_status(node.wallet_child_refresh().await, &source)) + Ok(child_status(node.wallet_child_refresh().await)) } /// Stop the wallet child and its daemon/SOCKS siblings. Idempotent: stopping @@ -639,9 +632,7 @@ impl Wire { /// /// Synchronous on purpose — it is safe to call from a UI refresh loop. pub fn wallet_status(&self) -> WResult { - let node = self.node()?; - let source = node.wallet_child_config().source; - Ok(child_status(node.wallet_child_status(), &source)) + Ok(child_status(self.node()?.wallet_child_status())) } /// The chain-source + binary settings the child spawns with, as stored. @@ -661,7 +652,7 @@ impl Wire { /// binary the caller named explicitly. pub fn set_chain_source(&self, config: ChainConfig) -> WResult<()> { self.node()? - .set_wallet_child_config(&child_config(config, &self.home)) + .set_wallet_child_config(&child_config(config)) .map_err(WireError::new) } @@ -729,13 +720,7 @@ fn from_core_flush(o: CoreFlushOutcome) -> FlushOutcome { } /// The core child settings a [`ChainConfig`] describes. -/// -/// `home` is the `$ONIONWIRE_HOME` the identity was opened with. An in-process -/// chain source with an empty `monerod_datadir` resolves to `home/chain` — the -/// per-identity directory the core documents for a local chain — so a Kotlin -/// caller never has to invent an absolute path. Every other kind uses exactly -/// what it was given (or the core's own default), unchanged. -fn child_config(cfg: ChainConfig, home: &Path) -> ChildConfig { +fn child_config(cfg: ChainConfig) -> ChildConfig { let source = match cfg.kind { ChainChoice::None => ChainSource::None, ChainChoice::Local => ChainSource::Local { @@ -743,11 +728,7 @@ fn child_config(cfg: ChainConfig, home: &Path) -> ChildConfig { datadir: PathBuf::from(cfg.monerod_datadir), }, ChainChoice::InProcessCuprate => ChainSource::InProcessCuprate { - datadir: if cfg.monerod_datadir.trim().is_empty() { - home.join("chain") - } else { - PathBuf::from(cfg.monerod_datadir) - }, + datadir: PathBuf::from(cfg.monerod_datadir), }, ChainChoice::Remote => ChainSource::Remote { host: cfg.host, @@ -810,56 +791,16 @@ fn chain_config(cfg: &ChildConfig) -> ChainConfig { } /// The core child snapshot as the SDK record. -/// -/// `source` is the configured chain source the snapshot came from: it is what -/// makes the node-scoped fields possible without the core exposing a second -/// liveness signal for the in-process daemon. -fn child_status( - status: onionwire::wallet_child::WalletChildStatus, - source: &ChainSource, -) -> WalletChildStatus { - let in_process = matches!(source, ChainSource::InProcessCuprate { .. }); +fn child_status(status: onionwire::wallet_child::WalletChildStatus) -> WalletChildStatus { WalletChildStatus { state: status.state.as_str().to_string(), running: status.running, configured: status.configured, chain_source: status.chain_source, - chain_in_process: in_process, - node_available: onionwire::cuprate::available(), - node_state: if in_process { - node_state(status.state).to_string() - } else { - String::new() - }, last_error: status.last_error, } } -/// The node-scoped word for the in-process daemon, derived from the core's own -/// child state. A projection, not a second state machine: no input here is a -/// timer, an env var, or a file. -/// -/// For an in-process source the wallet child is a client of *this app's* node, -/// so the core's own sequence is the node's: it cannot answer before the -/// daemon's loopback RPC is up (`connecting`), it answers but is behind the tip -/// while the daemon syncs (`syncing`), and `ready` requires a synced chain. -/// -/// Limit, stated rather than papered over: the core exposes no separate -/// liveness signal for the in-process node (it is a value this app owns, not a -/// process with a pid), so a daemon that dies *after* its wallet child came up -/// cannot be reported as `exited` — the chain probe fails and the state stays -/// `syncing`. It is never reported `ready`, and `exited` still means what it -/// says: the `monero-wallet-rpc` child is gone. -fn node_state(state: WalletChildState) -> &'static str { - match state { - WalletChildState::Off => "off", - WalletChildState::Connecting => "starting", - WalletChildState::Syncing => "syncing", - WalletChildState::Ready => "ready", - WalletChildState::Exited => "exited", - } -} - fn hex(bytes: &[u8]) -> String { let mut s = String::with_capacity(bytes.len() * 2); for b in bytes { @@ -975,10 +916,7 @@ pub struct ChainConfig { /// `Local` only. Data directory for the local daemon. /// /// `InProcessCuprate` also uses this field, as the chain data directory the - /// in-process daemon stores its (fjall) chain in. For that kind an empty - /// string means "use the per-identity default" (`$ONIONWIRE_HOME/chain`, - /// resolved by the SDK), so Kotlin never has to invent an absolute path; - /// `Local` still requires a real one. + /// in-process daemon stores its (fjall) chain in. pub monerod_datadir: String, /// `Remote` only. Daemon host. pub host: String, @@ -1012,23 +950,6 @@ pub struct WalletChildStatus { pub configured: bool, /// The chain-source label. pub chain_source: String, - /// The configured source runs the chain daemon **inside this app** (Cuprate) - /// rather than spawning `monerod` or dialling a remote one. When true, - /// `state` — and `node_state` — describe this app's own node *and* its - /// wallet child: there is no separate daemon process to report on, and the - /// wallet child is a client of the in-process node, not a peer of one. - pub chain_in_process: bool, - /// This build can actually start the in-process daemon (`cuprate-daemon`). - /// `false` means the option is offered by the store but a start can only - /// fail — grey it out before the user commits, do not start and catch. - pub node_available: bool, - /// The in-process daemon's own state, for a status line that names the - /// node: `off` / `starting` / `syncing` / `ready` / `exited`. Empty for - /// every other chain source, so a Kotlin line shows no node segment for a - /// spawned `monerod`. `starting` is the core's `connecting` read from the - /// node's side (the daemon's loopback RPC has not answered yet); it is - /// never persisted, polled from a file, or inferred from a timeout. - pub node_state: String, /// The last failure, display-ready. Never carries the generated login. pub last_error: Option, } @@ -1247,7 +1168,6 @@ mod tests { fn stopped_wire() -> Wire { Wire { node: Mutex::new(None), - home: PathBuf::from("/tmp/onionwire-sdk-stopped"), } } @@ -1691,184 +1611,4 @@ mod tests { assert!(matches!(err, WireError::Stopped { .. }), "got {err:?}"); } } - - /// The `$ONIONWIRE_HOME` a caller opened the identity with. `Wire` keeps it - /// internally; these tests drive the same two pure helpers - /// `set_chain_source` / `chain_source` go through. - fn sdk_home() -> PathBuf { - PathBuf::from("/data/user/0/dev.sirius.onionwire/files") - } - - /// A request as Kotlin builds one: only the fields the chosen kind uses are - /// set. - fn request(kind: ChainChoice, datadir: &str) -> ChainConfig { - ChainConfig { - kind, - monerod_bin: String::new(), - monerod_datadir: datadir.to_string(), - host: String::new(), - port: 0, - wallet_rpc_bin: "/data/app/nativeLibraryDir/libmonerowalletrpc.so".to_string(), - arti_bin: "/data/app/nativeLibraryDir/libarti.so".to_string(), - wallet_filename: "wallet".to_string(), - } - } - - /// Kotlin must not have to invent a chain data directory: an empty - /// `monerod_datadir` on the in-process source resolves to the per-identity - /// `chain` directory the core documents (`$ONIONWIRE_HOME/chain`), and no - /// binary path is involved at all. - #[test] - fn an_empty_in_process_datadir_resolves_under_the_wire_home() { - let child = child_config(request(ChainChoice::InProcessCuprate, ""), &sdk_home()); - assert_eq!( - child.source, - ChainSource::InProcessCuprate { - datadir: sdk_home().join("chain") - } - ); - assert_eq!(child.source_label(), "in-process node"); - } - - #[test] - fn an_explicit_in_process_datadir_is_taken_as_given() { - let given = "/data/user/0/dev.sirius.onionwire/files/chain-heavy"; - let child = child_config(request(ChainChoice::InProcessCuprate, given), &sdk_home()); - assert_eq!( - child.source, - ChainSource::InProcessCuprate { - datadir: PathBuf::from(given) - } - ); - } - - /// Every kind survives the round trip a settings screen does (`ChainConfig` - /// -> core `ChildConfig` -> `ChainConfig`), so a prefill shows what was - /// stored rather than a default. - #[test] - fn every_chain_choice_round_trips_through_the_sdk_mapping() { - for kind in [ - ChainChoice::None, - ChainChoice::Local, - ChainChoice::InProcessCuprate, - ChainChoice::Remote, - ] { - let mut req = request(kind, ""); - match kind { - ChainChoice::Local => { - req.monerod_bin = "/data/app/nativeLibraryDir/libmonerod.so".to_string(); - req.monerod_datadir = sdk_home().join("chain").display().to_string(); - } - ChainChoice::Remote => { - req.host = "peer.onion".to_string(); - req.port = 18081; - } - ChainChoice::None | ChainChoice::InProcessCuprate => {} - } - let back = chain_config(&child_config(req.clone(), &sdk_home())); - assert_eq!(back.kind, kind, "kind lost for {kind:?}"); - assert_eq!(back.wallet_rpc_bin, req.wallet_rpc_bin); - assert_eq!(back.arti_bin, req.arti_bin); - assert_eq!(back.wallet_filename, req.wallet_filename); - match kind { - ChainChoice::InProcessCuprate => { - assert_eq!( - back.monerod_datadir, - sdk_home().join("chain").display().to_string() - ); - assert!( - back.monerod_bin.is_empty(), - "no binary for an in-process node" - ); - } - ChainChoice::Local => { - assert_eq!(back.monerod_bin, req.monerod_bin); - assert_eq!(back.monerod_datadir, req.monerod_datadir); - } - ChainChoice::Remote => { - assert_eq!(back.host, "peer.onion"); - assert_eq!(back.port, 18081); - } - ChainChoice::None => { - assert_eq!(back.monerod_datadir, ""); - assert_eq!(back.host, ""); - } - } - } - } - - fn core_status(state: WalletChildState) -> onionwire::wallet_child::WalletChildStatus { - onionwire::wallet_child::WalletChildStatus { - state, - running: true, - configured: true, - chain_source: "in-process node".to_string(), - last_error: None, - } - } - - /// `wallet_status` speaks about the app's own node for the in-process - /// source: the five core states map to node-scoped words, and no state - /// becomes `ready` that the core did not report as ready. - #[test] - fn node_state_names_the_apps_own_chain_for_the_in_process_source() { - let source = ChainSource::InProcessCuprate { - datadir: sdk_home().join("chain"), - }; - let cases = [ - (WalletChildState::Off, "off"), - (WalletChildState::Connecting, "starting"), - (WalletChildState::Syncing, "syncing"), - (WalletChildState::Ready, "ready"), - (WalletChildState::Exited, "exited"), - ]; - for (state, want) in cases { - let status = child_status(core_status(state), &source); - assert_eq!(status.node_state, want, "state {state:?}"); - assert!(status.chain_in_process, "state {state:?}"); - // The core's own word is still carried verbatim, for a caller that - // renders `state` instead. - assert_eq!(status.state, state.as_str()); - } - } - - /// A source that is not the in-process node reports no node segment, so a - /// Kotlin status line cannot show a node word for a spawned `monerod` or a - /// remote daemon — and `state` still passes straight through. - #[test] - fn node_state_is_empty_for_every_other_chain_source() { - for source in [ - ChainSource::None, - ChainSource::Local { - monerod_bin: PathBuf::from("monerod"), - datadir: PathBuf::from("/chain"), - }, - ChainSource::Remote { - host: "peer.onion".to_string(), - port: 18081, - }, - ] { - let status = child_status(core_status(WalletChildState::Ready), &source); - assert!( - !status.chain_in_process, - "{} is not in-process", - source.label() - ); - assert_eq!( - status.node_state, - "", - "{} must have no node state", - source.label() - ); - assert_eq!(status.state, "ready"); - } - } - - /// Whether *this* build can start the node is a build fact the picker greys - /// the option out with before a start is attempted. - #[test] - fn node_available_reports_whether_this_build_has_the_daemon() { - let status = child_status(core_status(WalletChildState::Off), &ChainSource::None); - assert_eq!(status.node_available, onionwire::cuprate::available()); - } } diff --git a/docs/WALLET.md b/docs/WALLET.md index 0adc25d..4dd38eb 100644 --- a/docs/WALLET.md +++ b/docs/WALLET.md @@ -142,8 +142,8 @@ cargo build --release --features cuprate-daemon of work. What selects this source today is a `ChainSource::InProcessCuprate` record with a `datadir` written through `Node::set_wallet_child_config` (the SDK's `ChainConfig` path), and the daemon then starts with the child when the - wallet is started. The SDK's `ChainChoice.InProcessCuprate` is that variant - over UniFFI, and `kind = "cuprate"` is the record's spelling. + wallet is started. The SDK gains its own chain-choice variant in a follow-up + card; until then `kind = "cuprate"` is the record's spelling. ### Chain traffic over Tor (`.onion` daemons) @@ -329,9 +329,9 @@ wallet screen (F6): The state shown next to the wallet readouts is `off` / `connecting` / `syncing` / `ready` / `exited`, plus the chain-source label (`receive-only`, -`local node`, `in-process node`, `remote onion daemon`, `remote daemon`). It is -derived from the real process (`try_wait`) and the last probe — **never** from -env-var presence, and `ready` is never reported for a child that has died. +`local node`, `remote onion daemon`, `remote daemon`). It is derived from the +real process (`try_wait`) and the last probe — **never** from env-var presence, +and `ready` is never reported for a child that has died. - **`off`** — nothing started (or stopped). The default state. - **`connecting`** — the `monero-wallet-rpc` process is alive but has not @@ -357,15 +357,7 @@ credentials live*), so they survive a restart: - Android (UniFFI): `set_chain_source(ChainConfig)` / `chain_source()`, `start_wallet_child()`, `stop_wallet_child()`, `wallet_status()`. Pass absolute paths for `wallet_rpc_bin` / `arti_bin` (`nativeLibraryDir`); the - core never resolves a binary the caller named explicitly. `ChainChoice` has a - fourth variant, `InProcessCuprate`, for the in-process daemon: no binary path - and, with an empty `monerod_datadir`, the SDK resolves the chain directory to - `$ONIONWIRE_HOME/chain`. `start_wallet_child()` is the whole lifecycle for it - (the core launches the node *and* the wallet child in that one call), and - `wallet_status()` carries `chain_in_process` (this app's node is the source), - `node_available` (this build has `cuprate-daemon`) and `node_state` - (`off` / `starting` / `syncing` / `ready` / `exited`, empty for every other - source) beside the core's own five `state` words. + core never resolves a binary the caller named explicitly. So local mode is **available**, not wired off: a local chain source spawns `monerod` from the path you set, a `.onion` daemon spawns the `arti` SOCKS