DanS
5586f334a4
feat(lite): real backend integration — controller, M0-M2a wiring, smoke tool, tests
- LiteWalletController (src/wallet/lite_wallet_controller.*): App-owned; runs real
create/open/restore via the linked SDXL bridge with allowBridgeCalls=true; wipes
seed/passphrase with sodium_memzero; persists on a ready wallet. M2a:
applyLiteRefreshModelToWalletState maps a parsed refresh bundle into WalletState
(zatoshi->DRGX, z/t split, tx typing + confirmations, sync progress).
- App wiring: liteWallet() accessor + init() construction when supportsLiteBackend();
persist -> settings save.
- settings_page: "Validate" reroutes to the controller for real execution (validation-
only fallback otherwise); wipes UI secret buffers after submit.
- chain name default -> "main" with load-time migration of legacy "DRAGONX"
(settings.cpp), preventing the backend "Unknown chain" panic.
- M0: build.sh --lite-backend flag; lite_smoke real-backend tool + CMake targets;
tests/fake_lite_backend.h deterministic harness.
- Tests (test_phase4): injectable-fake bridge, controller lifecycle, chain-name
migration, refresh->WalletState mapping; plus the lite test-suite churn-cleanup rewrite.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 21:15:44 -05:00
..
2026-06-04 21:15:28 -05:00
2026-06-04 21:15:44 -05:00
2026-04-29 12:47:57 -05:00
2026-05-05 03:22:14 -05:00
2026-04-29 12:47:57 -05:00
2026-03-12 00:13:27 -05:00
2026-03-17 14:57:12 -05:00
2026-05-05 03:22:14 -05:00
2026-06-04 21:15:28 -05:00
2026-06-04 21:15:44 -05:00
2026-05-05 03:22:14 -05:00
2026-06-04 21:15:44 -05:00
2026-06-04 21:15:28 -05:00
2026-06-04 21:15:28 -05:00
2026-06-04 21:15:28 -05:00
2026-06-04 21:15:44 -05:00
2026-06-04 21:15:44 -05:00
2026-05-05 03:22:14 -05:00