diff options
| author | Your Name <you@example.com> | 2026-05-18 14:50:41 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-18 14:50:41 +0530 |
| commit | 2a86bec93273e2f4ceeab60683058c65dbb1da3d (patch) | |
| tree | 56e66acc4eaa0b5a947bb78d28e494a0adc857e2 /components/nucula_lib/nucula_wallet.h | |
| parent | 0c3f08ac7cf8e970369ec137153107ca8edc3326 (diff) | |
feat: multi-mint health tracker, discovery, portal, multi-wallet (Phase 3-8)
- mint_health.h/c: FreeRTOS probing task, GET /v1/info every 5min,
recovery threshold 3, immediate failure, mutex-protected state
- cashu.c: health-gated acceptance (config match AND reachable)
- tollgate_api.c: one price_per_step tag per reachable mint in discovery
- captive_portal.c: mint list with green/grey indicators, /mints API,
auto-refresh every 30s via JS
- nucula_wallet.h/cpp: multi-wallet (up to 4), route receive to correct
wallet by mint URL, balance sums across all wallets
- tollgate_main.c: init health tracker + multi-wallet on service start
- CMakeLists.txt: add mint_health.c
Diffstat (limited to 'components/nucula_lib/nucula_wallet.h')
| -rw-r--r-- | components/nucula_lib/nucula_wallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/nucula_lib/nucula_wallet.h b/components/nucula_lib/nucula_wallet.h index 784a126..3c1f3f8 100644 --- a/components/nucula_lib/nucula_wallet.h +++ b/components/nucula_lib/nucula_wallet.h | |||
| @@ -9,6 +9,7 @@ extern "C" { | |||
| 9 | #endif | 9 | #endif |
| 10 | 10 | ||
| 11 | esp_err_t nucula_wallet_init(const char *mint_url); | 11 | esp_err_t nucula_wallet_init(const char *mint_url); |
| 12 | esp_err_t nucula_wallet_init_multi(const char mint_urls[][256], int count); | ||
| 12 | 13 | ||
| 13 | esp_err_t nucula_wallet_receive(const char *token_str); | 14 | esp_err_t nucula_wallet_receive(const char *token_str); |
| 14 | 15 | ||