upleb.uk

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

summaryrefslogtreecommitdiff
path: root/main/sw_miner.c
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-19 12:55:28 +0530
committerYour Name <you@example.com>2026-05-19 12:55:28 +0530
commit473b4d1108d8dc9264c44de587121e6886b08a5d (patch)
tree2812e2550c4520137127baca2ed7da2a90b47165 /main/sw_miner.c
parentbeb73a2eeacf7dbe5e292ce6e26a95a933808267 (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/sw_miner.c')
-rw-r--r--main/sw_miner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/sw_miner.c b/main/sw_miner.c
index b45e7c5..cdd98a0 100644
--- a/main/sw_miner.c
+++ b/main/sw_miner.c
@@ -4,6 +4,7 @@
4#include "mining_payment.h" 4#include "mining_payment.h"
5#include "config.h" 5#include "config.h"
6#include "esp_log.h" 6#include "esp_log.h"
7#include "esp_random.h"
7#include "mbedtls/sha256.h" 8#include "mbedtls/sha256.h"
8#include "freertos/FreeRTOS.h" 9#include "freertos/FreeRTOS.h"
9#include "freertos/task.h" 10#include "freertos/task.h"