diff options
| author | Your Name <you@example.com> | 2026-05-21 15:44:46 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-21 15:44:46 +0530 |
| commit | 243e4808246555f86d464d1c476681a902e644ff (patch) | |
| tree | 4334ebf0f8c2e2ee7f5ebccb93dedd68a2e95b18 /tests/unit/test_session_payment_method | |
| parent | 46d9c97e11ea0b03a7dc03fdef6bd360cbe53d44 (diff) | |
feat(wallet): lazy keyset loading with exponential backoff + jitter
- Remove eager load_keysets() from init_wallet(), load on first use
- Add ensure_keysets() with binary exponential backoff + random jitter
- Guard all wallet operations (receive, send, melt, swap_all) with ensure_keysets()
- Skip checkstate on TLS failure, let wallet swap verify proofs instead
- Pin HTTP server to core 0 (fixes TLS cert verification in checkstate)
- Rewrite nucula http.c to use manual open/write/read (same as working health probe)
- Disable hardware MPI (CONFIG_MBEDTLS_HARDWARE_MPI=n)
- Add http.h stub for unit tests
Known issue: progressive TLS failure after 2-3 connections (PK verify 0x4290),
wallet receive swap fails. Needs deeper mbedTLS/PSRAM investigation.
Diffstat (limited to 'tests/unit/test_session_payment_method')
0 files changed, 0 insertions, 0 deletions