-
Notifications
You must be signed in to change notification settings - Fork 586
/
solomachine.pb.go
4119 lines (3969 loc) · 103 KB
/
solomachine.pb.go
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: ibc/lightclients/solomachine/v2/solomachine.proto
package v7
import (
fmt "fmt"
types "github.com/cosmos/cosmos-sdk/codec/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
types1 "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types"
types2 "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// DataType defines the type of solo machine proof being created. This is done
// to preserve uniqueness of different data sign byte encodings.
type DataType int32
const (
// Default State
UNSPECIFIED DataType = 0
// Data type for client state verification
CLIENT DataType = 1
// Data type for consensus state verification
CONSENSUS DataType = 2
// Data type for connection state verification
CONNECTION DataType = 3
// Data type for channel state verification
CHANNEL DataType = 4
// Data type for packet commitment verification
PACKETCOMMITMENT DataType = 5
// Data type for packet acknowledgement verification
PACKETACKNOWLEDGEMENT DataType = 6
// Data type for packet receipt absence verification
PACKETRECEIPTABSENCE DataType = 7
// Data type for next sequence recv verification
NEXTSEQUENCERECV DataType = 8
// Data type for header verification
HEADER DataType = 9
)
var DataType_name = map[int32]string{
0: "DATA_TYPE_UNINITIALIZED_UNSPECIFIED",
1: "DATA_TYPE_CLIENT_STATE",
2: "DATA_TYPE_CONSENSUS_STATE",
3: "DATA_TYPE_CONNECTION_STATE",
4: "DATA_TYPE_CHANNEL_STATE",
5: "DATA_TYPE_PACKET_COMMITMENT",
6: "DATA_TYPE_PACKET_ACKNOWLEDGEMENT",
7: "DATA_TYPE_PACKET_RECEIPT_ABSENCE",
8: "DATA_TYPE_NEXT_SEQUENCE_RECV",
9: "DATA_TYPE_HEADER",
}
var DataType_value = map[string]int32{
"DATA_TYPE_UNINITIALIZED_UNSPECIFIED": 0,
"DATA_TYPE_CLIENT_STATE": 1,
"DATA_TYPE_CONSENSUS_STATE": 2,
"DATA_TYPE_CONNECTION_STATE": 3,
"DATA_TYPE_CHANNEL_STATE": 4,
"DATA_TYPE_PACKET_COMMITMENT": 5,
"DATA_TYPE_PACKET_ACKNOWLEDGEMENT": 6,
"DATA_TYPE_PACKET_RECEIPT_ABSENCE": 7,
"DATA_TYPE_NEXT_SEQUENCE_RECV": 8,
"DATA_TYPE_HEADER": 9,
}
func (x DataType) String() string {
return proto.EnumName(DataType_name, int32(x))
}
func (DataType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{0}
}
// ClientState defines a solo machine client that tracks the current consensus
// state and if the client is frozen.
type ClientState struct {
// latest sequence of the client state
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
// frozen sequence of the solo machine
IsFrozen bool `protobuf:"varint,2,opt,name=is_frozen,json=isFrozen,proto3" json:"is_frozen,omitempty"`
ConsensusState *ConsensusState `protobuf:"bytes,3,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
// when set to true, will allow governance to update a solo machine client.
// The client will be unfrozen if it is frozen.
AllowUpdateAfterProposal bool `protobuf:"varint,4,opt,name=allow_update_after_proposal,json=allowUpdateAfterProposal,proto3" json:"allow_update_after_proposal,omitempty"`
}
func (m *ClientState) Reset() { *m = ClientState{} }
func (m *ClientState) String() string { return proto.CompactTextString(m) }
func (*ClientState) ProtoMessage() {}
func (*ClientState) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{0}
}
func (m *ClientState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ClientState.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ClientState) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClientState.Merge(m, src)
}
func (m *ClientState) XXX_Size() int {
return m.Size()
}
func (m *ClientState) XXX_DiscardUnknown() {
xxx_messageInfo_ClientState.DiscardUnknown(m)
}
var xxx_messageInfo_ClientState proto.InternalMessageInfo
// ConsensusState defines a solo machine consensus state. The sequence of a
// consensus state is contained in the "height" key used in storing the
// consensus state.
type ConsensusState struct {
// public key of the solo machine
PublicKey *types.Any `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// diversifier allows the same public key to be re-used across different solo
// machine clients (potentially on different chains) without being considered
// misbehaviour.
Diversifier string `protobuf:"bytes,2,opt,name=diversifier,proto3" json:"diversifier,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (m *ConsensusState) Reset() { *m = ConsensusState{} }
func (m *ConsensusState) String() string { return proto.CompactTextString(m) }
func (*ConsensusState) ProtoMessage() {}
func (*ConsensusState) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{1}
}
func (m *ConsensusState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ConsensusState.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ConsensusState) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConsensusState.Merge(m, src)
}
func (m *ConsensusState) XXX_Size() int {
return m.Size()
}
func (m *ConsensusState) XXX_DiscardUnknown() {
xxx_messageInfo_ConsensusState.DiscardUnknown(m)
}
var xxx_messageInfo_ConsensusState proto.InternalMessageInfo
// Header defines a solo machine consensus header
type Header struct {
// sequence to update solo machine public key at
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
NewPublicKey *types.Any `protobuf:"bytes,4,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"`
NewDiversifier string `protobuf:"bytes,5,opt,name=new_diversifier,json=newDiversifier,proto3" json:"new_diversifier,omitempty"`
}
func (m *Header) Reset() { *m = Header{} }
func (m *Header) String() string { return proto.CompactTextString(m) }
func (*Header) ProtoMessage() {}
func (*Header) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{2}
}
func (m *Header) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Header.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Header) XXX_Merge(src proto.Message) {
xxx_messageInfo_Header.Merge(m, src)
}
func (m *Header) XXX_Size() int {
return m.Size()
}
func (m *Header) XXX_DiscardUnknown() {
xxx_messageInfo_Header.DiscardUnknown(m)
}
var xxx_messageInfo_Header proto.InternalMessageInfo
// Misbehaviour defines misbehaviour for a solo machine which consists
// of a sequence and two signatures over different messages at that sequence.
type Misbehaviour struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
SignatureOne *SignatureAndData `protobuf:"bytes,3,opt,name=signature_one,json=signatureOne,proto3" json:"signature_one,omitempty"`
SignatureTwo *SignatureAndData `protobuf:"bytes,4,opt,name=signature_two,json=signatureTwo,proto3" json:"signature_two,omitempty"`
}
func (m *Misbehaviour) Reset() { *m = Misbehaviour{} }
func (m *Misbehaviour) String() string { return proto.CompactTextString(m) }
func (*Misbehaviour) ProtoMessage() {}
func (*Misbehaviour) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{3}
}
func (m *Misbehaviour) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Misbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Misbehaviour.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Misbehaviour) XXX_Merge(src proto.Message) {
xxx_messageInfo_Misbehaviour.Merge(m, src)
}
func (m *Misbehaviour) XXX_Size() int {
return m.Size()
}
func (m *Misbehaviour) XXX_DiscardUnknown() {
xxx_messageInfo_Misbehaviour.DiscardUnknown(m)
}
var xxx_messageInfo_Misbehaviour proto.InternalMessageInfo
// SignatureAndData contains a signature and the data signed over to create that
// signature.
type SignatureAndData struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
DataType DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=ibc.lightclients.solomachine.v2.DataType" json:"data_type,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (m *SignatureAndData) Reset() { *m = SignatureAndData{} }
func (m *SignatureAndData) String() string { return proto.CompactTextString(m) }
func (*SignatureAndData) ProtoMessage() {}
func (*SignatureAndData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{4}
}
func (m *SignatureAndData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SignatureAndData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_SignatureAndData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *SignatureAndData) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignatureAndData.Merge(m, src)
}
func (m *SignatureAndData) XXX_Size() int {
return m.Size()
}
func (m *SignatureAndData) XXX_DiscardUnknown() {
xxx_messageInfo_SignatureAndData.DiscardUnknown(m)
}
var xxx_messageInfo_SignatureAndData proto.InternalMessageInfo
// TimestampedSignatureData contains the signature data and the timestamp of the
// signature.
type TimestampedSignatureData struct {
SignatureData []byte `protobuf:"bytes,1,opt,name=signature_data,json=signatureData,proto3" json:"signature_data,omitempty"`
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
func (m *TimestampedSignatureData) Reset() { *m = TimestampedSignatureData{} }
func (m *TimestampedSignatureData) String() string { return proto.CompactTextString(m) }
func (*TimestampedSignatureData) ProtoMessage() {}
func (*TimestampedSignatureData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{5}
}
func (m *TimestampedSignatureData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *TimestampedSignatureData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_TimestampedSignatureData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *TimestampedSignatureData) XXX_Merge(src proto.Message) {
xxx_messageInfo_TimestampedSignatureData.Merge(m, src)
}
func (m *TimestampedSignatureData) XXX_Size() int {
return m.Size()
}
func (m *TimestampedSignatureData) XXX_DiscardUnknown() {
xxx_messageInfo_TimestampedSignatureData.DiscardUnknown(m)
}
var xxx_messageInfo_TimestampedSignatureData proto.InternalMessageInfo
// SignBytes defines the signed bytes used for signature verification.
type SignBytes struct {
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Diversifier string `protobuf:"bytes,3,opt,name=diversifier,proto3" json:"diversifier,omitempty"`
// type of the data used
DataType DataType `protobuf:"varint,4,opt,name=data_type,json=dataType,proto3,enum=ibc.lightclients.solomachine.v2.DataType" json:"data_type,omitempty"`
// marshaled data
Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *SignBytes) Reset() { *m = SignBytes{} }
func (m *SignBytes) String() string { return proto.CompactTextString(m) }
func (*SignBytes) ProtoMessage() {}
func (*SignBytes) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{6}
}
func (m *SignBytes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SignBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_SignBytes.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *SignBytes) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignBytes.Merge(m, src)
}
func (m *SignBytes) XXX_Size() int {
return m.Size()
}
func (m *SignBytes) XXX_DiscardUnknown() {
xxx_messageInfo_SignBytes.DiscardUnknown(m)
}
var xxx_messageInfo_SignBytes proto.InternalMessageInfo
// HeaderData returns the SignBytes data for update verification.
type HeaderData struct {
// header public key
NewPubKey *types.Any `protobuf:"bytes,1,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"`
// header diversifier
NewDiversifier string `protobuf:"bytes,2,opt,name=new_diversifier,json=newDiversifier,proto3" json:"new_diversifier,omitempty"`
}
func (m *HeaderData) Reset() { *m = HeaderData{} }
func (m *HeaderData) String() string { return proto.CompactTextString(m) }
func (*HeaderData) ProtoMessage() {}
func (*HeaderData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{7}
}
func (m *HeaderData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *HeaderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_HeaderData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *HeaderData) XXX_Merge(src proto.Message) {
xxx_messageInfo_HeaderData.Merge(m, src)
}
func (m *HeaderData) XXX_Size() int {
return m.Size()
}
func (m *HeaderData) XXX_DiscardUnknown() {
xxx_messageInfo_HeaderData.DiscardUnknown(m)
}
var xxx_messageInfo_HeaderData proto.InternalMessageInfo
// ClientStateData returns the SignBytes data for client state verification.
type ClientStateData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
ClientState *types.Any `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
}
func (m *ClientStateData) Reset() { *m = ClientStateData{} }
func (m *ClientStateData) String() string { return proto.CompactTextString(m) }
func (*ClientStateData) ProtoMessage() {}
func (*ClientStateData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{8}
}
func (m *ClientStateData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ClientStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ClientStateData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ClientStateData) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClientStateData.Merge(m, src)
}
func (m *ClientStateData) XXX_Size() int {
return m.Size()
}
func (m *ClientStateData) XXX_DiscardUnknown() {
xxx_messageInfo_ClientStateData.DiscardUnknown(m)
}
var xxx_messageInfo_ClientStateData proto.InternalMessageInfo
// ConsensusStateData returns the SignBytes data for consensus state
// verification.
type ConsensusStateData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
ConsensusState *types.Any `protobuf:"bytes,2,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
}
func (m *ConsensusStateData) Reset() { *m = ConsensusStateData{} }
func (m *ConsensusStateData) String() string { return proto.CompactTextString(m) }
func (*ConsensusStateData) ProtoMessage() {}
func (*ConsensusStateData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{9}
}
func (m *ConsensusStateData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ConsensusStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ConsensusStateData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ConsensusStateData) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConsensusStateData.Merge(m, src)
}
func (m *ConsensusStateData) XXX_Size() int {
return m.Size()
}
func (m *ConsensusStateData) XXX_DiscardUnknown() {
xxx_messageInfo_ConsensusStateData.DiscardUnknown(m)
}
var xxx_messageInfo_ConsensusStateData proto.InternalMessageInfo
// ConnectionStateData returns the SignBytes data for connection state
// verification.
type ConnectionStateData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Connection *types1.ConnectionEnd `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
}
func (m *ConnectionStateData) Reset() { *m = ConnectionStateData{} }
func (m *ConnectionStateData) String() string { return proto.CompactTextString(m) }
func (*ConnectionStateData) ProtoMessage() {}
func (*ConnectionStateData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{10}
}
func (m *ConnectionStateData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ConnectionStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ConnectionStateData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ConnectionStateData) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConnectionStateData.Merge(m, src)
}
func (m *ConnectionStateData) XXX_Size() int {
return m.Size()
}
func (m *ConnectionStateData) XXX_DiscardUnknown() {
xxx_messageInfo_ConnectionStateData.DiscardUnknown(m)
}
var xxx_messageInfo_ConnectionStateData proto.InternalMessageInfo
// ChannelStateData returns the SignBytes data for channel state
// verification.
type ChannelStateData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Channel *types2.Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
}
func (m *ChannelStateData) Reset() { *m = ChannelStateData{} }
func (m *ChannelStateData) String() string { return proto.CompactTextString(m) }
func (*ChannelStateData) ProtoMessage() {}
func (*ChannelStateData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{11}
}
func (m *ChannelStateData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ChannelStateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ChannelStateData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ChannelStateData) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChannelStateData.Merge(m, src)
}
func (m *ChannelStateData) XXX_Size() int {
return m.Size()
}
func (m *ChannelStateData) XXX_DiscardUnknown() {
xxx_messageInfo_ChannelStateData.DiscardUnknown(m)
}
var xxx_messageInfo_ChannelStateData proto.InternalMessageInfo
// PacketCommitmentData returns the SignBytes data for packet commitment
// verification.
type PacketCommitmentData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Commitment []byte `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"`
}
func (m *PacketCommitmentData) Reset() { *m = PacketCommitmentData{} }
func (m *PacketCommitmentData) String() string { return proto.CompactTextString(m) }
func (*PacketCommitmentData) ProtoMessage() {}
func (*PacketCommitmentData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{12}
}
func (m *PacketCommitmentData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *PacketCommitmentData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_PacketCommitmentData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *PacketCommitmentData) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketCommitmentData.Merge(m, src)
}
func (m *PacketCommitmentData) XXX_Size() int {
return m.Size()
}
func (m *PacketCommitmentData) XXX_DiscardUnknown() {
xxx_messageInfo_PacketCommitmentData.DiscardUnknown(m)
}
var xxx_messageInfo_PacketCommitmentData proto.InternalMessageInfo
func (m *PacketCommitmentData) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *PacketCommitmentData) GetCommitment() []byte {
if m != nil {
return m.Commitment
}
return nil
}
// PacketAcknowledgementData returns the SignBytes data for acknowledgement
// verification.
type PacketAcknowledgementData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Acknowledgement []byte `protobuf:"bytes,2,opt,name=acknowledgement,proto3" json:"acknowledgement,omitempty"`
}
func (m *PacketAcknowledgementData) Reset() { *m = PacketAcknowledgementData{} }
func (m *PacketAcknowledgementData) String() string { return proto.CompactTextString(m) }
func (*PacketAcknowledgementData) ProtoMessage() {}
func (*PacketAcknowledgementData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{13}
}
func (m *PacketAcknowledgementData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *PacketAcknowledgementData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_PacketAcknowledgementData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *PacketAcknowledgementData) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketAcknowledgementData.Merge(m, src)
}
func (m *PacketAcknowledgementData) XXX_Size() int {
return m.Size()
}
func (m *PacketAcknowledgementData) XXX_DiscardUnknown() {
xxx_messageInfo_PacketAcknowledgementData.DiscardUnknown(m)
}
var xxx_messageInfo_PacketAcknowledgementData proto.InternalMessageInfo
func (m *PacketAcknowledgementData) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *PacketAcknowledgementData) GetAcknowledgement() []byte {
if m != nil {
return m.Acknowledgement
}
return nil
}
// PacketReceiptAbsenceData returns the SignBytes data for
// packet receipt absence verification.
type PacketReceiptAbsenceData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
}
func (m *PacketReceiptAbsenceData) Reset() { *m = PacketReceiptAbsenceData{} }
func (m *PacketReceiptAbsenceData) String() string { return proto.CompactTextString(m) }
func (*PacketReceiptAbsenceData) ProtoMessage() {}
func (*PacketReceiptAbsenceData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{14}
}
func (m *PacketReceiptAbsenceData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *PacketReceiptAbsenceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_PacketReceiptAbsenceData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *PacketReceiptAbsenceData) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketReceiptAbsenceData.Merge(m, src)
}
func (m *PacketReceiptAbsenceData) XXX_Size() int {
return m.Size()
}
func (m *PacketReceiptAbsenceData) XXX_DiscardUnknown() {
xxx_messageInfo_PacketReceiptAbsenceData.DiscardUnknown(m)
}
var xxx_messageInfo_PacketReceiptAbsenceData proto.InternalMessageInfo
func (m *PacketReceiptAbsenceData) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
// NextSequenceRecvData returns the SignBytes data for verification of the next
// sequence to be received.
type NextSequenceRecvData struct {
Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
NextSeqRecv uint64 `protobuf:"varint,2,opt,name=next_seq_recv,json=nextSeqRecv,proto3" json:"next_seq_recv,omitempty"`
}
func (m *NextSequenceRecvData) Reset() { *m = NextSequenceRecvData{} }
func (m *NextSequenceRecvData) String() string { return proto.CompactTextString(m) }
func (*NextSequenceRecvData) ProtoMessage() {}
func (*NextSequenceRecvData) Descriptor() ([]byte, []int) {
return fileDescriptor_141333b361aae010, []int{15}
}
func (m *NextSequenceRecvData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *NextSequenceRecvData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_NextSequenceRecvData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *NextSequenceRecvData) XXX_Merge(src proto.Message) {
xxx_messageInfo_NextSequenceRecvData.Merge(m, src)
}
func (m *NextSequenceRecvData) XXX_Size() int {
return m.Size()
}
func (m *NextSequenceRecvData) XXX_DiscardUnknown() {
xxx_messageInfo_NextSequenceRecvData.DiscardUnknown(m)
}
var xxx_messageInfo_NextSequenceRecvData proto.InternalMessageInfo
func (m *NextSequenceRecvData) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *NextSequenceRecvData) GetNextSeqRecv() uint64 {
if m != nil {
return m.NextSeqRecv
}
return 0
}
func init() {
proto.RegisterEnum("ibc.lightclients.solomachine.v2.DataType", DataType_name, DataType_value)
proto.RegisterType((*ClientState)(nil), "ibc.lightclients.solomachine.v2.ClientState")
proto.RegisterType((*ConsensusState)(nil), "ibc.lightclients.solomachine.v2.ConsensusState")
proto.RegisterType((*Header)(nil), "ibc.lightclients.solomachine.v2.Header")
proto.RegisterType((*Misbehaviour)(nil), "ibc.lightclients.solomachine.v2.Misbehaviour")
proto.RegisterType((*SignatureAndData)(nil), "ibc.lightclients.solomachine.v2.SignatureAndData")
proto.RegisterType((*TimestampedSignatureData)(nil), "ibc.lightclients.solomachine.v2.TimestampedSignatureData")
proto.RegisterType((*SignBytes)(nil), "ibc.lightclients.solomachine.v2.SignBytes")
proto.RegisterType((*HeaderData)(nil), "ibc.lightclients.solomachine.v2.HeaderData")
proto.RegisterType((*ClientStateData)(nil), "ibc.lightclients.solomachine.v2.ClientStateData")
proto.RegisterType((*ConsensusStateData)(nil), "ibc.lightclients.solomachine.v2.ConsensusStateData")
proto.RegisterType((*ConnectionStateData)(nil), "ibc.lightclients.solomachine.v2.ConnectionStateData")
proto.RegisterType((*ChannelStateData)(nil), "ibc.lightclients.solomachine.v2.ChannelStateData")
proto.RegisterType((*PacketCommitmentData)(nil), "ibc.lightclients.solomachine.v2.PacketCommitmentData")
proto.RegisterType((*PacketAcknowledgementData)(nil), "ibc.lightclients.solomachine.v2.PacketAcknowledgementData")
proto.RegisterType((*PacketReceiptAbsenceData)(nil), "ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData")
proto.RegisterType((*NextSequenceRecvData)(nil), "ibc.lightclients.solomachine.v2.NextSequenceRecvData")
}
func init() {
proto.RegisterFile("ibc/lightclients/solomachine/v2/solomachine.proto", fileDescriptor_141333b361aae010)
}
var fileDescriptor_141333b361aae010 = []byte{
// 1238 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xc1, 0x6e, 0xdb, 0x46,
0x13, 0x36, 0x15, 0xc5, 0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xab, 0x19, 0x56, 0xb9, 0xc8, 0x4e, 0x86,
0xed, 0xa4, 0xfc, 0xcb, 0x5f, 0xab, 0x4b, 0xf7, 0x9e, 0xfe, 0xfe, 0xba, 0x2a, 0xbc, 0x7a, 0x5d,
0x15, 0xfe, 0x7e, 0x5d, 0x15, 0x7e, 0x7e, 0x53, 0x5d, 0x7a, 0xf5, 0xa6, 0xba, 0xf4, 0xd7, 0x9b,
0xea, 0xd2, 0xd3, 0xaf, 0xdb, 0x01, 0x39, 0xea, 0xb7, 0x14, 0x0f, 0x77, 0x55, 0x0f, 0xc7, 0x5d,
0x1c, 0xab, 0x41, 0xcb, 0xbb, 0xde, 0xc6, 0xea, 0xe0, 0xb6, 0xda, 0xc5, 0x7e, 0xbf, 0x83, 0x62,
0xf6, 0x4f, 0xfc, 0xd9, 0xce, 0x75, 0x76, 0xb7, 0xa9, 0xdd, 0xa0, 0x1d, 0xb9, 0xc9, 0xe4, 0xc7,
0xea, 0xe0, 0x56, 0x6b, 0x99, 0xde, 0x49, 0x37, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x5b,
0x7f, 0x03, 0xbb, 0x0b, 0x00, 0x00,
}
func (m *ClientState) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ClientState) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.AllowUpdateAfterProposal {
i--
if m.AllowUpdateAfterProposal {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x20
}
if m.ConsensusState != nil {
{
size, err := m.ConsensusState.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintSolomachine(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
if m.IsFrozen {
i--
if m.IsFrozen {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x10
}
if m.Sequence != 0 {
i = encodeVarintSolomachine(dAtA, i, uint64(m.Sequence))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func (m *ConsensusState) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *ConsensusState) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Timestamp != 0 {
i = encodeVarintSolomachine(dAtA, i, uint64(m.Timestamp))
i--
dAtA[i] = 0x18
}
if len(m.Diversifier) > 0 {
i -= len(m.Diversifier)
copy(dAtA[i:], m.Diversifier)
i = encodeVarintSolomachine(dAtA, i, uint64(len(m.Diversifier)))
i--
dAtA[i] = 0x12
}
if m.PublicKey != nil {
{