Commit Graph

18 Commits

Author SHA1 Message Date
Andrea Maria Piana 9c229ef5d7
Add ens names verification 2019-10-31 17:32:19 +01:00
Andrea Maria Piana e3b3ba39f3
Handle DH double ratchet errors
Errors when generating a DH secret where silently ignored, resulting in
invalid key material being used.
This commit fixes the issue by upgrading the double ratchet library
 and implementing the updated interface, which uses now slices instead of fixed bytes keys.
2019-10-31 16:22:44 +01:00
Adam Babik cd92766d85
Upgrade migrate (#97) 2019-10-14 13:05:02 +02:00
Pedro Pombeiro 17cb8c53c3
Move `transport/whisper/gethbridge` to `bridge/geth` (#95) 2019-10-11 15:01:45 +02:00
Pedro Pombeiro ef677358d8
Prepare API to support other implementations of ETH nodes- Wrap geth types so they don't leak from the library internals 2019-10-09 14:20:51 +02:00
Adam Babik 470cce3065
upgrade go-ethereum to 1.9.5 and Whisper (#85) 2019-10-02 12:50:03 +02:00
Adam Babik fb57d64bcf
Implement signing MembershipUpdate message (#78) 2019-09-30 17:11:30 +02:00
Andrea Maria Piana 1e2e007bc6
Add identicon and gfycat generated names 2019-09-26 06:43:11 +02:00
Adam Babik 31e37fa448
Add data sync tests (#63) 2019-08-31 16:56:28 +02:00
Adam Babik 7d230faaa7
use v0.0.21 mvds tag (#64) 2019-08-29 11:07:19 +02:00
Andrea Maria Piana 822d18916e
pass logger to mvds 2019-08-29 08:11:19 +02:00
Andrea Maria Piana 1646cd6771
Add persistent datasync 2019-08-28 09:47:58 +02:00
Andrea Maria Piana e1f4f17baf
Add confirmations for datasync messages.
The signature of the `Raw` methods has been changed so that they return
the application messageID.
Clients will keep track of this ID and receive a notification through
the envelopesMonitor of the state of the envelopes (sent/expired).
Envelopes monitor is passed this ID as well.
We use an array of IDs as datasync messages might be batched.
2019-08-07 16:48:09 +02:00
Andrea Maria Piana 28b2244fed
Handle messages in raw method as well 2019-07-29 16:19:04 +02:00
Andrea Maria Piana 3ad085fb9e
Add datasync
This commit adds the ability of reading and sending datasync messages.
Datasync messages are batched, so a single whisper message might
contain multiple protocol messages.
Datasync messages are parsed regardless of whether the datasync flag is
on, as this commit is backward compatible.

Sending messages is toggled off by default.
2019-07-26 14:09:24 +02:00
Pedro Pombeiro c1f623388d
Move to zap structured logging library (#25) 2019-07-18 15:41:48 +02:00
Adam Babik 5c6039f77f
Refactor the library (#20) 2019-07-16 12:43:07 +02:00
Adam Babik e941e80f5c
move code from status-go and status-console-client 2019-07-08 11:21:21 +02:00