status-go/protocol/protobuf/community_privileged_user_sync_message.proto
Mykhailo Prakhov db9adb631f
feat: share requests to join and revealed addresses with privileged roles (#3951)
- share requests to join with new privileged roles during reevaluating member role
- share requests to join with new members, joined the community as TOKEN_MASTER, ADMIN
- share requests to join revealed addresses to ADMINS and TOKEN_MASTERS
- refactor common test functionality to make them more predictable
- removed unused CommunityToken protobuf
2023-09-20 10:37:46 +02:00

22 lines
544 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
import "communities.proto";
import "pairing.proto";
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;
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;
}
}