onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent bcf7ec31c1
wallet: app-owned child lifecycle + user-chosen ChainSource
The app now owns monero-wallet-rpc (and monerod when the chain source is
local) instead of requiring the user to start them and export
ONIONWIRE_WALLET_RPC.

- ChainSource enum: None / Local { monerod_bin, datadir } / Remote { host,
  port }. No default remote node; Remote is only constructed from explicit
  user input. A .onion Remote is refused without a SOCKS proxy (separate
  card).
- WalletChild in src/wallet_child.rs spawns monero-wallet-rpc with
  --rpc-bind-ip 127.0.0.1, a random free loopback port, generated
  --rpc-login, and --wallet-dir /wallet; monerod too for a
  local source. --trusted-daemon is never passed.
- Generated RPC creds are sealed in the encrypted SQLCipher store
  (wallet_child table, AEAD on top of whole-db encryption), never a
  plaintext file. The Wallet client is built from the generated loopback
  URL, not from_env.
- Readiness predicate: chain_ready() requires synchronized==true, height>0,
  height>=target_height; can_spend() and can_verify_receipts() gate on it.
  Unsynced -> receipts stay verified=0, spend refused with a clear message.
- Backend-aware timeouts: local management calls keep 5s; chain-dependent
  calls (get_info, get_transfers, transfer) get 60s (CHAIN_RPC_TIMEOUT),
  because a first sync or a remote daemon outlasts 5s and a 5s cap there
  is what left receipts permanently unverified.
- node.rs ingest_receipt gates on can_verify_receipts() instead of
  configured() alone.
- docs/WALLET.md rewritten for the child lifecycle + chain source.

Base: feat/wallet-create-import (PR #66). Do not rebase onto main.

Co-Authored-By: Hermes Agent <agent@local>
2026-09-18 09:28:11 -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 docs: Cuprate cross-compiles for Android aarch64 (NDK r28c, minSdk 26) 2026-09-16 23:58:25 -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 Merge pull request 't_2fb507c6: F8 rotate prekey (Node::rotate_prekey + invite re-encode)' (#101) from wt/t_2fb507c6 into main 2026-09-18 01:21:45 +00:00
TUI.md feat(tui): join outbox rows to chat rows by message id 2026-09-12 17:12:30 -04:00
WALLET.md wallet: app-owned child lifecycle + user-chosen ChainSource 2026-09-18 09:28:11 -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.