0g-chain/third_party/proto/tendermint/p2p/conn.proto
Nick DeLuca 75dec0d79c
Sync all third party protos for all messages, queries, tx signing, etc (#1124)
* sync all third party proto definitions

* update cosmos swagger for new imported third party protos
2022-01-07 18:59:34 -07:00

31 lines
684 B
Protocol Buffer

syntax = "proto3";
package tendermint.p2p;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p";
import "gogoproto/gogo.proto";
import "tendermint/crypto/keys.proto";
message PacketPing {}
message PacketPong {}
message PacketMsg {
int32 channel_id = 1 [(gogoproto.customname) = "ChannelID"];
bool eof = 2 [(gogoproto.customname) = "EOF"];
bytes data = 3;
}
message Packet {
oneof sum {
PacketPing packet_ping = 1;
PacketPong packet_pong = 2;
PacketMsg packet_msg = 3;
}
}
message AuthSigMessage {
tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false];
bytes sig = 2;
}