diff options
| author | Your Name <you@example.com> | 2026-05-16 03:37:20 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-16 03:37:20 +0530 |
| commit | c342801162e62ff017ead18688107397d229f606 (patch) | |
| tree | 84280cde11bd05226d338a07c0817337941f7cb1 /components/nucula_lib/nucula_wallet.cpp | |
| parent | aed51d824f598f7315282936037c4d5b6e7fb4b8 (diff) | |
Phase 2 WIP: token decode works, TLS checkstate succeeds (crashes after response)
- cashu.c: dynamic json_buf sizing (was 2048 stack, now heap based on token length)
- cashu.c: strip trailing newline/CR from token input (cashu CLI appends 'Balance: 0 sat')
- cashu.c: esp_crt_bundle_attach for HTTPS to mint API
- cashu.c: esp_http_client_open/write/fetch_headers/read pattern for HTTPS POST
- cashu.c: remove debug b64url_decode logging
- tollgate_api.c: loop httpd_req_recv for full body (was single call, missed TCP segments)
- tollgate_api.c: stack_size=32768 for TLS in httpd handler
- config.c: fix default mint URL from nofee.testnut to testnut.cashu.space
- CMakeLists.txt: add esp-tls dependency for cert bundle
- CHECKLIST.md: updated with infrastructure status and TDD plan
Known issue: device reboots after checkstate returns 966 bytes with status=200.
Crash likely in post-response processing (JSON parse or session create).
Diffstat (limited to 'components/nucula_lib/nucula_wallet.cpp')
0 files changed, 0 insertions, 0 deletions