6 Commits

Author SHA1 Message Date
Dmitry Shulyak
220bf05e8d
Ethereum event.Feed is used for messenger events (#44)
It allows not to block producer when there are not consumers.
And it allows to have more then one consumer in different parts of the application.
2019-05-21 15:33:22 +03:00
Dmitry Shulyak
0775fbb085
Implement streams for public and private chats (#35)
Stateless messenger

Replace original messenger with stateless messenger

Add benchmark for loading messages

Add new message event after msg was persisted

Request history chat by chat otherwise it doesn't worko

Db and stream tests

Move flag parsing higher

Fix linter and test
2019-05-14 19:34:36 +03:00
Adam Babik
e9f740bb45 High-level API (#29) 2019-04-30 10:24:33 +02:00
Adam Babik
f022b7b068
simplify protocol message struct (#26) 2019-04-15 20:35:56 +02:00
Adam Babik
0bb7e1a212
add protocol API tests and mocks support (#25) 2019-04-13 23:08:57 +02:00
Adam Babik
2120e77f18
add geth service (#24) 2019-04-12 16:53:26 +02:00