diff options
| author | Your Name <you@example.com> | 2026-05-23 04:50:26 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-23 04:50:26 +0530 |
| commit | 9330b01c28aebc865a3c0a51df8730196cb4152e (patch) | |
| tree | 60c3ae35b2550c737c228e81fd342c8d07af11af /tests | |
| parent | 851801f50f1282ab1db5f8a241dbd245f59e447e (diff) | |
Phase 6a-6d: Consolidate and clean up
6a: Delete dead standalone tollgate_core/ (12 files, never compiled)
6b: Rewrite dns_server.c as thin shim to component's tollgate_core_dns
- Fix component DNS to bind to AP IP instead of INADDR_ANY
6c: Rewrite stratum_proxy.c as thin shim with struct cast to component types
6d: Move sandbox logic into component's tollgate_core_firewall
- Add tollgate_core_fw_set_sandbox_ports/set_sandbox_mint_access
- Add is_sandbox_allowed() to component's ip4_canforward_filter
- Clean main/firewall.c to delegate filter to component
- Remove redundant DNS auth double-calls from main firewall
Add ROADMAP.md with full extraction plan and checklists
All 21 unit tests pass. ESP-IDF build passes.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/unit/test_firewall_sandbox | bin | 30568 -> 111016 bytes |
| -rwxr-xr-x | tests/unit/test_mining_payment | bin | 28664 -> 111000 bytes |
| -rwxr-xr-x | tests/unit/test_session_payment_method | bin | 54680 -> 117880 bytes |
| -rwxr-xr-x | tests/unit/test_stratum_proxy | bin | 40784 -> 113304 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/tests/unit/test_firewall_sandbox b/tests/unit/test_firewall_sandbox index 3e2895b..7e5aa6d 100755 --- a/tests/unit/test_firewall_sandbox +++ b/tests/unit/test_firewall_sandbox | |||
| Binary files differ | |||
diff --git a/tests/unit/test_mining_payment b/tests/unit/test_mining_payment index d38bf9d..dd4e781 100755 --- a/tests/unit/test_mining_payment +++ b/tests/unit/test_mining_payment | |||
| Binary files differ | |||
diff --git a/tests/unit/test_session_payment_method b/tests/unit/test_session_payment_method index 950a72f..44cafd3 100755 --- a/tests/unit/test_session_payment_method +++ b/tests/unit/test_session_payment_method | |||
| Binary files differ | |||
diff --git a/tests/unit/test_stratum_proxy b/tests/unit/test_stratum_proxy index 963df67..542d82f 100755 --- a/tests/unit/test_stratum_proxy +++ b/tests/unit/test_stratum_proxy | |||
| Binary files differ | |||