diff options
| author | Your Name <you@example.com> | 2026-05-20 02:20:15 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-20 02:20:15 +0530 |
| commit | f922e8a676431f33d6133fc021d384bbdfd76f17 (patch) | |
| tree | 84d210d66d0969905496f23dfdd23f2429a11142 /components/tollgate_core/CMakeLists.txt | |
| parent | f4f85f938405867be89cfee029d5117cb1b4ac69 (diff) | |
feat: upgrade tollgate_core to full version with mining + stratum
Replace skeleton tollgate_core (9 files, 7 callbacks) with full version
from feature/miner-integration (13 files, 22 callbacks):
New modules:
- tollgate_core_mining.c/h — mining payment session management
- tollgate_core_stratum_proxy.c/h — SV1 stratum proxy
Updated:
- tollgate_core.h — extern C guards, 5 new mining API functions
- tollgate_platform.h — extern C guards, 22 platform callbacks (was 7)
- tollgate_core_firewall.c — conditional CONFIG_LWIP_IPV4_NAPT
- CMakeLists.txt — mining + stratum source files
Also adds MINER_INTEGRATION_PLAN.md from the feature branch.
Diffstat (limited to 'components/tollgate_core/CMakeLists.txt')
| -rw-r--r-- | components/tollgate_core/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/tollgate_core/CMakeLists.txt b/components/tollgate_core/CMakeLists.txt index fc6b6f1..1b7d84a 100644 --- a/components/tollgate_core/CMakeLists.txt +++ b/components/tollgate_core/CMakeLists.txt | |||
| @@ -4,6 +4,8 @@ idf_component_register( | |||
| 4 | "src/tollgate_core_dns.c" | 4 | "src/tollgate_core_dns.c" |
| 5 | "src/tollgate_core_firewall.c" | 5 | "src/tollgate_core_firewall.c" |
| 6 | "src/tollgate_core_session.c" | 6 | "src/tollgate_core_session.c" |
| 7 | "src/tollgate_core_mining.c" | ||
| 8 | "src/tollgate_core_stratum_proxy.c" | ||
| 7 | INCLUDE_DIRS "include" "src" | 9 | INCLUDE_DIRS "include" "src" |
| 8 | REQUIRES lwip json esp_http_client mbedtls log esp_netif | 10 | REQUIRES lwip json esp_http_client mbedtls log esp_netif |
| 9 | PRIV_REQUIRES esp_wifi) | 11 | PRIV_REQUIRES esp_wifi) |