diff options
| author | Your Name <you@example.com> | 2026-05-19 16:30:37 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-19 16:30:37 +0530 |
| commit | 6a61810943a9bb7df9c4ec48cdefbe54ac9c1275 (patch) | |
| tree | b12a88dbd3ca0f2e277aadd1a4b1aacc2dd9a682 /components/nucula_lib/nucula_wallet.cpp | |
| parent | 62bce81d26994bd242035905c94d611cf956bd37 (diff) | |
feat: add tollgate_core ESP-IDF component with mining support
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)
Diffstat (limited to 'components/nucula_lib/nucula_wallet.cpp')
0 files changed, 0 insertions, 0 deletions