iq_cometbft_proto/prost/v0_38/
tendermint.blocksync.rs1#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
4pub struct BlockRequest {
5 #[prost(int64, tag = "1")]
6 pub height: i64,
7}
8#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
10pub struct NoBlockResponse {
11 #[prost(int64, tag = "1")]
12 pub height: i64,
13}
14#[derive(Clone, PartialEq, ::prost::Message)]
16pub struct BlockResponse {
17 #[prost(message, optional, tag = "1")]
18 pub block: ::core::option::Option<super::types::Block>,
19 #[prost(message, optional, tag = "2")]
20 pub ext_commit: ::core::option::Option<super::types::ExtendedCommit>,
21}
22#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
24pub struct StatusRequest {}
25#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
27pub struct StatusResponse {
28 #[prost(int64, tag = "1")]
29 pub height: i64,
30 #[prost(int64, tag = "2")]
31 pub base: i64,
32}
33#[derive(Clone, PartialEq, ::prost::Message)]
34pub struct Message {
35 #[prost(oneof = "message::Sum", tags = "1, 2, 3, 4, 5")]
36 pub sum: ::core::option::Option<message::Sum>,
37}
38pub mod message {
40 #[derive(Clone, PartialEq, ::prost::Oneof)]
41 pub enum Sum {
42 #[prost(message, tag = "1")]
43 BlockRequest(super::BlockRequest),
44 #[prost(message, tag = "2")]
45 NoBlockResponse(super::NoBlockResponse),
46 #[prost(message, tag = "3")]
47 BlockResponse(super::BlockResponse),
48 #[prost(message, tag = "4")]
49 StatusRequest(super::StatusRequest),
50 #[prost(message, tag = "5")]
51 StatusResponse(super::StatusResponse),
52 }
53}