onionwire/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent 6c1fc5008a
wallet_child: one contract for a start that fails part way
Settle the contract the red feature-gated test was fighting, and make the code
and both tests express it: a start that fails after the chain daemon came up is
all or nothing, the same contract
node::tests::a_missing_binary_fails_the_start_and_leaves_no_child asserts one
level up. A daemon left running behind an error has no owner (the caller gets
the error back, not the client), no handle to stop it, and holds 18081 against
the next start; what a retry reuses is the chain datadir on disk, never a
process that outlived its owner. start_with_creds already behaved that way, so
this states the contract where the stop happens rather than changing it.

in_process_source_launches_a_daemon_and_stop_shuts_it_down was red because its
fake monero-wallet-rpc never binds the port its own readiness gate probes:
start() returns that error, the test discarded it with `let _ =`, and it then
asserted the daemon had survived a failed start. It now holds the published
port the way the module's other start tests do
(test_support::PublishedPortHold) and expects the start to succeed, with every
assertion it had kept. The failure path gets its own test instead, which pins
the tear-down: neither child running, the daemon's port closed, the chain
datadir kept.
2026-09-27 23:16:30 -04:00
..
backup.rs feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key) 2026-09-12 13:55:07 -04:00
cuprate.rs fix(cuprate): seed XDG so Android parse does not poison LazyLock 2026-09-19 17:54:44 -04:00
dispatch.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -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 store: a wallet catalogue in the encrypted db 2026-09-21 10:21:48 -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 tui: F7 becomes the node-setup screen, and F6 goes back to being the wallet 2026-09-27 20:06:51 -04:00
outbox.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -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
ratchet.rs ratchet: reject frames under MIN_FRAME_LEN before indexing the version byte 2026-09-16 19:50:36 -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: actually open the wallet file, and remember its passphrase 2026-09-22 12:52:08 -04:00
tui.rs tui: the chain row says when this build has no in-process daemon 2026-09-27 23:16:10 -04:00
wallet.rs wallet: optional seed-offset passphrase on import 2026-09-25 00:42:44 -04:00
wallet_child.rs wallet_child: one contract for a start that fails part way 2026-09-27 23:16:30 -04:00