2023-08-15 15:27:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "./;protobuf";
|
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
import "communities.proto";
|
2023-09-20 08:37:46 +00:00
|
|
|
import "pairing.proto";
|
2023-08-15 15:27:01 +00:00
|
|
|
|
2024-07-05 13:43:03 +00:00
|
|
|
message SyncCommunityEditSharedAddresses {
|
|
|
|
string public_key = 1;
|
|
|
|
CommunityEditSharedAddresses edit_shared_address = 2;
|
|
|
|
}
|
|
|
|
|
2023-08-15 15:27:01 +00:00
|
|
|
message CommunityPrivilegedUserSyncMessage {
|
|
|
|
uint64 clock = 1;
|
|
|
|
EventType type = 2;
|
|
|
|
bytes community_id = 3;
|
|
|
|
map<string,CommunityRequestToJoin> request_to_join = 4;
|
2023-09-20 08:37:46 +00:00
|
|
|
repeated SyncCommunityRequestsToJoin sync_requests_to_join = 5;
|
2024-07-05 13:43:03 +00:00
|
|
|
SyncCommunityEditSharedAddresses sync_edit_shared_addresses = 6;
|
2023-08-15 15:27:01 +00:00
|
|
|
|
|
|
|
enum EventType {
|
|
|
|
UNKNOWN = 0;
|
|
|
|
CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN = 1;
|
|
|
|
CONTROL_NODE_REJECT_REQUEST_TO_JOIN = 2;
|
2023-09-20 08:37:46 +00:00
|
|
|
CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN = 3;
|
2024-07-05 13:43:03 +00:00
|
|
|
CONTROL_NODE_MEMBER_EDIT_SHARED_ADDRESSES = 4;
|
2023-08-15 15:27:01 +00:00
|
|
|
}
|
|
|
|
}
|