status-go/protocol/protobuf/segment_message.proto

16 lines
431 B
Protocol Buffer
Raw Normal View History

2023-11-09 20:36:57 +00:00
syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
message SegmentMessage {
// hash of the entire original message
bytes entire_message_hash = 1;
// Index of this segment within the entire original message
uint32 index = 2;
// Total number of segments the entire original message is divided into
uint32 segments_count = 3;
// The payload data for this particular segment
bytes payload = 4;
}