catalyst_protocol_sdk_rust/
IPPN.rs

1// This file is generated by rust-protobuf 2.10.0. Do not edit
2// @generated
3
4// https://github.com/Manishearth/rust-clippy/issues/702
5#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![cfg_attr(rustfmt, rustfmt_skip)]
9
10#![allow(box_pointers)]
11#![allow(dead_code)]
12#![allow(missing_docs)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(non_upper_case_globals)]
16#![allow(trivial_casts)]
17#![allow(unsafe_code)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20//! Generated file from `IPPN.proto`
21
22use protobuf::Message as Message_imported_for_functions;
23use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
24
25/// Generated files are compatible only with the same version
26/// of protobuf runtime.
27const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_10_0;
28
29#[derive(PartialEq,Clone,Default)]
30pub struct PeerNeighborsRequest {
31    // special fields
32    pub unknown_fields: ::protobuf::UnknownFields,
33    pub cached_size: ::protobuf::CachedSize,
34}
35
36impl<'a> ::std::default::Default for &'a PeerNeighborsRequest {
37    fn default() -> &'a PeerNeighborsRequest {
38        <PeerNeighborsRequest as ::protobuf::Message>::default_instance()
39    }
40}
41
42impl PeerNeighborsRequest {
43    pub fn new() -> PeerNeighborsRequest {
44        ::std::default::Default::default()
45    }
46}
47
48impl ::protobuf::Message for PeerNeighborsRequest {
49    fn is_initialized(&self) -> bool {
50        true
51    }
52
53    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
54        while !is.eof()? {
55            let (field_number, wire_type) = is.read_tag_unpack()?;
56            match field_number {
57                _ => {
58                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
59                },
60            };
61        }
62        ::std::result::Result::Ok(())
63    }
64
65    // Compute sizes of nested messages
66    #[allow(unused_variables)]
67    fn compute_size(&self) -> u32 {
68        let mut my_size = 0;
69        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
70        self.cached_size.set(my_size);
71        my_size
72    }
73
74    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
75        os.write_unknown_fields(self.get_unknown_fields())?;
76        ::std::result::Result::Ok(())
77    }
78
79    fn get_cached_size(&self) -> u32 {
80        self.cached_size.get()
81    }
82
83    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
84        &self.unknown_fields
85    }
86
87    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
88        &mut self.unknown_fields
89    }
90
91    fn as_any(&self) -> &dyn (::std::any::Any) {
92        self as &dyn (::std::any::Any)
93    }
94    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
95        self as &mut dyn (::std::any::Any)
96    }
97    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
98        self
99    }
100
101    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
102        Self::descriptor_static()
103    }
104
105    fn new() -> PeerNeighborsRequest {
106        PeerNeighborsRequest::new()
107    }
108
109    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
110        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
111            lock: ::protobuf::lazy::ONCE_INIT,
112            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
113        };
114        unsafe {
115            descriptor.get(|| {
116                let fields = ::std::vec::Vec::new();
117                ::protobuf::reflect::MessageDescriptor::new::<PeerNeighborsRequest>(
118                    "PeerNeighborsRequest",
119                    fields,
120                    file_descriptor_proto()
121                )
122            })
123        }
124    }
125
126    fn default_instance() -> &'static PeerNeighborsRequest {
127        static mut instance: ::protobuf::lazy::Lazy<PeerNeighborsRequest> = ::protobuf::lazy::Lazy {
128            lock: ::protobuf::lazy::ONCE_INIT,
129            ptr: 0 as *const PeerNeighborsRequest,
130        };
131        unsafe {
132            instance.get(PeerNeighborsRequest::new)
133        }
134    }
135}
136
137impl ::protobuf::Clear for PeerNeighborsRequest {
138    fn clear(&mut self) {
139        self.unknown_fields.clear();
140    }
141}
142
143impl ::std::fmt::Debug for PeerNeighborsRequest {
144    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
145        ::protobuf::text_format::fmt(self, f)
146    }
147}
148
149impl ::protobuf::reflect::ProtobufValue for PeerNeighborsRequest {
150    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
151        ::protobuf::reflect::ProtobufValueRef::Message(self)
152    }
153}
154
155#[derive(PartialEq,Clone,Default)]
156pub struct PeerNeighborsResponse {
157    // message fields
158    pub peers: ::protobuf::RepeatedField<super::Peer::PeerId>,
159    // special fields
160    pub unknown_fields: ::protobuf::UnknownFields,
161    pub cached_size: ::protobuf::CachedSize,
162}
163
164impl<'a> ::std::default::Default for &'a PeerNeighborsResponse {
165    fn default() -> &'a PeerNeighborsResponse {
166        <PeerNeighborsResponse as ::protobuf::Message>::default_instance()
167    }
168}
169
170impl PeerNeighborsResponse {
171    pub fn new() -> PeerNeighborsResponse {
172        ::std::default::Default::default()
173    }
174
175    // repeated .Catalyst.Protocol.Peer.PeerId peers = 1;
176
177
178    pub fn get_peers(&self) -> &[super::Peer::PeerId] {
179        &self.peers
180    }
181    pub fn clear_peers(&mut self) {
182        self.peers.clear();
183    }
184
185    // Param is passed by value, moved
186    pub fn set_peers(&mut self, v: ::protobuf::RepeatedField<super::Peer::PeerId>) {
187        self.peers = v;
188    }
189
190    // Mutable pointer to the field.
191    pub fn mut_peers(&mut self) -> &mut ::protobuf::RepeatedField<super::Peer::PeerId> {
192        &mut self.peers
193    }
194
195    // Take field
196    pub fn take_peers(&mut self) -> ::protobuf::RepeatedField<super::Peer::PeerId> {
197        ::std::mem::replace(&mut self.peers, ::protobuf::RepeatedField::new())
198    }
199}
200
201impl ::protobuf::Message for PeerNeighborsResponse {
202    fn is_initialized(&self) -> bool {
203        for v in &self.peers {
204            if !v.is_initialized() {
205                return false;
206            }
207        };
208        true
209    }
210
211    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
212        while !is.eof()? {
213            let (field_number, wire_type) = is.read_tag_unpack()?;
214            match field_number {
215                1 => {
216                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.peers)?;
217                },
218                _ => {
219                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
220                },
221            };
222        }
223        ::std::result::Result::Ok(())
224    }
225
226    // Compute sizes of nested messages
227    #[allow(unused_variables)]
228    fn compute_size(&self) -> u32 {
229        let mut my_size = 0;
230        for value in &self.peers {
231            let len = value.compute_size();
232            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
233        };
234        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
235        self.cached_size.set(my_size);
236        my_size
237    }
238
239    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
240        for v in &self.peers {
241            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
242            os.write_raw_varint32(v.get_cached_size())?;
243            v.write_to_with_cached_sizes(os)?;
244        };
245        os.write_unknown_fields(self.get_unknown_fields())?;
246        ::std::result::Result::Ok(())
247    }
248
249    fn get_cached_size(&self) -> u32 {
250        self.cached_size.get()
251    }
252
253    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
254        &self.unknown_fields
255    }
256
257    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
258        &mut self.unknown_fields
259    }
260
261    fn as_any(&self) -> &dyn (::std::any::Any) {
262        self as &dyn (::std::any::Any)
263    }
264    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
265        self as &mut dyn (::std::any::Any)
266    }
267    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
268        self
269    }
270
271    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
272        Self::descriptor_static()
273    }
274
275    fn new() -> PeerNeighborsResponse {
276        PeerNeighborsResponse::new()
277    }
278
279    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
280        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
281            lock: ::protobuf::lazy::ONCE_INIT,
282            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
283        };
284        unsafe {
285            descriptor.get(|| {
286                let mut fields = ::std::vec::Vec::new();
287                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::Peer::PeerId>>(
288                    "peers",
289                    |m: &PeerNeighborsResponse| { &m.peers },
290                    |m: &mut PeerNeighborsResponse| { &mut m.peers },
291                ));
292                ::protobuf::reflect::MessageDescriptor::new::<PeerNeighborsResponse>(
293                    "PeerNeighborsResponse",
294                    fields,
295                    file_descriptor_proto()
296                )
297            })
298        }
299    }
300
301    fn default_instance() -> &'static PeerNeighborsResponse {
302        static mut instance: ::protobuf::lazy::Lazy<PeerNeighborsResponse> = ::protobuf::lazy::Lazy {
303            lock: ::protobuf::lazy::ONCE_INIT,
304            ptr: 0 as *const PeerNeighborsResponse,
305        };
306        unsafe {
307            instance.get(PeerNeighborsResponse::new)
308        }
309    }
310}
311
312impl ::protobuf::Clear for PeerNeighborsResponse {
313    fn clear(&mut self) {
314        self.peers.clear();
315        self.unknown_fields.clear();
316    }
317}
318
319impl ::std::fmt::Debug for PeerNeighborsResponse {
320    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
321        ::protobuf::text_format::fmt(self, f)
322    }
323}
324
325impl ::protobuf::reflect::ProtobufValue for PeerNeighborsResponse {
326    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
327        ::protobuf::reflect::ProtobufValueRef::Message(self)
328    }
329}
330
331#[derive(PartialEq,Clone,Default)]
332pub struct PingRequest {
333    // special fields
334    pub unknown_fields: ::protobuf::UnknownFields,
335    pub cached_size: ::protobuf::CachedSize,
336}
337
338impl<'a> ::std::default::Default for &'a PingRequest {
339    fn default() -> &'a PingRequest {
340        <PingRequest as ::protobuf::Message>::default_instance()
341    }
342}
343
344impl PingRequest {
345    pub fn new() -> PingRequest {
346        ::std::default::Default::default()
347    }
348}
349
350impl ::protobuf::Message for PingRequest {
351    fn is_initialized(&self) -> bool {
352        true
353    }
354
355    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
356        while !is.eof()? {
357            let (field_number, wire_type) = is.read_tag_unpack()?;
358            match field_number {
359                _ => {
360                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
361                },
362            };
363        }
364        ::std::result::Result::Ok(())
365    }
366
367    // Compute sizes of nested messages
368    #[allow(unused_variables)]
369    fn compute_size(&self) -> u32 {
370        let mut my_size = 0;
371        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
372        self.cached_size.set(my_size);
373        my_size
374    }
375
376    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
377        os.write_unknown_fields(self.get_unknown_fields())?;
378        ::std::result::Result::Ok(())
379    }
380
381    fn get_cached_size(&self) -> u32 {
382        self.cached_size.get()
383    }
384
385    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
386        &self.unknown_fields
387    }
388
389    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
390        &mut self.unknown_fields
391    }
392
393    fn as_any(&self) -> &dyn (::std::any::Any) {
394        self as &dyn (::std::any::Any)
395    }
396    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
397        self as &mut dyn (::std::any::Any)
398    }
399    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
400        self
401    }
402
403    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
404        Self::descriptor_static()
405    }
406
407    fn new() -> PingRequest {
408        PingRequest::new()
409    }
410
411    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
412        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
413            lock: ::protobuf::lazy::ONCE_INIT,
414            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
415        };
416        unsafe {
417            descriptor.get(|| {
418                let fields = ::std::vec::Vec::new();
419                ::protobuf::reflect::MessageDescriptor::new::<PingRequest>(
420                    "PingRequest",
421                    fields,
422                    file_descriptor_proto()
423                )
424            })
425        }
426    }
427
428    fn default_instance() -> &'static PingRequest {
429        static mut instance: ::protobuf::lazy::Lazy<PingRequest> = ::protobuf::lazy::Lazy {
430            lock: ::protobuf::lazy::ONCE_INIT,
431            ptr: 0 as *const PingRequest,
432        };
433        unsafe {
434            instance.get(PingRequest::new)
435        }
436    }
437}
438
439impl ::protobuf::Clear for PingRequest {
440    fn clear(&mut self) {
441        self.unknown_fields.clear();
442    }
443}
444
445impl ::std::fmt::Debug for PingRequest {
446    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
447        ::protobuf::text_format::fmt(self, f)
448    }
449}
450
451impl ::protobuf::reflect::ProtobufValue for PingRequest {
452    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
453        ::protobuf::reflect::ProtobufValueRef::Message(self)
454    }
455}
456
457#[derive(PartialEq,Clone,Default)]
458pub struct PingResponse {
459    // special fields
460    pub unknown_fields: ::protobuf::UnknownFields,
461    pub cached_size: ::protobuf::CachedSize,
462}
463
464impl<'a> ::std::default::Default for &'a PingResponse {
465    fn default() -> &'a PingResponse {
466        <PingResponse as ::protobuf::Message>::default_instance()
467    }
468}
469
470impl PingResponse {
471    pub fn new() -> PingResponse {
472        ::std::default::Default::default()
473    }
474}
475
476impl ::protobuf::Message for PingResponse {
477    fn is_initialized(&self) -> bool {
478        true
479    }
480
481    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
482        while !is.eof()? {
483            let (field_number, wire_type) = is.read_tag_unpack()?;
484            match field_number {
485                _ => {
486                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
487                },
488            };
489        }
490        ::std::result::Result::Ok(())
491    }
492
493    // Compute sizes of nested messages
494    #[allow(unused_variables)]
495    fn compute_size(&self) -> u32 {
496        let mut my_size = 0;
497        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
498        self.cached_size.set(my_size);
499        my_size
500    }
501
502    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
503        os.write_unknown_fields(self.get_unknown_fields())?;
504        ::std::result::Result::Ok(())
505    }
506
507    fn get_cached_size(&self) -> u32 {
508        self.cached_size.get()
509    }
510
511    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
512        &self.unknown_fields
513    }
514
515    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
516        &mut self.unknown_fields
517    }
518
519    fn as_any(&self) -> &dyn (::std::any::Any) {
520        self as &dyn (::std::any::Any)
521    }
522    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
523        self as &mut dyn (::std::any::Any)
524    }
525    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
526        self
527    }
528
529    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
530        Self::descriptor_static()
531    }
532
533    fn new() -> PingResponse {
534        PingResponse::new()
535    }
536
537    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
538        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
539            lock: ::protobuf::lazy::ONCE_INIT,
540            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
541        };
542        unsafe {
543            descriptor.get(|| {
544                let fields = ::std::vec::Vec::new();
545                ::protobuf::reflect::MessageDescriptor::new::<PingResponse>(
546                    "PingResponse",
547                    fields,
548                    file_descriptor_proto()
549                )
550            })
551        }
552    }
553
554    fn default_instance() -> &'static PingResponse {
555        static mut instance: ::protobuf::lazy::Lazy<PingResponse> = ::protobuf::lazy::Lazy {
556            lock: ::protobuf::lazy::ONCE_INIT,
557            ptr: 0 as *const PingResponse,
558        };
559        unsafe {
560            instance.get(PingResponse::new)
561        }
562    }
563}
564
565impl ::protobuf::Clear for PingResponse {
566    fn clear(&mut self) {
567        self.unknown_fields.clear();
568    }
569}
570
571impl ::std::fmt::Debug for PingResponse {
572    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
573        ::protobuf::text_format::fmt(self, f)
574    }
575}
576
577impl ::protobuf::reflect::ProtobufValue for PingResponse {
578    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
579        ::protobuf::reflect::ProtobufValueRef::Message(self)
580    }
581}
582
583#[derive(PartialEq,Clone,Default)]
584pub struct LatestDeltaHashRequest {
585    // special fields
586    pub unknown_fields: ::protobuf::UnknownFields,
587    pub cached_size: ::protobuf::CachedSize,
588}
589
590impl<'a> ::std::default::Default for &'a LatestDeltaHashRequest {
591    fn default() -> &'a LatestDeltaHashRequest {
592        <LatestDeltaHashRequest as ::protobuf::Message>::default_instance()
593    }
594}
595
596impl LatestDeltaHashRequest {
597    pub fn new() -> LatestDeltaHashRequest {
598        ::std::default::Default::default()
599    }
600}
601
602impl ::protobuf::Message for LatestDeltaHashRequest {
603    fn is_initialized(&self) -> bool {
604        true
605    }
606
607    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
608        while !is.eof()? {
609            let (field_number, wire_type) = is.read_tag_unpack()?;
610            match field_number {
611                _ => {
612                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
613                },
614            };
615        }
616        ::std::result::Result::Ok(())
617    }
618
619    // Compute sizes of nested messages
620    #[allow(unused_variables)]
621    fn compute_size(&self) -> u32 {
622        let mut my_size = 0;
623        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
624        self.cached_size.set(my_size);
625        my_size
626    }
627
628    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
629        os.write_unknown_fields(self.get_unknown_fields())?;
630        ::std::result::Result::Ok(())
631    }
632
633    fn get_cached_size(&self) -> u32 {
634        self.cached_size.get()
635    }
636
637    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
638        &self.unknown_fields
639    }
640
641    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
642        &mut self.unknown_fields
643    }
644
645    fn as_any(&self) -> &dyn (::std::any::Any) {
646        self as &dyn (::std::any::Any)
647    }
648    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
649        self as &mut dyn (::std::any::Any)
650    }
651    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
652        self
653    }
654
655    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
656        Self::descriptor_static()
657    }
658
659    fn new() -> LatestDeltaHashRequest {
660        LatestDeltaHashRequest::new()
661    }
662
663    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
664        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
665            lock: ::protobuf::lazy::ONCE_INIT,
666            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
667        };
668        unsafe {
669            descriptor.get(|| {
670                let fields = ::std::vec::Vec::new();
671                ::protobuf::reflect::MessageDescriptor::new::<LatestDeltaHashRequest>(
672                    "LatestDeltaHashRequest",
673                    fields,
674                    file_descriptor_proto()
675                )
676            })
677        }
678    }
679
680    fn default_instance() -> &'static LatestDeltaHashRequest {
681        static mut instance: ::protobuf::lazy::Lazy<LatestDeltaHashRequest> = ::protobuf::lazy::Lazy {
682            lock: ::protobuf::lazy::ONCE_INIT,
683            ptr: 0 as *const LatestDeltaHashRequest,
684        };
685        unsafe {
686            instance.get(LatestDeltaHashRequest::new)
687        }
688    }
689}
690
691impl ::protobuf::Clear for LatestDeltaHashRequest {
692    fn clear(&mut self) {
693        self.unknown_fields.clear();
694    }
695}
696
697impl ::std::fmt::Debug for LatestDeltaHashRequest {
698    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
699        ::protobuf::text_format::fmt(self, f)
700    }
701}
702
703impl ::protobuf::reflect::ProtobufValue for LatestDeltaHashRequest {
704    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
705        ::protobuf::reflect::ProtobufValueRef::Message(self)
706    }
707}
708
709#[derive(PartialEq,Clone,Default)]
710pub struct LatestDeltaHashResponse {
711    // message fields
712    pub delta_hash: ::std::vec::Vec<u8>,
713    // special fields
714    pub unknown_fields: ::protobuf::UnknownFields,
715    pub cached_size: ::protobuf::CachedSize,
716}
717
718impl<'a> ::std::default::Default for &'a LatestDeltaHashResponse {
719    fn default() -> &'a LatestDeltaHashResponse {
720        <LatestDeltaHashResponse as ::protobuf::Message>::default_instance()
721    }
722}
723
724impl LatestDeltaHashResponse {
725    pub fn new() -> LatestDeltaHashResponse {
726        ::std::default::Default::default()
727    }
728
729    // bytes delta_hash = 1;
730
731
732    pub fn get_delta_hash(&self) -> &[u8] {
733        &self.delta_hash
734    }
735    pub fn clear_delta_hash(&mut self) {
736        self.delta_hash.clear();
737    }
738
739    // Param is passed by value, moved
740    pub fn set_delta_hash(&mut self, v: ::std::vec::Vec<u8>) {
741        self.delta_hash = v;
742    }
743
744    // Mutable pointer to the field.
745    // If field is not initialized, it is initialized with default value first.
746    pub fn mut_delta_hash(&mut self) -> &mut ::std::vec::Vec<u8> {
747        &mut self.delta_hash
748    }
749
750    // Take field
751    pub fn take_delta_hash(&mut self) -> ::std::vec::Vec<u8> {
752        ::std::mem::replace(&mut self.delta_hash, ::std::vec::Vec::new())
753    }
754}
755
756impl ::protobuf::Message for LatestDeltaHashResponse {
757    fn is_initialized(&self) -> bool {
758        true
759    }
760
761    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
762        while !is.eof()? {
763            let (field_number, wire_type) = is.read_tag_unpack()?;
764            match field_number {
765                1 => {
766                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.delta_hash)?;
767                },
768                _ => {
769                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
770                },
771            };
772        }
773        ::std::result::Result::Ok(())
774    }
775
776    // Compute sizes of nested messages
777    #[allow(unused_variables)]
778    fn compute_size(&self) -> u32 {
779        let mut my_size = 0;
780        if !self.delta_hash.is_empty() {
781            my_size += ::protobuf::rt::bytes_size(1, &self.delta_hash);
782        }
783        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
784        self.cached_size.set(my_size);
785        my_size
786    }
787
788    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
789        if !self.delta_hash.is_empty() {
790            os.write_bytes(1, &self.delta_hash)?;
791        }
792        os.write_unknown_fields(self.get_unknown_fields())?;
793        ::std::result::Result::Ok(())
794    }
795
796    fn get_cached_size(&self) -> u32 {
797        self.cached_size.get()
798    }
799
800    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
801        &self.unknown_fields
802    }
803
804    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
805        &mut self.unknown_fields
806    }
807
808    fn as_any(&self) -> &dyn (::std::any::Any) {
809        self as &dyn (::std::any::Any)
810    }
811    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
812        self as &mut dyn (::std::any::Any)
813    }
814    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
815        self
816    }
817
818    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
819        Self::descriptor_static()
820    }
821
822    fn new() -> LatestDeltaHashResponse {
823        LatestDeltaHashResponse::new()
824    }
825
826    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
827        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
828            lock: ::protobuf::lazy::ONCE_INIT,
829            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
830        };
831        unsafe {
832            descriptor.get(|| {
833                let mut fields = ::std::vec::Vec::new();
834                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
835                    "delta_hash",
836                    |m: &LatestDeltaHashResponse| { &m.delta_hash },
837                    |m: &mut LatestDeltaHashResponse| { &mut m.delta_hash },
838                ));
839                ::protobuf::reflect::MessageDescriptor::new::<LatestDeltaHashResponse>(
840                    "LatestDeltaHashResponse",
841                    fields,
842                    file_descriptor_proto()
843                )
844            })
845        }
846    }
847
848    fn default_instance() -> &'static LatestDeltaHashResponse {
849        static mut instance: ::protobuf::lazy::Lazy<LatestDeltaHashResponse> = ::protobuf::lazy::Lazy {
850            lock: ::protobuf::lazy::ONCE_INIT,
851            ptr: 0 as *const LatestDeltaHashResponse,
852        };
853        unsafe {
854            instance.get(LatestDeltaHashResponse::new)
855        }
856    }
857}
858
859impl ::protobuf::Clear for LatestDeltaHashResponse {
860    fn clear(&mut self) {
861        self.delta_hash.clear();
862        self.unknown_fields.clear();
863    }
864}
865
866impl ::std::fmt::Debug for LatestDeltaHashResponse {
867    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
868        ::protobuf::text_format::fmt(self, f)
869    }
870}
871
872impl ::protobuf::reflect::ProtobufValue for LatestDeltaHashResponse {
873    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
874        ::protobuf::reflect::ProtobufValueRef::Message(self)
875    }
876}
877
878#[derive(PartialEq,Clone,Default)]
879pub struct DeltaHistoryRequest {
880    // message fields
881    pub range: u32,
882    pub height: u32,
883    // special fields
884    pub unknown_fields: ::protobuf::UnknownFields,
885    pub cached_size: ::protobuf::CachedSize,
886}
887
888impl<'a> ::std::default::Default for &'a DeltaHistoryRequest {
889    fn default() -> &'a DeltaHistoryRequest {
890        <DeltaHistoryRequest as ::protobuf::Message>::default_instance()
891    }
892}
893
894impl DeltaHistoryRequest {
895    pub fn new() -> DeltaHistoryRequest {
896        ::std::default::Default::default()
897    }
898
899    // uint32 range = 1;
900
901
902    pub fn get_range(&self) -> u32 {
903        self.range
904    }
905    pub fn clear_range(&mut self) {
906        self.range = 0;
907    }
908
909    // Param is passed by value, moved
910    pub fn set_range(&mut self, v: u32) {
911        self.range = v;
912    }
913
914    // uint32 height = 2;
915
916
917    pub fn get_height(&self) -> u32 {
918        self.height
919    }
920    pub fn clear_height(&mut self) {
921        self.height = 0;
922    }
923
924    // Param is passed by value, moved
925    pub fn set_height(&mut self, v: u32) {
926        self.height = v;
927    }
928}
929
930impl ::protobuf::Message for DeltaHistoryRequest {
931    fn is_initialized(&self) -> bool {
932        true
933    }
934
935    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
936        while !is.eof()? {
937            let (field_number, wire_type) = is.read_tag_unpack()?;
938            match field_number {
939                1 => {
940                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
941                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
942                    }
943                    let tmp = is.read_uint32()?;
944                    self.range = tmp;
945                },
946                2 => {
947                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
948                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
949                    }
950                    let tmp = is.read_uint32()?;
951                    self.height = tmp;
952                },
953                _ => {
954                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
955                },
956            };
957        }
958        ::std::result::Result::Ok(())
959    }
960
961    // Compute sizes of nested messages
962    #[allow(unused_variables)]
963    fn compute_size(&self) -> u32 {
964        let mut my_size = 0;
965        if self.range != 0 {
966            my_size += ::protobuf::rt::value_size(1, self.range, ::protobuf::wire_format::WireTypeVarint);
967        }
968        if self.height != 0 {
969            my_size += ::protobuf::rt::value_size(2, self.height, ::protobuf::wire_format::WireTypeVarint);
970        }
971        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
972        self.cached_size.set(my_size);
973        my_size
974    }
975
976    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
977        if self.range != 0 {
978            os.write_uint32(1, self.range)?;
979        }
980        if self.height != 0 {
981            os.write_uint32(2, self.height)?;
982        }
983        os.write_unknown_fields(self.get_unknown_fields())?;
984        ::std::result::Result::Ok(())
985    }
986
987    fn get_cached_size(&self) -> u32 {
988        self.cached_size.get()
989    }
990
991    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
992        &self.unknown_fields
993    }
994
995    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
996        &mut self.unknown_fields
997    }
998
999    fn as_any(&self) -> &dyn (::std::any::Any) {
1000        self as &dyn (::std::any::Any)
1001    }
1002    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1003        self as &mut dyn (::std::any::Any)
1004    }
1005    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1006        self
1007    }
1008
1009    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1010        Self::descriptor_static()
1011    }
1012
1013    fn new() -> DeltaHistoryRequest {
1014        DeltaHistoryRequest::new()
1015    }
1016
1017    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1018        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
1019            lock: ::protobuf::lazy::ONCE_INIT,
1020            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
1021        };
1022        unsafe {
1023            descriptor.get(|| {
1024                let mut fields = ::std::vec::Vec::new();
1025                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeUint32>(
1026                    "range",
1027                    |m: &DeltaHistoryRequest| { &m.range },
1028                    |m: &mut DeltaHistoryRequest| { &mut m.range },
1029                ));
1030                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeUint32>(
1031                    "height",
1032                    |m: &DeltaHistoryRequest| { &m.height },
1033                    |m: &mut DeltaHistoryRequest| { &mut m.height },
1034                ));
1035                ::protobuf::reflect::MessageDescriptor::new::<DeltaHistoryRequest>(
1036                    "DeltaHistoryRequest",
1037                    fields,
1038                    file_descriptor_proto()
1039                )
1040            })
1041        }
1042    }
1043
1044    fn default_instance() -> &'static DeltaHistoryRequest {
1045        static mut instance: ::protobuf::lazy::Lazy<DeltaHistoryRequest> = ::protobuf::lazy::Lazy {
1046            lock: ::protobuf::lazy::ONCE_INIT,
1047            ptr: 0 as *const DeltaHistoryRequest,
1048        };
1049        unsafe {
1050            instance.get(DeltaHistoryRequest::new)
1051        }
1052    }
1053}
1054
1055impl ::protobuf::Clear for DeltaHistoryRequest {
1056    fn clear(&mut self) {
1057        self.range = 0;
1058        self.height = 0;
1059        self.unknown_fields.clear();
1060    }
1061}
1062
1063impl ::std::fmt::Debug for DeltaHistoryRequest {
1064    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1065        ::protobuf::text_format::fmt(self, f)
1066    }
1067}
1068
1069impl ::protobuf::reflect::ProtobufValue for DeltaHistoryRequest {
1070    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
1071        ::protobuf::reflect::ProtobufValueRef::Message(self)
1072    }
1073}
1074
1075#[derive(PartialEq,Clone,Default)]
1076pub struct DeltaHistoryResponse {
1077    // message fields
1078    pub result: ::protobuf::RepeatedField<super::Deltas::DeltaIndex>,
1079    // special fields
1080    pub unknown_fields: ::protobuf::UnknownFields,
1081    pub cached_size: ::protobuf::CachedSize,
1082}
1083
1084impl<'a> ::std::default::Default for &'a DeltaHistoryResponse {
1085    fn default() -> &'a DeltaHistoryResponse {
1086        <DeltaHistoryResponse as ::protobuf::Message>::default_instance()
1087    }
1088}
1089
1090impl DeltaHistoryResponse {
1091    pub fn new() -> DeltaHistoryResponse {
1092        ::std::default::Default::default()
1093    }
1094
1095    // repeated .Catalyst.Protocol.Deltas.DeltaIndex result = 1;
1096
1097
1098    pub fn get_result(&self) -> &[super::Deltas::DeltaIndex] {
1099        &self.result
1100    }
1101    pub fn clear_result(&mut self) {
1102        self.result.clear();
1103    }
1104
1105    // Param is passed by value, moved
1106    pub fn set_result(&mut self, v: ::protobuf::RepeatedField<super::Deltas::DeltaIndex>) {
1107        self.result = v;
1108    }
1109
1110    // Mutable pointer to the field.
1111    pub fn mut_result(&mut self) -> &mut ::protobuf::RepeatedField<super::Deltas::DeltaIndex> {
1112        &mut self.result
1113    }
1114
1115    // Take field
1116    pub fn take_result(&mut self) -> ::protobuf::RepeatedField<super::Deltas::DeltaIndex> {
1117        ::std::mem::replace(&mut self.result, ::protobuf::RepeatedField::new())
1118    }
1119}
1120
1121impl ::protobuf::Message for DeltaHistoryResponse {
1122    fn is_initialized(&self) -> bool {
1123        for v in &self.result {
1124            if !v.is_initialized() {
1125                return false;
1126            }
1127        };
1128        true
1129    }
1130
1131    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1132        while !is.eof()? {
1133            let (field_number, wire_type) = is.read_tag_unpack()?;
1134            match field_number {
1135                1 => {
1136                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.result)?;
1137                },
1138                _ => {
1139                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
1140                },
1141            };
1142        }
1143        ::std::result::Result::Ok(())
1144    }
1145
1146    // Compute sizes of nested messages
1147    #[allow(unused_variables)]
1148    fn compute_size(&self) -> u32 {
1149        let mut my_size = 0;
1150        for value in &self.result {
1151            let len = value.compute_size();
1152            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
1153        };
1154        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
1155        self.cached_size.set(my_size);
1156        my_size
1157    }
1158
1159    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::ProtobufResult<()> {
1160        for v in &self.result {
1161            os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
1162            os.write_raw_varint32(v.get_cached_size())?;
1163            v.write_to_with_cached_sizes(os)?;
1164        };
1165        os.write_unknown_fields(self.get_unknown_fields())?;
1166        ::std::result::Result::Ok(())
1167    }
1168
1169    fn get_cached_size(&self) -> u32 {
1170        self.cached_size.get()
1171    }
1172
1173    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
1174        &self.unknown_fields
1175    }
1176
1177    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
1178        &mut self.unknown_fields
1179    }
1180
1181    fn as_any(&self) -> &dyn (::std::any::Any) {
1182        self as &dyn (::std::any::Any)
1183    }
1184    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
1185        self as &mut dyn (::std::any::Any)
1186    }
1187    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
1188        self
1189    }
1190
1191    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
1192        Self::descriptor_static()
1193    }
1194
1195    fn new() -> DeltaHistoryResponse {
1196        DeltaHistoryResponse::new()
1197    }
1198
1199    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
1200        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
1201            lock: ::protobuf::lazy::ONCE_INIT,
1202            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
1203        };
1204        unsafe {
1205            descriptor.get(|| {
1206                let mut fields = ::std::vec::Vec::new();
1207                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<super::Deltas::DeltaIndex>>(
1208                    "result",
1209                    |m: &DeltaHistoryResponse| { &m.result },
1210                    |m: &mut DeltaHistoryResponse| { &mut m.result },
1211                ));
1212                ::protobuf::reflect::MessageDescriptor::new::<DeltaHistoryResponse>(
1213                    "DeltaHistoryResponse",
1214                    fields,
1215                    file_descriptor_proto()
1216                )
1217            })
1218        }
1219    }
1220
1221    fn default_instance() -> &'static DeltaHistoryResponse {
1222        static mut instance: ::protobuf::lazy::Lazy<DeltaHistoryResponse> = ::protobuf::lazy::Lazy {
1223            lock: ::protobuf::lazy::ONCE_INIT,
1224            ptr: 0 as *const DeltaHistoryResponse,
1225        };
1226        unsafe {
1227            instance.get(DeltaHistoryResponse::new)
1228        }
1229    }
1230}
1231
1232impl ::protobuf::Clear for DeltaHistoryResponse {
1233    fn clear(&mut self) {
1234        self.result.clear();
1235        self.unknown_fields.clear();
1236    }
1237}
1238
1239impl ::std::fmt::Debug for DeltaHistoryResponse {
1240    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1241        ::protobuf::text_format::fmt(self, f)
1242    }
1243}
1244
1245impl ::protobuf::reflect::ProtobufValue for DeltaHistoryResponse {
1246    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
1247        ::protobuf::reflect::ProtobufValueRef::Message(self)
1248    }
1249}
1250
1251static file_descriptor_proto_data: &'static [u8] = b"\
1252    \n\nIPPN.proto\x12\x16Catalyst.Protocol.IPPN\x1a\nPeer.proto\x1a\x0cDelt\
1253    as.proto\"\x16\n\x14PeerNeighborsRequest\"M\n\x15PeerNeighborsResponse\
1254    \x124\n\x05peers\x18\x01\x20\x03(\x0b2\x1e.Catalyst.Protocol.Peer.PeerId\
1255    R\x05peers\"\r\n\x0bPingRequest\"\x0e\n\x0cPingResponse\"\x18\n\x16Lates\
1256    tDeltaHashRequest\"8\n\x17LatestDeltaHashResponse\x12\x1d\n\ndelta_hash\
1257    \x18\x01\x20\x01(\x0cR\tdeltaHash\"C\n\x13DeltaHistoryRequest\x12\x14\n\
1258    \x05range\x18\x01\x20\x01(\rR\x05range\x12\x16\n\x06height\x18\x02\x20\
1259    \x01(\rR\x06height\"T\n\x14DeltaHistoryResponse\x12<\n\x06result\x18\x01\
1260    \x20\x03(\x0b2$.Catalyst.Protocol.Deltas.DeltaIndexR\x06resultB\x02P\x01\
1261    J\xab\r\n\x06\x12\x04\x13\03\x01\n\xdf\x06\n\x01\x0c\x12\x03\x13\0\x122\
1262    \xd4\x06*\n\x20Copyright\x20(c)\x202019\x20Catalyst\x20Network\n\n\x20Th\
1263    is\x20file\x20is\x20part\x20of\x20Catalyst.Network.Protocol.Protobuffs\
1264    \x20<https://github.com/catalyst-network/protocol-protobuffs>\n\n\x20Cat\
1265    alyst.Network.Protocol.Protobuffs\x20is\x20free\x20software:\x20you\x20c\
1266    an\x20redistribute\x20it\x20and/or\x20modify\n\x20it\x20under\x20the\x20\
1267    terms\x20of\x20the\x20GNU\x20General\x20Public\x20License\x20as\x20publi\
1268    shed\x20by\n\x20the\x20Free\x20Software\x20Foundation,\x20either\x20vers\
1269    ion\x202\x20of\x20the\x20License,\x20or\n\x20(at\x20your\x20option)\x20a\
1270    ny\x20later\x20version.\n\x20\n\x20Catalyst.Network.Protocol.Protobuffs\
1271    \x20is\x20distributed\x20in\x20the\x20hope\x20that\x20it\x20will\x20be\
1272    \x20useful,\n\x20but\x20WITHOUT\x20ANY\x20WARRANTY;\x20without\x20even\
1273    \x20the\x20implied\x20warranty\x20of\n\x20MERCHANTABILITY\x20or\x20FITNE\
1274    SS\x20FOR\x20A\x20PARTICULAR\x20PURPOSE.\x20See\x20the\n\x20GNU\x20Gener\
1275    al\x20Public\x20License\x20for\x20more\x20details.\n\x20\n\x20You\x20sho\
1276    uld\x20have\x20received\x20a\x20copy\x20of\x20the\x20GNU\x20General\x20P\
1277    ublic\x20License\n\x20along\x20with\x20Catalyst.Network.Protocol.Protobu\
1278    ffs\x20If\x20not,\x20see\x20<https://www.gnu.org/licenses/>.\n\n\x08\n\
1279    \x01\x08\x12\x03\x15\0\"\n\x0b\n\x04\x08\xe7\x07\0\x12\x03\x15\0\"\n\x0c\
1280    \n\x05\x08\xe7\x07\0\x02\x12\x03\x15\x07\x1a\n\r\n\x06\x08\xe7\x07\0\x02\
1281    \0\x12\x03\x15\x07\x1a\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\x12\x03\x15\
1282    \x07\x1a\n\x0c\n\x05\x08\xe7\x07\0\x03\x12\x03\x15\x1d!\n\x08\n\x01\x02\
1283    \x12\x03\x17\x08\x1e\n\t\n\x02\x03\0\x12\x03\x19\x07\x13\n\t\n\x02\x03\
1284    \x01\x12\x03\x1a\x07\x15\n\t\n\x02\x04\0\x12\x03\x1c\0\x20\n\n\n\x03\x04\
1285    \0\x01\x12\x03\x1c\x08\x1c\n\n\n\x02\x04\x01\x12\x04\x1e\0\x20\x01\n\n\n\
1286    \x03\x04\x01\x01\x12\x03\x1e\x08\x1d\n0\n\x04\x04\x01\x02\0\x12\x03\x1f\
1287    \x04#\"#\x20Random\x20subset\x20of\x20a\x20nodes\x20peer\x20db.\n\n\x0c\
1288    \n\x05\x04\x01\x02\0\x04\x12\x03\x1f\x04\x0c\n\x0c\n\x05\x04\x01\x02\0\
1289    \x06\x12\x03\x1f\r\x18\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03\x1f\x19\x1e\
1290    \n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x1f!\"\n\t\n\x02\x04\x02\x12\x03\
1291    \"\0\x17\n\n\n\x03\x04\x02\x01\x12\x03\"\x08\x13\n\t\n\x02\x04\x03\x12\
1292    \x03$\0\x18\n\n\n\x03\x04\x03\x01\x12\x03$\x08\x14\n\t\n\x02\x04\x04\x12\
1293    \x03&\0\"\n\n\n\x03\x04\x04\x01\x12\x03&\x08\x1e\n\n\n\x02\x04\x05\x12\
1294    \x04(\0*\x01\n\n\n\x03\x04\x05\x01\x12\x03(\x08\x1f\n-\n\x04\x04\x05\x02\
1295    \0\x12\x03)\x04\x19\"\x20\x20Rhe\x20cid\x20of\x20a\x20nodes\x20last\x20d\
1296    elta.\n\n\r\n\x05\x04\x05\x02\0\x04\x12\x04)\x04(!\n\x0c\n\x05\x04\x05\
1297    \x02\0\x05\x12\x03)\x04\t\n\x0c\n\x05\x04\x05\x02\0\x01\x12\x03)\n\x14\n\
1298    \x0c\n\x05\x04\x05\x02\0\x03\x12\x03)\x17\x18\n\n\n\x02\x04\x06\x12\x04,\
1299    \0/\x01\n\n\n\x03\x04\x06\x01\x12\x03,\x08\x1b\n9\n\x04\x04\x06\x02\0\
1300    \x12\x03-\x04\x15\",\x20The\x20number\x20of\x20deltas\x20CIDs\x20a\x20no\
1301    de\x20requests.\n\n\r\n\x05\x04\x06\x02\0\x04\x12\x04-\x04,\x1d\n\x0c\n\
1302    \x05\x04\x06\x02\0\x05\x12\x03-\x04\n\n\x0c\n\x05\x04\x06\x02\0\x01\x12\
1303    \x03-\x0b\x10\n\x0c\n\x05\x04\x06\x02\0\x03\x12\x03-\x13\x14\n>\n\x04\
1304    \x04\x06\x02\x01\x12\x03.\x04\x16\"1\x20The\x20given\x20height\x20the\
1305    \x20node\x20wants\x20the\x20range\x20from.\n\n\r\n\x05\x04\x06\x02\x01\
1306    \x04\x12\x04.\x04-\x15\n\x0c\n\x05\x04\x06\x02\x01\x05\x12\x03.\x04\n\n\
1307    \x0c\n\x05\x04\x06\x02\x01\x01\x12\x03.\x0b\x11\n\x0c\n\x05\x04\x06\x02\
1308    \x01\x03\x12\x03.\x14\x15\n\n\n\x02\x04\x07\x12\x041\03\x01\n\n\n\x03\
1309    \x04\x07\x01\x12\x031\x08\x1c\n\x1a\n\x04\x04\x07\x02\0\x12\x032\x04*\"\
1310    \r\x20K\x20given\x20del\n\n\x0c\n\x05\x04\x07\x02\0\x04\x12\x032\x04\x0c\
1311    \n\x0c\n\x05\x04\x07\x02\0\x06\x12\x032\r\x1e\n\x0c\n\x05\x04\x07\x02\0\
1312    \x01\x12\x032\x1f%\n\x0c\n\x05\x04\x07\x02\0\x03\x12\x032()b\x06proto3\
1313";
1314
1315static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
1316    lock: ::protobuf::lazy::ONCE_INIT,
1317    ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
1318};
1319
1320fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
1321    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
1322}
1323
1324pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1325    unsafe {
1326        file_descriptor_proto_lazy.get(|| {
1327            parse_descriptor_proto()
1328        })
1329    }
1330}