10 Commits

Author SHA1 Message Date
Dmitry Shulyak
22a2ee2d02
Fix go mod (#36)
Remove 1.10 ci from travis
2019-05-15 13:19:39 +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
Dmitry Shulyak
02106188fd
Add sqlite datastore (#31)
Use sqlite in protocol

Use timestamps the same way as in original code and make chat moke to return hash

Use sqlite db in console application

Database encrypted with a user address, derived from public key of the user.
Pub key is hashed and last 20 bytes are used as an adress.

Replace gen.sh with makefile gen-migrations

Fix db references

Ensure directory is created
2019-05-08 10:23:51 +03:00
Oskar Thorén
6758e393f4
Makefile: Use vendor dir by default when building (#27) 2019-04-15 18:48:32 +08: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
Adam Babik
2afc19f21a
improve naming a bit (#23) 2019-04-12 01:15:19 +02:00
Adam Babik
179241a572
Implement data persistency and add protocol/client package (#7) 2019-03-11 18:49:18 +01:00
Adam Babik
3fcc42d8be
make travis CI work 2019-02-11 13:48:44 +01:00
Adam Babik
dfb5e8375e
initial commit 2019-01-08 21:02:11 +01:00