Some checks failed
Rust / Build on macOS-latest (push) Has been cancelled
Rust / Build on ubuntu-16.04 (push) Has been cancelled
Rust / Build on windows-latest (push) Has been cancelled
Rust / Linux ARMv7 (push) Has been cancelled
Rust / Linux ARM64 (push) Has been cancelled
Rust / Build on ubuntu-latest (push) Has been cancelled
- Add shutdown_flag (AtomicBool) to LightClient for clean thread termination - Mempool monitor threads check shutdown flag and exit gracefully - Add pub fn shutdown() method to set the flag - Atomic wallet save: write to .dat.tmp then rename, preventing corruption on crash - Create .dat.bak backup before each save - Auto-recovery on startup: if wallet file missing/corrupted, restore from .bak