Mining/pkg/node
google-labs-jules[bot] da7e31e741 feat: Create error handling and logging audit
This commit introduces a new audit document, `AUDIT-ERROR-HANDLING.md`, which provides a comprehensive review of the project's error handling and logging practices.

The audit covers:
-   **Error Handling:** Analyzes the inconsistency between the well-structured API error responses and the simpler, unstructured error handling at the application's entry points.
-   **Logging:** Details the existing custom logger, its lack of JSON output, and its inconsistent use across the codebase.
-   **Recommendations:** Provides actionable steps for improvement, including adopting structured JSON logging, centralizing logger configuration, and standardizing on the global logger.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 01:18:15 +00:00
..
bufpool.go feat: Implement multiple code review improvements 2025-12-31 15:45:25 +00:00
bundle.go fix: Address 16 security findings from parallel code review 2025-12-31 17:44:49 +00:00
bundle_test.go fix: Comprehensive code hardening from 4-domain Opus review 2025-12-31 14:33:30 +00:00
controller.go fix: Comprehensive code hardening from 4-domain Opus review 2025-12-31 14:33:30 +00:00
dispatcher.go feat: Create error handling and logging audit 2026-02-02 01:18:15 +00:00
identity.go feat: Implement challenge-response authentication for P2P (P2P-CRIT-4) 2025-12-31 15:16:00 +00:00
identity_test.go feat: Implement challenge-response authentication for P2P (P2P-CRIT-4) 2025-12-31 15:16:00 +00:00
message.go feat: Rename XMRig references to Miner and add miner.cpp for new platform 2025-12-31 16:38:48 +00:00
message_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
peer.go Add SendEthicalPacket method for secure packet sending 2026-01-03 16:00:41 +00:00
peer_test.go feat: Add API configuration service and enhance security validation in commands 2025-12-31 17:46:25 +00:00
protocol.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
protocol_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00
transport.go fix: Address 16 security findings from parallel code review 2025-12-31 17:44:49 +00:00
worker.go fix: Address 16 security findings from parallel code review 2025-12-31 17:44:49 +00:00
worker_test.go refactor: Add reliability fixes and architecture improvements 2025-12-31 12:43:46 +00:00