github.com/vipernet-xyz/tm@v0.34.24/proto/tendermint/p2p/types.proto (about)

     1  syntax = "proto3";
     2  package tendermint.p2p;
     3  
     4  option go_package = "github.com/vipernet-xyz/tm/proto/tendermint/p2p";
     5  
     6  import "gogoproto/gogo.proto";
     7  
     8  message NetAddress {
     9    string id   = 1 [(gogoproto.customname) = "ID"];
    10    string ip   = 2 [(gogoproto.customname) = "IP"];
    11    uint32 port = 3;
    12  }
    13  
    14  message ProtocolVersion {
    15    uint64 p2p   = 1 [(gogoproto.customname) = "P2P"];
    16    uint64 block = 2;
    17    uint64 app   = 3;
    18  }
    19  
    20  message DefaultNodeInfo {
    21    ProtocolVersion      protocol_version = 1 [(gogoproto.nullable) = false];
    22    string               default_node_id  = 2 [(gogoproto.customname) = "DefaultNodeID"];
    23    string               listen_addr      = 3;
    24    string               network          = 4;
    25    string               version          = 5;
    26    bytes                channels         = 6;
    27    string               moniker          = 7;
    28    DefaultNodeInfoOther other            = 8 [(gogoproto.nullable) = false];
    29  }
    30  
    31  message DefaultNodeInfoOther {
    32    string tx_index    = 1;
    33    string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"];
    34  }