Skip to content

Add websocket endpoint for messages/blocks/tx/accounts #38

@cmingxu

Description

@cmingxu

Hi, team

I want add Websocket endpoints for anton to notify in realtime. Here I brief my thoughts and want your feedbacks.

1, add websocket API endpoint for blocks/txs/accounts/messages, the API parameter will follow conventions just like those for HTTP;

2, will add standalone service websocket just like web in docker-compose.

3, will add redis as in memory queue to store client request(websocket -> indexer), and as result queue of each websocket request(indexer -> websocket)

4, will add filters on indexer/save.go, just before where data are going to persist into repositories.

Looking forward for your feedbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions