onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
onionwire 0a91744924
All checks were successful
ci / test (pull_request) Successful in 5m50s
ci / sdk (pull_request) Successful in 1m34s
ci / fuzz (pull_request) Successful in 4m54s
android-ci / android (pull_request) Successful in 12m39s
wallet: show the chain daemon's sync height and target on the child status
The user watching an in-process Cuprate node on Android saw only a phase
word (connecting, with 'wallet connect: Connection refused (os error
111)') and asked to see height vs tip.

- WalletChildStatus gains height / target_height, and line() appends
  'sync h/t' when a probe read either number. No percentage is invented
  when the daemon reports no target (h/0 is honest), and an off/exited
  child reports 0/0.
- Node::wallet_child_refresh fills them: one wallet-RPC get_info now
  answers both the readiness gate and the numbers (Wallet::chain_info,
  with chain_ready built on the same parse), and when the wallet RPC is
  down while the chain source is local/in-process, the loopback daemon
  is asked directly (ChildConfig::daemon_probe_addr). A refused daemon
  stays 0/0 — unknown, not caught up. Only refresh dials; the draw path
  reads two atomics.
- UniFFI WalletChildStatus carries the same two u64 fields so Android can
  show them; SDK test covers the round trip.

Tests: cargo test --locked --target x86_64-unknown-linux-gnu (all
green), clippy -D warnings clean; crates/onionwire-sdk cargo test
--locked + clippy clean (separate workspace).
2026-09-19 19:38:52 -04:00
..
arti-socks-feasibility.md change app icon 2026-09-13 21:23:27 -04:00
ARTI_UPGRADE.md tls: default to Arti's rustls backend (drop OpenSSL from TLS) 2026-09-17 20:48:05 -04:00
cuprate-android-spike.md wallet: land the in-process Cuprate chain source on main 2026-09-18 13:45:59 -04:00
cuprate-launch-spike.md docs: Cuprate in-process launch spike A — testnet launch, RPC and sync evidence 2026-09-16 23:39:12 -04:00
option-a-recommendation.md change app icon 2026-09-13 21:23:27 -04:00
payment-integration-plan.md docs: Cuprate cross-compiles for Android aarch64 (NDK r28c, minSdk 26) 2026-09-16 23:58:25 -04:00
PROTOCOL.md tui: F8 rotate prekey + Node::rotate_prekey (hard cut, drops ratchet state) 2026-09-17 20:48:10 -04:00
README.md ci(release): manual, batched releases — no release on merge 2026-09-12 17:57:15 -04:00
RELEASING.md ci(android): build the APK+AAR on android/, src/ and crates/ changes 2026-09-14 12:16:40 -04:00
SECURITY_AUDIT.md docs: describe the SQLCipher store, not the pre-#43 design 2026-09-12 17:20:56 -04:00
THREAT_MODEL.md wallet: land the in-process Cuprate chain source on main 2026-09-18 13:45:59 -04:00
TUI.md Merge branch 'main' into onionwire/t_af8b509e-onionwire-tui-invite-mouse-copy-must-not 2026-09-19 14:46:33 +00:00
WALLET.md wallet: show the chain daemon's sync height and target on the child status 2026-09-19 19:38:52 -04:00

OnionWire docs

Read these in order if you are evaluating the protocol without the Rust:

  1. PROTOCOL.md — wire format, handshake, invite, frames. This is the document a second implementation would use.
  2. THREAT_MODEL.md — what v1 claims, and what it refuses to claim.
  3. SECURITY_AUDIT.md — in-house review notes and which findings are still open. Not a public third-party audit.

Operator / product docs stay in the root README. Android build notes: android/README.md. SDK: crates/onionwire-sdk/README.md. Maintainers cutting a release: RELEASING.md — manual, batched releases, not one per merge.