From 9330b01c28aebc865a3c0a51df8730196cb4152e Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 23 May 2026 04:50:26 +0530 Subject: 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. --- tests/unit/test_firewall_sandbox | Bin 30568 -> 111016 bytes tests/unit/test_mining_payment | Bin 28664 -> 111000 bytes tests/unit/test_session_payment_method | Bin 54680 -> 117880 bytes tests/unit/test_stratum_proxy | Bin 40784 -> 113304 bytes 4 files changed, 0 insertions(+), 0 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/test_firewall_sandbox b/tests/unit/test_firewall_sandbox index 3e2895b..7e5aa6d 100755 Binary files a/tests/unit/test_firewall_sandbox and b/tests/unit/test_firewall_sandbox differ diff --git a/tests/unit/test_mining_payment b/tests/unit/test_mining_payment index d38bf9d..dd4e781 100755 Binary files a/tests/unit/test_mining_payment and b/tests/unit/test_mining_payment differ diff --git a/tests/unit/test_session_payment_method b/tests/unit/test_session_payment_method index 950a72f..44cafd3 100755 Binary files a/tests/unit/test_session_payment_method and b/tests/unit/test_session_payment_method differ diff --git a/tests/unit/test_stratum_proxy b/tests/unit/test_stratum_proxy index 963df67..542d82f 100755 Binary files a/tests/unit/test_stratum_proxy and b/tests/unit/test_stratum_proxy differ -- cgit v1.2.3