diff options
| author | Your Name <you@example.com> | 2026-05-22 03:48:46 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-22 03:48:46 +0530 |
| commit | ed06f7eeab28c1fa6242c4ea6c3b9c933661fc06 (patch) | |
| tree | 96230dd069102688318f73b60b8322255ea30cad /main/config.c | |
| parent | 7009d2e0ac346376733863966374eac296e0471e (diff) | |
feat(cvm): fix CVM MCP roundtrip - task creation, subscription, relay selection
- Move CVM server start before mint_health_start (avoids RAM fragmentation)
- Fix NIP-01 subscription: #p tag must be array not string
- Fix read loop: tolerate TLS timeouts, don't disconnect
- Reduce TLS timeout from 15s to 5s for faster event delivery
- Add WS frame logging for debugging
- Sign test events with board's nsec (--sec flag) for owner auth
- Change default CVM relay to nos.lol (forwards ephemeral kind 25910)
- MCP get_config and get_balance roundtrips confirmed working
- Unit tests pass (16/16)
Diffstat (limited to 'main/config.c')
| -rw-r--r-- | main/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c index e3cbf46..2edb6da 100644 --- a/main/config.c +++ b/main/config.c | |||
| @@ -36,7 +36,7 @@ esp_err_t tollgate_config_init(void) | |||
| 36 | g_config.payout.recipient_count = 0; | 36 | g_config.payout.recipient_count = 0; |
| 37 | g_config.payout.mint_count = 0; | 37 | g_config.payout.mint_count = 0; |
| 38 | g_config.cvm_enabled = true; | 38 | g_config.cvm_enabled = true; |
| 39 | strncpy(g_config.cvm_relays, "wss://relay.primal.net", sizeof(g_config.cvm_relays) - 1); | 39 | strncpy(g_config.cvm_relays, "wss://nos.lol", sizeof(g_config.cvm_relays) - 1); |
| 40 | strncpy(g_config.wifi_auth_mode, "WPA2", sizeof(g_config.wifi_auth_mode) - 1); | 40 | strncpy(g_config.wifi_auth_mode, "WPA2", sizeof(g_config.wifi_auth_mode) - 1); |
| 41 | g_config.display_enabled = true; | 41 | g_config.display_enabled = true; |
| 42 | g_config.nostr_sync_interval_s = 1800; | 42 | g_config.nostr_sync_interval_s = 1800; |