You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Implement a WebSocket connection to stream silent blocks to the client whenever a new block is found and indexed. This will eliminate the need for the client to keep polling for new blocks.
Tasks:
Set up a WebSocket server.
Implement a method to broadcast new silent blocks to connected clients.
Add a function to src/block-data-providers/base-block-data-provider.abstract.ts that emits an event whenever a new block is indexed.
On receiving the event, the SilentBlocksService should create and stream the silent block to all connected clients.
Ensure the WebSocket connection is properly managed and closed when clients disconnect.
The text was updated successfully, but these errors were encountered:
Description:
Implement a WebSocket connection to stream silent blocks to the client whenever a new block is found and indexed. This will eliminate the need for the client to keep polling for new blocks.
Tasks:
src/block-data-providers/base-block-data-provider.abstract.ts
that emits an event whenever a new block is indexed.SilentBlocksService
should create and stream the silent block to all connected clients.The text was updated successfully, but these errors were encountered: