penumbra_sdk_proto/gen/
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#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct App {
7    #[prost(uint64, tag = "1")]
8    pub protocol: u64,
9    #[prost(string, tag = "2")]
10    pub software: ::prost::alloc::string::String,
11}
12impl ::prost::Name for App {
13    const NAME: &'static str = "App";
14    const PACKAGE: &'static str = "tendermint.version";
15    fn full_name() -> ::prost::alloc::string::String {
16        "tendermint.version.App".into()
17    }
18    fn type_url() -> ::prost::alloc::string::String {
19        "/tendermint.version.App".into()
20    }
21}
22/// Consensus captures the consensus rules for processing a block in the blockchain,
23/// including all blockchain data structures and the rules of the application's
24/// state transition machine.
25#[derive(Clone, Copy, PartialEq, ::prost::Message)]
26pub struct Consensus {
27    #[prost(uint64, tag = "1")]
28    pub block: u64,
29    #[prost(uint64, tag = "2")]
30    pub app: u64,
31}
32impl ::prost::Name for Consensus {
33    const NAME: &'static str = "Consensus";
34    const PACKAGE: &'static str = "tendermint.version";
35    fn full_name() -> ::prost::alloc::string::String {
36        "tendermint.version.Consensus".into()
37    }
38    fn type_url() -> ::prost::alloc::string::String {
39        "/tendermint.version.Consensus".into()
40    }
41}