LocalNet DX (1): Preflight Diagnostics, Multi-Instance Isolation & Snapshots
Validate port plans and host prerequisites with zero side effects before spawning a single process, and isolate, snapshot, and clone multiple named Canton networks side by side on one workstation or CI runner.
1. Zero-Side-Effect Preflight Diagnostics (daemon doctor · D1–D10)
When booting a multi-node local stack, even one occupied port or missing .dar archive can leave half the cluster started and half crashed. oltenrs daemon doctor accepts the exact same flags as daemon up (-f manifest or -c config, --name, --port-offset, --pg-url, --profile, --group) and evaluates all ten host checks (D1–D10) non-short-circuiting without spawning any child process.
2. Named Multi-Instance Isolation & Shell Binding (--name · status · env)
Running a feature-branch stack alongside a baseline stack on one laptop or shared CI runner requires strict separation of state directories, sockets, and TCP ports. Passing --name <NAME> (lowercase alphanumeric and hyphens, e.g., dev1, pr-42) registers an isolated workspace under $XDG_STATE_HOME/canton-rs/instances/<NAME>/ (mode-0600 instance.json).
3. Consistent State Snapshots & Cross-Window Cloning (snapshot · restore)
Capturing a seeded ledger after party onboarding and initial token issuance lets you rewind failed test runs in seconds or fork a live environment onto a new port window without repeating slow bootstrap scripts.
Switch language (KO) · LLMs.txt · oltenrs Home