penumbra_sdk_proto/gen/
tendermint.p2p.rs

1// This file is @generated by prost-build.
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct NetAddress {
4    #[prost(string, tag = "1")]
5    pub id: ::prost::alloc::string::String,
6    #[prost(string, tag = "2")]
7    pub ip: ::prost::alloc::string::String,
8    #[prost(uint32, tag = "3")]
9    pub port: u32,
10}
11impl ::prost::Name for NetAddress {
12    const NAME: &'static str = "NetAddress";
13    const PACKAGE: &'static str = "tendermint.p2p";
14    fn full_name() -> ::prost::alloc::string::String {
15        "tendermint.p2p.NetAddress".into()
16    }
17    fn type_url() -> ::prost::alloc::string::String {
18        "/tendermint.p2p.NetAddress".into()
19    }
20}
21#[derive(Clone, Copy, PartialEq, ::prost::Message)]
22pub struct ProtocolVersion {
23    #[prost(uint64, tag = "1")]
24    pub p2p: u64,
25    #[prost(uint64, tag = "2")]
26    pub block: u64,
27    #[prost(uint64, tag = "3")]
28    pub app: u64,
29}
30impl ::prost::Name for ProtocolVersion {
31    const NAME: &'static str = "ProtocolVersion";
32    const PACKAGE: &'static str = "tendermint.p2p";
33    fn full_name() -> ::prost::alloc::string::String {
34        "tendermint.p2p.ProtocolVersion".into()
35    }
36    fn type_url() -> ::prost::alloc::string::String {
37        "/tendermint.p2p.ProtocolVersion".into()
38    }
39}
40#[derive(Clone, PartialEq, ::prost::Message)]
41pub struct DefaultNodeInfo {
42    #[prost(message, optional, tag = "1")]
43    pub protocol_version: ::core::option::Option<ProtocolVersion>,
44    #[prost(string, tag = "2")]
45    pub default_node_id: ::prost::alloc::string::String,
46    #[prost(string, tag = "3")]
47    pub listen_addr: ::prost::alloc::string::String,
48    #[prost(string, tag = "4")]
49    pub network: ::prost::alloc::string::String,
50    #[prost(string, tag = "5")]
51    pub version: ::prost::alloc::string::String,
52    #[prost(bytes = "vec", tag = "6")]
53    pub channels: ::prost::alloc::vec::Vec<u8>,
54    #[prost(string, tag = "7")]
55    pub moniker: ::prost::alloc::string::String,
56    #[prost(message, optional, tag = "8")]
57    pub other: ::core::option::Option<DefaultNodeInfoOther>,
58}
59impl ::prost::Name for DefaultNodeInfo {
60    const NAME: &'static str = "DefaultNodeInfo";
61    const PACKAGE: &'static str = "tendermint.p2p";
62    fn full_name() -> ::prost::alloc::string::String {
63        "tendermint.p2p.DefaultNodeInfo".into()
64    }
65    fn type_url() -> ::prost::alloc::string::String {
66        "/tendermint.p2p.DefaultNodeInfo".into()
67    }
68}
69#[derive(Clone, PartialEq, ::prost::Message)]
70pub struct DefaultNodeInfoOther {
71    #[prost(string, tag = "1")]
72    pub tx_index: ::prost::alloc::string::String,
73    #[prost(string, tag = "2")]
74    pub rpc_address: ::prost::alloc::string::String,
75}
76impl ::prost::Name for DefaultNodeInfoOther {
77    const NAME: &'static str = "DefaultNodeInfoOther";
78    const PACKAGE: &'static str = "tendermint.p2p";
79    fn full_name() -> ::prost::alloc::string::String {
80        "tendermint.p2p.DefaultNodeInfoOther".into()
81    }
82    fn type_url() -> ::prost::alloc::string::String {
83        "/tendermint.p2p.DefaultNodeInfoOther".into()
84    }
85}