status-go/protocol/protobuf/community_privileged_user_sync_message.proto
Mykhailo Prakhov 7ec5b18642 fix(CommunitySharedAddresses)_:
- TokenMaster request shared addresses on restoring from a backup
- Fixes sharing members revealed adresses
- Filter out outdated ApplicationMetadataMessage_COMMUNITY_PRIVILEGED_USER_SYNC_MESSAGE messages
2024-07-09 18:19:40 +02:00

29 lines
789 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
import "communities.proto";
import "pairing.proto";
message SyncCommunityEditSharedAddresses {
string public_key = 1;
CommunityEditSharedAddresses edit_shared_address = 2;
}
message CommunityPrivilegedUserSyncMessage {
uint64 clock = 1;
EventType type = 2;
bytes community_id = 3;
map<string,CommunityRequestToJoin> request_to_join = 4;
repeated SyncCommunityRequestsToJoin sync_requests_to_join = 5;
SyncCommunityEditSharedAddresses sync_edit_shared_addresses = 6;
enum EventType {
UNKNOWN = 0;
CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN = 1;
CONTROL_NODE_REJECT_REQUEST_TO_JOIN = 2;
CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN = 3;
CONTROL_NODE_MEMBER_EDIT_SHARED_ADDRESSES = 4;
}
}