onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent c45b008e97
All checks were successful
ci / test (pull_request) Successful in 5m6s
ci / sdk (pull_request) Successful in 1m18s
android-ci / android (pull_request) Successful in 8m32s
monerod: spawn a pruned local monerod as the chain source
docs/WALLET.md §Chain source offered "spawn a local monerod (pruned
on-device)" but nothing implemented it. Add src/monerod.rs: find monerod
on PATH, mkdir $ONIONWIRE_HOME/monero at 0700, spawn it with
--prune-blockchain --non-interactive and its RPC bound to 127.0.0.1:18089,
poll the port for readiness, and stop it with SIGTERM (SIGKILL after 10s).

Locks held: loopback-only RPC, no --trusted-daemon, no SOCKS, no C-tor,
no clearnet default, no UDP, no new dependency (std only — SIGTERM goes
through kill(1) because the crate takes no libc). A missing binary or a
port that never answers is an Err the node logs and shrugs off: no local
chain is the honest state, not a crash.

Node wires it opt-in via ONIONWIRE_MONEROD=1: start_monerod spawns on a
blocking task during start_with_passphrase, shutdown() takes the daemon
and stops it off the reactor, and monerod_rpc_addr() reports where the
wallet child should point --daemon-address.

Tests (7, in-module): argv is pruned/loopback and carries no forbidden
flag; PATH lookup needs an executable; empty PATH and a missing binary
both Err with a clear message (and the data dir is 0700); default addr is
127.0.0.1:18089; wait_for_ready times out against a dead port; a fake
daemon spawns, reports its addr, and stops via SIGTERM (its pid is gone).
2026-09-16 21:00:28 -04:00
..
arti-socks-feasibility.md change app icon 2026-09-13 21:23:27 -04:00
ARTI_UPGRADE.md ci: watch upstream Arti/tor-* releases daily and file an upgrade issue 2026-09-12 13:55:07 -04:00
option-a-recommendation.md change app icon 2026-09-13 21:23:27 -04:00
payment-integration-plan.md change app icon 2026-09-13 21:23:27 -04:00
PROTOCOL.md docs: ratchet wire spec + forward-secrecy/PCS threat-model claims 2026-09-16 19:40:40 -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 docs: ratchet wire spec + forward-secrecy/PCS threat-model claims 2026-09-16 19:40:40 -04:00
TUI.md feat(tui): join outbox rows to chat rows by message id 2026-09-12 17:12:30 -04:00
WALLET.md monerod: spawn a pruned local monerod as the chain source 2026-09-16 21:00:28 -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.