3 Commits

Author SHA1 Message Date
Rafael Cárdenas
e790109030 chore: standardize updates between websockets and socket.io
* chore: function structures

* chore: return accepted and streamed microblocks on socket.io block updates

* chore: move ws-rpc and socket-io to ws/ directory

* feat: add individual tx updates to socket.io

* fix: use updated microblock txs query function

* chore: add new schemas for block, microblock, mempool rpcs

* feat: handle new block, microblock, mempool websocket updates

* fix: socket.io type imports

* chore: add test for websocket mempool update

* chore: add test for block updates

* chore: add microblock update test

* chore: remove additional properties from rpc schemas

* chore: add client support for new websocket events
2021-11-09 12:25:38 -06:00
Rafael Cárdenas
204d7979a9 feat: add microblock update support to socket-io
* feat: add microblockUpdate to socket topics

* chore: start adding tests

* chore: finish socket-io test
2021-10-05 09:15:50 -05:00
Matthew Little
715e2b36df feat: socket.io server and client implementation 2021-05-19 00:51:01 +02:00