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

     1  syntax = "proto3";
     2  
     3  option go_package = "./;protobuf";
     4  package protobuf;
     5  
     6  message SegmentMessage {
     7    // hash of the entire original message
     8    bytes entire_message_hash = 1;
     9    // Index of this segment within the entire original message
    10    uint32 index = 2;
    11    // Total number of segments the entire original message is divided into
    12    uint32 segments_count = 3;
    13    // The payload data for this particular segment
    14    bytes payload = 4;
    15    // Index of this parity segment
    16    uint32 parity_segment_index = 5;
    17    // Total number of parity segments
    18    uint32 parity_segments_count = 6;
    19  }