upleb.uk

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

summaryrefslogtreecommitdiff
path: root/components/tollgate_core
AgeCommit message (Collapse)Author
2026-05-19feat(tollgate_core): add extern C guards, fix stratum_proxy function name, ↵Your Name
conditional NAPT - Add extern "C" guards to tollgate_core.h and tollgate_platform.h for C++ compatibility (needed for NerdQAxePlus integration) - Fix tollgate_core_stratum_proxy_start -> _init to match implementation - Make ip_napt_enable conditional on CONFIG_LWIP_IPV4_NAPT for compatibility with projects that don't enable NAPT
2026-05-19feat: add tollgate_core ESP-IDF component with mining supportYour Name
Cherry-picked component skeleton from feature/tollgate-core-component arch branch, extended with mining payment and stratum proxy modules. Component structure: components/tollgate_core/ include/tollgate_core.h — public API (core + mining) include/tollgate_platform.h — platform interface (config + mining callbacks) src/tollgate_core.c — orchestrator (init, payment, tick, owner) src/tollgate_core_cashu.c/h — Cashu V3 token decode/verify src/tollgate_core_dns.c/h — per-client DNS hijack/forward src/tollgate_core_firewall.c/h — per-client NAT filter src/tollgate_core_session.c/h — session lifecycle src/tollgate_core_mining.c/h — hashprice, share validation, client stats src/tollgate_core_stratum_proxy.c/h — local SV1 TCP server idf_component.yml — IDF Component Manager metadata Also fixes nucula_src save_proofs visibility (public). idf.py build: PASS make test-unit: PASS (19 suites, 344+ assertions)