upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/sdkconfig.defaults
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-21 15:44:46 +0530
committerYour Name <you@example.com>2026-05-21 15:44:46 +0530
commit243e4808246555f86d464d1c476681a902e644ff (patch)
tree4334ebf0f8c2e2ee7f5ebccb93dedd68a2e95b18 /sdkconfig.defaults
parent46d9c97e11ea0b03a7dc03fdef6bd360cbe53d44 (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 'sdkconfig.defaults')
-rw-r--r--sdkconfig.defaults2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdkconfig.defaults b/sdkconfig.defaults
index bed04fe..f67ce67 100644
--- a/sdkconfig.defaults
+++ b/sdkconfig.defaults
@@ -40,6 +40,7 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y
40CONFIG_MBEDTLS_DYNAMIC_BUFFER=y 40CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
41CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=4096 41CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=4096
42CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096 42CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096
43CONFIG_MBEDTLS_HARDWARE_MPI=n
43 44
44# PSRAM (ESP32-S3 has 8MB) 45# PSRAM (ESP32-S3 has 8MB)
45CONFIG_SPIRAM=y 46CONFIG_SPIRAM=y
@@ -48,4 +49,3 @@ CONFIG_SPIRAM_SPEED_80M=y
48CONFIG_SPIRAM_USE_MALLOC=y 49CONFIG_SPIRAM_USE_MALLOC=y
49CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096 50CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
50CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768 51CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
51CONFIG_MBEDTLS_DYNAMIC_BUFFER=y