Implemented: Envelope wrapper class + linter hacks for protobuf checks

This commit is contained in:
lla-dane
2025-07-10 12:41:22 +05:30
parent c8053417d5
commit 6431fb8788
7 changed files with 484 additions and 0 deletions

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package libp2p.peer.pb.record;
import "libp2p/peer/pb/crypto.proto";
option go_package = "github.com/libp2p/go-libp2p/core/record/pb";
message Envelope {
libp2p.peer.pb.crypto.PublicKey public_key = 1;
bytes payload_type = 2;
bytes payload = 3;
bytes signature = 5;
}