211 Commits

Author SHA1 Message Date
Andrea Maria Piana
d6b27d3843 Set SendEpoch instead of cumulating it (#86)
`CalculateNextEpoch` should set `SendEpoch` instead of cumulating it.
2020-11-24 13:40:13 +01:00
Dean Eigenmann
daa5e8b8a2 Update README.md (#84) 2020-02-21 12:19:19 +08:00
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
v0.0.25
2019-11-05 17:32:23 +01:00
Dean Eigenmann
d34db70222 update/license (#81)
* Update LICENSE

* Update LICENSE
2019-11-05 13:34:53 +08:00
Dean Eigenmann
9f50ecac54 rename/dummy-memory (#82)
* renames dummy to memory

* unexported
2019-11-02 15:52:39 +01:00
Dean Eigenmann
2512e45906 Update .travis.yml (#80)
* Update .travis.yml

* Update .travis.yml

Co-Authored-By: Adam Babik <adam@status.im>
2019-10-30 13:16:20 +01:00
Dean Eigenmann
945a249144 enhancement/remove-double-check (#79) 2019-10-29 22:20:14 +01:00
Dean Eigenmann
463f9a7f6c remove/eventually (#78) 2019-10-29 16:32:35 +01:00
Dean Eigenmann
217a49bd54 Update README.md 2019-10-25 13:32:43 +02:00
Dean Eigenmann
f0cc0e7841 enhancement/silence-tests (#77) 2019-10-22 18:52:49 +02:00
Dean Eigenmann
75124ea56c update/field-number (#75)
* updated

* v
v0.0.24
2019-10-21 13:42:29 +02:00
Adam Babik
46125cfe6c Upgrade migrate (#74) v0.0.23 2019-10-14 12:54:02 +02:00
Oskar Thorén
899aeeacb4 Merge pull request #73 from vacp2p/bug/dont-choke-on-removing-state
Don't retun error on removing state when receiving messages
v0.0.22
2019-10-09 11:55:01 +09:00
Andrea Maria Piana
87839f9f3a Don't retun error on removing state when receiving messages
When receiving messages the state for the message is removed.
If no state is found an error was thrown.
This should not cause an error as that's an ok scenario.
Also changes the parsing of the flags from init to a custom method, as I
bumped in this issue https://github.com/golang/go/issues/31859
2019-10-07 12:35:15 +02:00
Andrea Maria Piana
943ab5e228 add zap logger (#71) v0.0.21 2019-08-29 08:10:45 +02:00
Dean Eigenmann
3233b23080 Update README.md 2019-08-24 16:49:46 +02:00
Andrea Maria Piana
a8dc37599b use different migration table (#70) 2019-08-22 11:10:40 +02:00
Andrea Maria Piana
afd2e97e38 Add sync state when initializing node (#69) 2019-08-21 12:38:49 +02:00
Adam Babik
7c42852bfd Add persistent storage support (#68) 2019-08-20 20:06:35 +02:00
decanus
3d5dc5b3e3 Merge branch 'master' of github.com:vacp2p/mvds 2019-08-11 18:21:36 +02:00
decanus
c9d04bbf91 import sort 2019-08-11 18:21:25 +02:00
Dean Eigenmann
72ff1b0d14 Update README.md 2019-08-07 14:27:49 +02:00
Dean Eigenmann
48a12fa637 feature/subscribe (#62)
* readded suubscription code

* added tes

* changed the way channels are created

* closes channel on stop
v0.0.20
2019-08-06 11:18:46 +02:00
Dean Eigenmann
6291da6ee1 Update node.go 2019-08-05 21:55:50 +02:00
Dean Eigenmann
645d54357a Update README.md v0.0.19 2019-07-25 22:24:56 +02:00
Oskar Thorén
291827907c Merge pull request #61 from vacp2p/bugfix/acks
Don't rely on the presence of GroupID for non-Messages types
2019-07-25 21:07:19 +08: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
decanus
9af764814a Merge branch 'master' of github.com:vacp2p/mvds 2019-07-22 22:02:25 -05:00
Dean Eigenmann
5fdf62d7b7 fix thanks to @cammellos 2019-07-22 12:18:19 -05:00
decanus
b8e366e4e6 updated import path 2019-07-18 16:43:27 -05:00
decanus
ec87e4ab5e docs 2019-07-16 01:07:10 +02:00
Dean Eigenmann
b48d92297c enhancement/subscription (#60) v0.0.18 2019-07-15 05:35:59 +02:00
Dean Eigenmann
27db1bb2c6 feature/subscription (#59) 2019-07-15 05:32:51 +02:00
Dean Eigenmann
55cc8fe0f5 enhancement/message-request (#57) 2019-07-13 23:18:00 -04:00
Dean Eigenmann
d7ac3b29d9 Update messageid.go 2019-07-12 12:33:10 -04:00
Dean Eigenmann
ea60666c93 enhancement/id (#55) v0.0.17 2019-07-12 12:20:30 -04:00
Dean Eigenmann
d4e6314dbc Update README.md 2019-06-29 17:12:13 +02:00
Dean Eigenmann
e4cf1efc41 enhancement/protobuf (#53)
* cleans up protocol buffer

* no need to check length explicitly

* Update node.go
v0.0.16
2019-06-21 15:37:34 +02:00
decanus
1762929e74 updated 2019-06-21 00:10:39 +02:00
decanus
d2ae4d1213 renamed MessageType to RecordType 2019-06-20 23:03:06 +02:00
Dean Eigenmann
6ca5ee41c9 enhancement/message-retransmission (#51)
* working on message retransmission

* renamed

* remove add

* cleaned up

* minor cleanup
v0.0.15
2019-06-18 15:51:38 -04:00
Dean Eigenmann
61a94cab47 enhancement/request-retransmission (#29)
* todo

* minor changes

* seemingly fixes race
2019-06-15 16:42:54 -04:00
Dean Eigenmann
4046fbed44 enhancement/node-stopping (#46)
* made node stoppable

* updated

* added todo

* comments

* remove/ecsda (#50)
v0.0.14
2019-06-14 09:49:56 -04:00
Dean Eigenmann
37f5afc426 Update README.md v0.0.13 2019-06-13 16:44:14 -04:00
decanus
e336330f87 comment 2019-06-13 14:07:01 -04:00
decanus
06ac892cc9 fix 2019-06-13 13:55:16 -04:00
decanus
cc9cdfaab8 godoc 2019-06-13 13:54:31 -04:00
decanus
d1ed6f5fd2 split channel 2019-06-13 13:52:07 -04:00
decanus
fe80ea7ad0 comments 2019-06-13 13:42:33 -04:00
decanus
0971998d68 comment 2019-06-13 13:39:03 -04:00