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
/// Representation of a block.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Block {
    /// The serialized content of the block.
    #[prost(bytes = "vec", tag = "1")]
    pub content: ::prost::alloc::vec::Vec<u8>,
}
/// Representation of a block header.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Header {
    /// The serialized content of the block header.
    #[prost(bytes = "vec", tag = "1")]
    pub content: ::prost::alloc::vec::Vec<u8>,
}
/// Representation of a block fragment, that is, a transaction or other
/// content item.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Fragment {
    /// The serialized content of the fragment.
    #[prost(bytes = "vec", tag = "1")]
    pub content: ::prost::alloc::vec::Vec<u8>,
}
/// A sequence of block identifiers used in fetch requests and solicitation.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BlockIds {
    /// The identifiers of blocks for loading.
    #[prost(bytes = "vec", repeated, tag = "1")]
    pub ids: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}
/// A sequence of fragment identifiers used in fetch requests.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FragmentIds {
    /// The identifiers of fragments.
    #[prost(bytes = "vec", repeated, tag = "1")]
    pub ids: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
}