onionwire/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent 8331a2dde6
All checks were successful
ci / test (pull_request) Successful in 4m1s
ci / sdk (pull_request) Successful in 1m2s
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-14 19:57:21 -04:00
..
backup.rs feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key) 2026-09-12 13:55:07 -04:00
dispatch.rs feat: tip frame (sign/verify/encode/decode), wallet balance + receive address, F6 wallet screen with QR, dispatch Kind::Tip 2026-09-12 23:13:22 -04:00
file.rs Merge branch 'main' into wt/t_fc02d8b6 2026-09-12 04:11:00 +00:00
frame.rs Add Noise IK encrypted stream over Arti. 2026-09-10 02:07:40 -04:00
hs.rs feat(core,sdk): explicit Tor lifecycle — stop, flush, observable state 2026-09-12 15:10:29 -04:00
lib.rs wallet: app-owned child lifecycle + user-chosen ChainSource 2026-09-14 19:57:21 -04:00
loc.rs feat(core): zeroize the profile/loc signing copy and the TUI passphrase buffer 2026-09-12 15:41:54 -04:00
main.rs fix(cli): hide store passphrase like a password prompt 2026-09-10 21:10:50 -04:00
node.rs wallet: app-owned child lifecycle + user-chosen ChainSource 2026-09-14 19:57:21 -04:00
outbox.rs feat(outbox): local retry queue for chat sends 2026-09-12 14:39:14 -04:00
pay.rs feat: tip frame (sign/verify/encode/decode), wallet balance + receive address, F6 wallet screen with QR, dispatch Kind::Tip 2026-09-12 23:13:22 -04:00
profile.rs feat(core): zeroize the profile/loc signing copy and the TUI passphrase buffer 2026-09-12 15:41:54 -04:00
qr.rs feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key) 2026-09-12 13:55:07 -04:00
ratelimit.rs feat: incoming rate limit, identity backup, v0.2.0 2026-09-10 14:50:01 -04:00
sanitize.rs [verified] sanitize peer chat/control/bidi before store and TUI render 2026-09-11 23:42:48 -04:00
session.rs Merge branch 'main' into feat/zeroize-secrets 2026-09-12 19:06:50 +00:00
store.rs wallet: app-owned child lifecycle + user-chosen ChainSource 2026-09-14 19:57:21 -04:00
tui.rs wallet: create/import in-app (no key paste on create) + opt-in spend 2026-09-13 23:25:25 -04:00
wallet.rs wallet: app-owned child lifecycle + user-chosen ChainSource 2026-09-14 19:57:21 -04:00
wallet_child.rs wallet: app-owned child lifecycle + user-chosen ChainSource 2026-09-14 19:57:21 -04:00