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
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerkleRoot {
#[prost(bytes, tag="1")]
pub hash: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerklePrefix {
#[prost(bytes, tag="1")]
pub key_prefix: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerklePath {
#[prost(message, optional, tag="1")]
pub key_path: ::std::option::Option<KeyPath>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MerkleProof {
#[prost(message, optional, tag="1")]
pub proof: ::std::option::Option<super::super::tendermint::crypto::merkle::Proof>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyPath {
#[prost(message, repeated, tag="1")]
pub keys: ::std::vec::Vec<Key>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Key {
#[prost(bytes, tag="1")]
pub name: std::vec::Vec<u8>,
#[prost(enumeration="KeyEncoding", tag="2")]
pub enc: i32,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum KeyEncoding {
UrlUnspecified = 0,
Hex = 1,
}