synor/apps/explorer
Gulshan Yadav 16c7e87a66 fix(explorer): fix RPC method calls and add WebSocket support
- Fix health check to use RPC call instead of GET /health
- Update API endpoints to use correct RPC method names:
  - synor_getInfo, synor_getMiningInfo, synor_getTips
  - synor_getBlockCount, synor_getBlueScore, synor_getBlocksByBlueScore
- Fix response format handling (synor_getTips returns {tips: [...]})
- Add WebSocket endpoint at /ws for real-time updates:
  - stats_update events (every second)
  - new_block events on block detection
  - tip_update events on DAG changes
- Add ws feature to axum and tokio-tungstenite dependency
2026-01-08 13:15:40 +05:30
..
src fix(explorer): fix RPC method calls and add WebSocket support 2026-01-08 13:15:40 +05:30
Cargo.toml fix(explorer): fix RPC method calls and add WebSocket support 2026-01-08 13:15:40 +05:30