status-go/protocol
Pascal Precht b4bdfd3df6 Keep track of last seen magnetlink
This is to prevent processing magnetlinks if they haven't changed
2022-12-20 15:16:08 +01:00
..
anonmetrics Sync community encryption keys 2022-11-15 10:11:01 +00:00
audio Add audio messages 2020-07-27 17:14:50 +02:00
common feat: recgonize `0x00001` as system mention 2022-12-20 15:13:22 +01:00
communities Keep track of last seen magnetlink 2022-12-20 15:16:08 +01:00
datasync Rename MessageProcessor to MessageSender (#2264) 2021-06-23 17:13:48 +03:00
discord feat(communities): add community images to import progress signal 2022-11-07 17:16:00 +01:00
encryption Sync community encryption keys 2022-11-15 10:11:01 +00:00
ens
identity ColourHash is a distinct type that has a discrete pattern 2022-11-28 16:26:07 +00:00
images load audio from http server 2022-03-01 15:58:32 +01:00
internal/sqlite
migrations Images Album (#3021) 2022-12-14 16:25:45 +04:00
protobuf feat(communities): add magnetlink to RequestToJoinResponse 2022-12-14 13:43:43 +01:00
pushnotificationclient Sync community encryption keys 2022-11-15 10:11:01 +00:00
pushnotificationserver Sync community encryption keys 2022-11-15 10:11:01 +00:00
requests Allow owner/admin to delete messages of a community (#2958) 2022-12-02 19:34:02 +08:00
sqlite
subscription
transport Restart discovery when it fails 2022-12-14 20:54:48 +00:00
tt Tests and linting 2021-09-30 13:02:41 +01:00
urls fix: remove tenor.com from preview whitelist 2022-09-15 12:27:49 +02:00
v1 feat(ActivityCenter): Add message for canceling contact requests (#2992) 2022-12-14 12:27:02 +04:00
verification feat(ActivityCenter): Add message for canceling contact requests (#2992) 2022-12-14 12:27:02 +04:00
zaputil Move to monorepo structure (#1684) 2019-11-21 17:19:22 +01:00
LICENSE
README.md Added basic history of the protocol package (#1984) 2020-06-04 11:23:09 +01:00
activity_center.go Handle identity verifications 2022-10-26 17:19:44 +01:00
activity_center_persistence.go Add notification for trustworthy/untrustworthy 2022-11-16 16:17:13 +00:00
anon_metrics_test.go
chat.go Fix private group members details not being sent on preview (#2936) 2022-11-03 11:57:51 +03:00
chat_group_proxy.go
chat_test.go
communities_messenger_test.go fix(community): don't delete chat and messages when leaving community 2022-12-09 14:43:56 -05:00
contact.go
delete_for_me_message.go
delete_message.go Delete messages (#2279) 2021-07-26 17:06:32 -04:00
edit_message.go address feedback 2021-06-29 13:15:15 +02:00
emoji_reaction.go
errors.go
group_chat_invitation.go
group_chat_system_messages.go
identity_images.go Add HasAddedUs field 2021-10-04 12:19:15 +02:00
local_notifications.go
message_builder.go
message_persistence.go fix: ensure queries coalesce `album_id` value when scanning 2022-12-16 11:10:44 +01:00
message_validator.go feat: introduce discord import tool 2022-10-28 09:52:26 +02:00
message_validator_test.go
messenger.go feat(communities): add magnetlink to RequestToJoinResponse 2022-12-14 13:43:43 +01:00
messenger_activity_center.go Allow to pass activity center status as a parameter 2022-11-14 10:17:43 +01:00
messenger_activity_center_test.go Turning the tests back on (#2519) 2022-02-03 20:37:41 +00:00
messenger_auto_message.go Add read/unread messenger functions for activity center 2022-10-26 17:19:44 +01:00
messenger_backup.go Sync community encryption keys 2022-11-15 10:11:01 +00:00
messenger_backup_test.go
messenger_bookmarks.go feat: add garbage collection for soft deleted bookmarks 2022-06-17 14:21:21 +02:00
messenger_browsers.go
messenger_browsers_test.go
messenger_chats.go fix(community): don't delete chat and messages when leaving community 2022-12-09 14:43:56 -05:00
messenger_communities.go feat(communities): add magnetlink to RequestToJoinResponse 2022-12-14 13:43:43 +01:00
messenger_config.go feat: add signal indicating that history messages are being imported 2022-12-05 10:51:53 +01:00
messenger_contact_requests_test.go Restart discovery when it fails 2022-12-14 20:54:48 +00:00
messenger_contact_update_test.go
messenger_contact_verification.go feat(ActivityCenter): Add message for canceling contact requests (#2992) 2022-12-14 12:27:02 +04:00
messenger_contact_verification_test.go feat(ActivityCenter): Add message for canceling contact requests (#2992) 2022-12-14 12:27:02 +04:00
messenger_contacts.go fix(community): don't delete chat and messages when leaving community 2022-12-09 14:43:56 -05:00
messenger_delete_message_for_everyone_test.go fix: TestDeleteMessageForEveryone fail (#3020) 2022-12-13 16:06:01 +08:00
messenger_delete_message_for_me_test.go feat: delete message for new design (#2922) 2022-11-17 18:11:58 +08:00
messenger_delete_message_test.go Allow owner/admin to delete messages of a community (#2958) 2022-12-02 19:34:02 +08:00
messenger_discv5.go
messenger_edit_message_test.go
messenger_emoji_test.go
messenger_ens.go
messenger_group_chat.go Remove group members (#3011) 2022-12-10 08:26:51 +04:00
messenger_group_chat_test.go Restart discovery when it fails 2022-12-14 20:54:48 +00:00
messenger_handler.go Keep track of last seen magnetlink 2022-12-20 15:16:08 +01:00
messenger_handler_test.go
messenger_identity.go Addressing feedback 2022-11-25 11:33:58 +00:00
messenger_identity_image_test.go Added multiaccounts.Database tests for new funcs 2022-08-22 13:27:59 +01:00
messenger_images.go
messenger_installations_test.go fix(community): don't delete chat and messages when leaving community 2022-12-09 14:43:56 -05:00
messenger_mailserver.go Restart discovery when it fails 2022-12-14 20:54:48 +00:00
messenger_mailserver_cycle.go fix: set waku version to mailservers and set min peers for relay to 1 2022-11-07 18:03:52 +03:00
messenger_maps.go
messenger_messages.go Allow owner/admin to delete messages of a community (#2958) 2022-12-02 19:34:02 +08:00
messenger_mute_test.go
messenger_peers.go feat: add wakuext_listenAddresses 2022-11-28 08:10:51 -04:00
messenger_pin_message_test.go
messenger_pin_messages.go
messenger_response.go feat: introduce discord import tool 2022-10-28 09:52:26 +02:00
messenger_response_test.go
messenger_saved_address.go Addressing feedback 2022-11-25 11:33:58 +00:00
messenger_share_image_test.go
messenger_status_updates.go feat: mark automatic status updates as ephemeral 2022-11-09 15:49:26 +03:00
messenger_status_updates_test.go
messenger_sync_bookmark_test.go feat: add garbage collection for soft deleted bookmarks 2022-06-17 14:21:21 +02:00
messenger_sync_chat_test.go fix(community): don't delete chat and messages when leaving community 2022-12-09 14:43:56 -05:00
messenger_sync_clear_history_test.go
messenger_sync_profile_picture_test.go
messenger_sync_saved_addresses_test.go
messenger_sync_settings.go
messenger_sync_settings_test.go
messenger_sync_verification_test.go
messenger_sync_wallets_test.go
messenger_test.go chore: extend `TestRetrieveBlockedContact` 2022-11-11 15:44:22 +01:00
messenger_walletconnect.go
messenger_walletconnect_test.go
persistence.go
persistence_test.go feat: add `FirstUnseenMessageID` API 2022-12-14 09:49:54 +01:00
push_notification_test.go
status_update.go
transaction_validator.go Move message to common namespace 2020-09-09 21:22:12 +02:00
transaction_validator_test.go

README.md

status-go/protocol

This is an implementation of the secure transport and payloads which are a part of the Status Client specification.

This implementation uses SQLite and SQLCipher for persistent storage.

The payloads are encoded using protocol-buffers.

Content

  • messenger.go is the main file which exports Messenger struct. This is a public API to interact with this implementation of the Status Chat Protocol.
  • protobuf/ contains protobuf files implementing payloads described in the Payloads spec.
  • encryption/ implements the Secure Transport spec.
  • transport/ connects the Status Chat Protocol with a wire-protocol which in our case is either Whisper or Waku.
  • datasync/ is an adapter for MVDS.
  • applicationmetadata/ is an outer layer wrapping a payload with an app-specific metadata like a signature.
  • identity/ implements details related to creating a three-word name and identicon.
  • migrations/ contains implementation specific migrations for the sqlite database which is used by Messenger as a persistent data store.

History

Originally this package was a dedicated repo called status-protocol-go and was migrated into status-go. The new status-go/protocol package maintained its own dependencies until sub modules were removed and the root go.mod file managed all dependencies for the entire status-go repo.