status-go/services
Andrea Maria Piana fd49b0140e
Move to protobuf for Message type (#1706)
* Use a single Message type `v1/message.go` and `message.go` are the same now, and they embed `protobuf.ChatMessage`

* Use `SendChatMessage` for sending chat messages, this is basically the old `Send` but a bit more flexible so we can send different message types (stickers,commands), and not just text.

* Remove dedup from services/shhext. Because now we process in status-protocol, dedup makes less sense, as those messages are going to be processed anyway, so removing for now, we can re-evaluate if bringing it to status-go or not.

* Change the various retrieveX method to a single one:
`RetrieveAll` will be processing those messages that it can process (Currently only `Message`), and return the rest in `RawMessages` (still transit). The format for the response is:
`Chats`: -> The chats updated by receiving the message
`Messages`: -> The messages retrieved (already matched to a chat)
`Contacts`: -> The contacts updated by the messages
`RawMessages` -> Anything else that can't be parsed, eventually as we move everything to status-protocol-go this will go away.
2019-12-05 17:25:34 +01:00
..
accounts Watch new accounts aftter they were saved to accounts table (#1569) 2019-08-28 10:49:03 +03:00
browsers Create single database appdatase 2019-08-21 10:44:50 +03:00
incentivisation Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
mailservers Move to protobuf for Message type (#1706) 2019-12-05 17:25:34 +01:00
nodebridge Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
peer fix golang/mock (#1310) 2018-12-10 13:53:27 +01:00
permissions Create single database appdatase 2019-08-21 10:44:50 +03:00
personal Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
rpcfilters Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
shhext Move to protobuf for Message type (#1706) 2019-12-05 17:25:34 +01:00
status Multi account login (#1525) 2019-07-26 16:45:10 +02:00
subscriptions fix parameters parsing for eth_* filters subscriptions (#1461) 2019-05-10 12:56:58 +02:00
typeddata Integrate Nimbus status-protocol-go 2019-11-18 14:30:03 +01:00
wallet Integrate Nimbus status-protocol-go 2019-11-18 14:30:03 +01:00
utils.go New debug_postSync endpoint (#1046) 2018-06-25 15:27:17 +02:00