tendermint_proto/prost/v0_34/
tendermint.version.rs

1// This file is @generated by prost-build.
2/// App includes the protocol and software version for the application.
3/// This information is included in ResponseInfo. The App.Protocol can be
4/// updated in ResponseEndBlock.
5#[allow(clippy::derive_partial_eq_without_eq)]
6#[derive(Clone, PartialEq, ::prost::Message)]
7pub struct App {
8    #[prost(uint64, tag = "1")]
9    pub protocol: u64,
10    #[prost(string, tag = "2")]
11    pub software: ::prost::alloc::string::String,
12}
13/// Consensus captures the consensus rules for processing a block in the blockchain,
14/// including all blockchain data structures and the rules of the application's
15/// state transition machine.
16#[derive(::serde::Deserialize, ::serde::Serialize)]
17#[allow(clippy::derive_partial_eq_without_eq)]
18#[derive(Clone, Copy, PartialEq, ::prost::Message)]
19pub struct Consensus {
20    #[prost(uint64, tag = "1")]
21    #[serde(with = "crate::serializers::from_str")]
22    pub block: u64,
23    #[prost(uint64, tag = "2")]
24    #[serde(with = "crate::serializers::from_str", default)]
25    pub app: u64,
26}