github.com/status-im/status-go@v1.1.0/protocol/protobuf/shard.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "./;protobuf";
     4  package protobuf;
     5  
     6  message Shard {
     7      int32 cluster = 1;
     8      int32 index = 2;
     9  }
    10  
    11  message PublicShardInfo {
    12      // clock
    13      uint64 clock = 1;
    14      // community ID
    15      bytes community_id = 2;
    16      // shard information
    17      Shard shard = 3;
    18      // if chainID > 0, the signer must be verified through the community contract
    19      uint64 chainId = 4;
    20  }
    21  
    22  message CommunityPublicShardInfo {
    23      // Signature of the payload field
    24      bytes signature = 1;
    25      // Marshaled PublicShardInfo
    26      bytes payload = 2;
    27  }