Skip to content

feat: honest live WebSocket updates and broader realtime sync#22

Merged
NateIsern merged 1 commit into
mainfrom
feat/realtime-websocket-improvements
Jul 10, 2026
Merged

feat: honest live WebSocket updates and broader realtime sync#22
NateIsern merged 1 commit into
mainfrom
feat/realtime-websocket-improvements

Conversation

@NateIsern

Copy link
Copy Markdown
Member

Summary

  • Make live status reflect real WebSocket connectivity instead of implying every feed is push-live
  • Broaden React Query invalidation on chain events; add server transaction-confirmed and mempool top-N WS payloads
  • Tighten HTTP poll fallback to 4s and improve peers/masternodes UX for clearer network state

Test plan

  • bun run typecheck / bun run test / bun run build pass locally
  • Connect to a live node: WS indicator shows connected only when the socket is up
  • Confirm a pending tx → UI updates via transaction-confirmed without a full page refresh
  • Mempool list reflects top-N WS updates; falls back to ~4s poll if WS drops
  • Peers and masternodes pages still load and refresh correctly after invalidation

Made with Cursor

Drive live UI from real WebSocket events (transaction-confirmed, mempool top-N), widen query invalidation, tighten poll fallback to 4s, and improve peers/masternodes UX so the explorer stays accurate without pretending every feed is push-live.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@NateIsern
NateIsern merged commit aa670af into main Jul 10, 2026
1 check passed
@NateIsern
NateIsern deleted the feat/realtime-websocket-improvements branch July 10, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant