go-libp2p-core/record/pb/envelope.proto

15 lines
271 B
Protocol Buffer

syntax = "proto3";
package record.pb;
import "crypto/pb/crypto.proto";
// TODO(yusef): doc comments before merge
message Envelope {
crypto.pb.PublicKey publicKey = 1;
bytes payloadType = 2;
bytes payload = 3;
uint64 seq = 4;
bytes signature = 5;
}