1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct App {
#[prost(uint64, tag="1")]
pub protocol: u64,
#[prost(string, tag="2")]
pub software: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[derive(::serde::Deserialize, ::serde::Serialize)]
pub struct Consensus {
#[prost(uint64, tag="1")]
#[serde(with = "crate::serializers::from_str")]
pub block: u64,
#[prost(uint64, tag="2")]
#[serde(with = "crate::serializers::from_str", default)]
pub app: u64,
}