diff options
| author | Your Name <you@example.com> | 2026-05-19 12:55:28 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-19 12:55:28 +0530 |
| commit | 473b4d1108d8dc9264c44de587121e6886b08a5d (patch) | |
| tree | 2812e2550c4520137127baca2ed7da2a90b47165 /main/stratum_proxy.c | |
| parent | beb73a2eeacf7dbe5e292ce6e26a95a933808267 (diff) | |
fix: build errors in cvm_server, stratum_proxy, sw_miner + nucula visibility
- cvm_server: replace esp_timer_get_time() with xTaskGetTickCount(), fix
process_relay_message() call signature (3 args -> 2)
- stratum_proxy: widen task_name buffer from 16 to 20 chars
- sw_miner: add missing #include esp_random.h
- nucula_src: save_proofs() moved to public in wallet.hpp
- CMakeLists: ensure tcp_transport in REQUIRES
- tollgate_main: add display.h, local_relay.h, relay_selector.h, sync_manager.h includes
- Build now succeeds: 1.2MB binary, 70% partition free
Diffstat (limited to 'main/stratum_proxy.c')
| -rw-r--r-- | main/stratum_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/stratum_proxy.c b/main/stratum_proxy.c index 278f8f3..288c633 100644 --- a/main/stratum_proxy.c +++ b/main/stratum_proxy.c | |||
| @@ -96,7 +96,7 @@ static void proxy_server_task(void *arg) | |||
| 96 | if (client_fd < 0) continue; | 96 | if (client_fd < 0) continue; |
| 97 | 97 | ||
| 98 | s_stats.active_miners++; | 98 | s_stats.active_miners++; |
| 99 | char task_name[16]; | 99 | char task_name[20]; |
| 100 | snprintf(task_name, sizeof(task_name), "miner_%d", client_fd); | 100 | snprintf(task_name, sizeof(task_name), "miner_%d", client_fd); |
| 101 | xTaskCreate(proxy_client_handler, task_name, 4096, (void *)(intptr_t)client_fd, 3, NULL); | 101 | xTaskCreate(proxy_client_handler, task_name, 4096, (void *)(intptr_t)client_fd, 3, NULL); |
| 102 | } | 102 | } |