9 Commits

Author SHA1 Message Date
Dean Eigenmann
748b61123f feature/mdf (#76)
* protobuf

* do not send ack when not required

* remove from state if no ack required

* different send modes

* fix

* updated

* retransmit fix

* updated

* fixed

* renamed to ephemeral

* repeated

* gen

* resolution

* cleanup

* rough dependency code

* todo

* removed

* only stores if ephemeral

* started implementing the algo

* simplified

* updated

* we never store ephemeral messages so we did not need

* adds parents

* new schema

* tx to insert

* err

* removed old

* fixed

* changed log

* test persistence of parents

* removed

* rename

* ignoring

* Update store/messagestore_sqlite.go

Co-Authored-By: Adam Babik <adam@status.im>

* Update node/node.go

Co-Authored-By: Adam Babik <adam@status.im>

* Update node/node.go

Co-Authored-By: Adam Babik <adam@status.im>

* Update node/node.go

Co-Authored-By: Adam Babik <adam@status.im>

* more fixes

* Update store/messagestore_sqlite.go

Co-Authored-By: Adam Babik <adam@status.im>

* more fixes

* using refs

* Update node/node.go

Co-Authored-By: Adam Babik <adam@status.im>

* finished

* Update store/messagestore_sqlite.go

Co-Authored-By: Adam Babik <adam@status.im>

* Update 1572372377_initial_schema.down.sql

* desc + refactor

* started refactoring resolution

* Update README.md

* rewrote resolve

* mutex

* todo

* fixes

* sql impl

* added test

* log

* updates

* updated

* little bug

* fix

* added test

* first changes from @adambabik

* moved

* fixed test, started eventual ones

* fixed eventually test

* mock install

* consistent test

* mock

* fix lint

* Update dependency/tracker_sqlite.go

Co-Authored-By: Adam Babik <adam@status.im>

* fix
2019-11-05 17:32:23 +01:00
Adam Babik
46125cfe6c Upgrade migrate (#74) 2019-10-14 12:54:02 +02:00
Andrea Maria Piana
943ab5e228 add zap logger (#71) 2019-08-29 08:10:45 +02:00
Andrea Maria Piana
a8dc37599b use different migration table (#70) 2019-08-22 11:10:40 +02:00
Adam Babik
7c42852bfd Add persistent storage support (#68) 2019-08-20 20:06:35 +02:00
Andrea Maria Piana
9e1addbac0 Don't rely on the presence of GroupID for non-Messages types
This commits changes the behavior so that we don't rely on the presence
of GroupID in the payload.

Adds some tests to verify the basic functionalities of BATCH and
INTERACTIVE mode, but more are required to ensure the correct
functioning.

Error handling and state management is probably also to be inspected
more carefully.
2019-07-25 12:42:46 +02:00
Dean Eigenmann
31f7b382d4 enhancement/remove-payloads-function (#20)
* added todos

* started working on more responsive code

* removing unused

* unused

* only returning arrays, using map function

* added insertation functions

* major cleanup

* pointer

* more changes

* minor

* removes payloads once theyre sent

* we dont need the checking was a bug

* no longer needs go routine

* not using go routine anymore

* minor changes as suggested

* atomic

* Update README.md
2019-05-28 10:26:20 -04:00
Dean Eigenmann
edc8b3666a updates (#21)
* Set go-ethereum to 1.8.23

* Add 1.8.27 back
2019-05-28 10:17:27 -04:00
decanus
7dfabc3cd0 go mod 2019-05-15 21:01:35 +02:00