github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/proto/tendermint/p2p/pex.proto (about)

     1  syntax = "proto3";
     2  package seitendermint.p2p;
     3  
     4  option go_package = "github.com/ari-anchor/sei-tendermint/proto/tendermint/p2p";
     5  
     6  import "gogoproto/gogo.proto";
     7  
     8  message PexAddress {
     9    string url = 1 [(gogoproto.customname) = "URL"];
    10  
    11    reserved 2, 3;  // See https://github.com/tendermint/spec/pull/352
    12  }
    13  
    14  message PexRequest {}
    15  
    16  message PexResponse {
    17    repeated PexAddress addresses = 1 [(gogoproto.nullable) = false];
    18  }
    19  
    20  message PexMessage {
    21    reserved 1, 2;  // See https://github.com/tendermint/spec/pull/352
    22    oneof sum {
    23      PexRequest  pex_request  = 3;
    24      PexResponse pex_response = 4;
    25    }
    26  }