1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AbciResponses {
#[prost(message, repeated, tag="1")]
pub deliver_txs: ::std::vec::Vec<super::abci::ResponseDeliverTx>,
#[prost(message, optional, tag="2")]
pub end_block: ::std::option::Option<super::abci::ResponseEndBlock>,
#[prost(message, optional, tag="3")]
pub begin_block: ::std::option::Option<super::abci::ResponseBeginBlock>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ValidatorsInfo {
#[prost(message, optional, tag="1")]
pub validator_set: ::std::option::Option<super::types::ValidatorSet>,
#[prost(int64, tag="2")]
pub last_height_changed: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConsensusParamsInfo {
#[prost(message, optional, tag="1")]
pub consensus_params: ::std::option::Option<super::types::ConsensusParams>,
#[prost(int64, tag="2")]
pub last_height_changed: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Version {
#[prost(message, optional, tag="1")]
pub consensus: ::std::option::Option<super::version::Consensus>,
#[prost(string, tag="2")]
pub software: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct State {
#[prost(message, optional, tag="1")]
pub version: ::std::option::Option<Version>,
#[prost(string, tag="2")]
pub chain_id: std::string::String,
#[prost(int64, tag="14")]
pub initial_height: i64,
#[prost(int64, tag="3")]
pub last_block_height: i64,
#[prost(message, optional, tag="4")]
pub last_block_id: ::std::option::Option<super::types::BlockId>,
#[prost(message, optional, tag="5")]
pub last_block_time: ::std::option::Option<super::super::google::protobuf::Timestamp>,
#[prost(message, optional, tag="6")]
pub next_validators: ::std::option::Option<super::types::ValidatorSet>,
#[prost(message, optional, tag="7")]
pub validators: ::std::option::Option<super::types::ValidatorSet>,
#[prost(message, optional, tag="8")]
pub last_validators: ::std::option::Option<super::types::ValidatorSet>,
#[prost(int64, tag="9")]
pub last_height_validators_changed: i64,
#[prost(message, optional, tag="10")]
pub consensus_params: ::std::option::Option<super::types::ConsensusParams>,
#[prost(int64, tag="11")]
pub last_height_consensus_params_changed: i64,
#[prost(bytes, tag="12")]
pub last_results_hash: std::vec::Vec<u8>,
#[prost(bytes, tag="13")]
pub app_hash: std::vec::Vec<u8>,
}