tardis-dev / serum-vial

Real-time WebSocket market data API for Serum
Mozilla Public License 2.0
173 stars 60 forks source link

sync marked state #45

Open dzmitry-lahoda opened 2 years ago

dzmitry-lahoda commented 2 years ago

may subscribe and then get a snapshot?

https://github.com/tardis-dev/serum-vial/blob/3379edeb566af3fbca36603f802f5180b5f4afbb/src/rpc_client.ts#L228

Because with current way, get and than subscribe, can miss some data.

Also, may be periodically push full data from time to time to clients?