go-blockchain/daemon
Claude 456de46d61
Some checks failed
Security Scan / security (push) Successful in 14s
Test / Test (push) Failing after 35s
fix(daemon): SSE keepalive + write-error disconnect detection
SSE /events/blocks now:
- Sends `: keepalive` comment every ~30s to detect dead connections
- Checks write errors — returns immediately on client disconnect
- Prevents connection leak from idle SSE clients

Audit found: no heartbeat, no disconnect detection, connections held open forever.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 04:02:46 +01:00
..
coverage_test.go fix(daemon): repair last 2 broken routes + add comprehensive coverage test 2026-04-02 03:39:41 +01:00
server.go fix(daemon): SSE keepalive + write-error disconnect detection 2026-04-02 04:02:46 +01:00
server_integration_test.go test(integration): add hardfork, chain stats, REST health verification 2026-04-02 03:42:13 +01:00
server_test.go fix(daemon): repair 13 broken RPC routes + nil pointer guards 2026-04-02 03:37:06 +01:00
wallet_rpc.go feat(daemon): add wallet RPC proxy — unified endpoint 2026-04-02 02:01:20 +01:00
wallet_rpc_test.go test: wallet proxy, chain scanner tests 2026-04-02 03:55:07 +01:00