status-go/eth-node/types
Pascal Precht c01ad05525 feat(common): add `ThirdPartyID` to `Message` and `protobuf.WakuMessage`
Usually, message IDs are generated by their payload and signature and
in receiving nodes calculated in based on the same data as well.

There's no ID attached to messages in-flight.

This turns out to be a bit of a problem for messages that are being
imported from third party systems like discord, as the conversion
and saving of such messages and handling of their possible assets and
attachments are done in separate steps, which changes the message
payloads after their IDs have been generated.

Hence, we're introducing a `ThirdPartyID` property to `common.Message`
and `protobuf.WakuMessage` so receiving nodes of such messages (via the
archive protocol primarily) can easily detect third party/imported
messages and give them special treatment.
2022-09-29 11:15:47 +02:00
..
ens Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
account.go Abstract `accounts.Key` and geth `keystore` 2020-01-06 10:17:23 +01:00
address.go Remove protocol and eth-node submodules (#1835) 2020-02-10 12:22:37 +01:00
bytes.go Check for verified records when creating a contact 2021-11-15 18:53:35 +00:00
const.go Make shhext and protocol work with Waku (#1777) 2020-01-13 20:17:30 +01:00
envelopes.go Revert "Revert "Correctly process confirmations"" 2021-11-22 11:18:09 +00:00
filter.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
hash.go Integrate Waku service (#1759) 2020-01-08 12:12:23 +01:00
hex.go feat: desktop browser provider (#2465) 2021-12-21 11:44:37 -04:00
json.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
key.go Move services to status-node 2021-07-20 10:57:38 +02:00
keystore.go Abstract `accounts.Key` and geth `keystore` 2020-01-06 10:17:23 +01:00
mailserver.go fix: add missing pubsubtopic to store cursor 2022-03-03 08:50:40 -04:00
negotiated_secret.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
node.go go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
rpc.go feat(common): add `ThirdPartyID` to `Message` and `protobuf.WakuMessage` 2022-09-29 11:15:47 +02:00
stats.go feat: upload/download rate for waku v1 messages (#2286) 2021-08-03 15:27:15 -04:00
subscribe.go Make shhext and protocol work with Waku (#1777) 2020-01-13 20:17:30 +01:00
topic.go fix: lint (#2845) 2022-09-27 18:59:02 -04:00
waku.go fix: code review 2022-03-03 15:37:07 -04:00
whisper.go Clean topics that we don't listen to 2021-01-26 09:39:57 +01:00
wrapped.go Add support for request messages by topics (#1805) 2020-01-21 08:11:24 +01:00