/
api.pb.go
7372 lines (6800 loc) · 299 KB
/
api.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-go. DO NOT EDIT.
// source: api/api.proto
package api
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
core "github.com/pedrobertao/go-grpc/core"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
type ReturnResponseCode int32
const (
Return_SUCCESS ReturnResponseCode = 0
Return_SIGERROR ReturnResponseCode = 1
Return_CONTRACT_VALIDATE_ERROR ReturnResponseCode = 2
Return_CONTRACT_EXE_ERROR ReturnResponseCode = 3
Return_BANDWITH_ERROR ReturnResponseCode = 4
Return_DUP_TRANSACTION_ERROR ReturnResponseCode = 5
Return_TAPOS_ERROR ReturnResponseCode = 6
Return_TOO_BIG_TRANSACTION_ERROR ReturnResponseCode = 7
Return_TRANSACTION_EXPIRATION_ERROR ReturnResponseCode = 8
Return_SERVER_BUSY ReturnResponseCode = 9
Return_NO_CONNECTION ReturnResponseCode = 10
Return_NOT_ENOUGH_EFFECTIVE_CONNECTION ReturnResponseCode = 11
Return_OTHER_ERROR ReturnResponseCode = 20
)
var ReturnResponseCode_name = map[int32]string{
0: "SUCCESS",
1: "SIGERROR",
2: "CONTRACT_VALIDATE_ERROR",
3: "CONTRACT_EXE_ERROR",
4: "BANDWITH_ERROR",
5: "DUP_TRANSACTION_ERROR",
6: "TAPOS_ERROR",
7: "TOO_BIG_TRANSACTION_ERROR",
8: "TRANSACTION_EXPIRATION_ERROR",
9: "SERVER_BUSY",
10: "NO_CONNECTION",
11: "NOT_ENOUGH_EFFECTIVE_CONNECTION",
20: "OTHER_ERROR",
}
var ReturnResponseCode_value = map[string]int32{
"SUCCESS": 0,
"SIGERROR": 1,
"CONTRACT_VALIDATE_ERROR": 2,
"CONTRACT_EXE_ERROR": 3,
"BANDWITH_ERROR": 4,
"DUP_TRANSACTION_ERROR": 5,
"TAPOS_ERROR": 6,
"TOO_BIG_TRANSACTION_ERROR": 7,
"TRANSACTION_EXPIRATION_ERROR": 8,
"SERVER_BUSY": 9,
"NO_CONNECTION": 10,
"NOT_ENOUGH_EFFECTIVE_CONNECTION": 11,
"OTHER_ERROR": 20,
}
func (x ReturnResponseCode) String() string {
return proto.EnumName(ReturnResponseCode_name, int32(x))
}
func (ReturnResponseCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{0, 0}
}
type TransactionSignWeight_ResultResponseCode int32
const (
TransactionSignWeight_Result_ENOUGH_PERMISSION TransactionSignWeight_ResultResponseCode = 0
TransactionSignWeight_Result_NOT_ENOUGH_PERMISSION TransactionSignWeight_ResultResponseCode = 1
TransactionSignWeight_Result_SIGNATURE_FORMAT_ERROR TransactionSignWeight_ResultResponseCode = 2
TransactionSignWeight_Result_COMPUTE_ADDRESS_ERROR TransactionSignWeight_ResultResponseCode = 3
TransactionSignWeight_Result_PERMISSION_ERROR TransactionSignWeight_ResultResponseCode = 4
TransactionSignWeight_Result_OTHER_ERROR TransactionSignWeight_ResultResponseCode = 20
)
var TransactionSignWeight_ResultResponseCode_name = map[int32]string{
0: "ENOUGH_PERMISSION",
1: "NOT_ENOUGH_PERMISSION",
2: "SIGNATURE_FORMAT_ERROR",
3: "COMPUTE_ADDRESS_ERROR",
4: "PERMISSION_ERROR",
20: "OTHER_ERROR",
}
var TransactionSignWeight_ResultResponseCode_value = map[string]int32{
"ENOUGH_PERMISSION": 0,
"NOT_ENOUGH_PERMISSION": 1,
"SIGNATURE_FORMAT_ERROR": 2,
"COMPUTE_ADDRESS_ERROR": 3,
"PERMISSION_ERROR": 4,
"OTHER_ERROR": 20,
}
func (x TransactionSignWeight_ResultResponseCode) String() string {
return proto.EnumName(TransactionSignWeight_ResultResponseCode_name, int32(x))
}
func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{34, 0, 0}
}
type TransactionApprovedList_ResultResponseCode int32
const (
TransactionApprovedList_Result_SUCCESS TransactionApprovedList_ResultResponseCode = 0
TransactionApprovedList_Result_SIGNATURE_FORMAT_ERROR TransactionApprovedList_ResultResponseCode = 1
TransactionApprovedList_Result_COMPUTE_ADDRESS_ERROR TransactionApprovedList_ResultResponseCode = 2
TransactionApprovedList_Result_OTHER_ERROR TransactionApprovedList_ResultResponseCode = 20
)
var TransactionApprovedList_ResultResponseCode_name = map[int32]string{
0: "SUCCESS",
1: "SIGNATURE_FORMAT_ERROR",
2: "COMPUTE_ADDRESS_ERROR",
20: "OTHER_ERROR",
}
var TransactionApprovedList_ResultResponseCode_value = map[string]int32{
"SUCCESS": 0,
"SIGNATURE_FORMAT_ERROR": 1,
"COMPUTE_ADDRESS_ERROR": 2,
"OTHER_ERROR": 20,
}
func (x TransactionApprovedList_ResultResponseCode) String() string {
return proto.EnumName(TransactionApprovedList_ResultResponseCode_name, int32(x))
}
func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{35, 0, 0}
}
type Return struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
Code ReturnResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protocol.ReturnResponseCode" json:"code,omitempty"`
Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Return) Reset() { *m = Return{} }
func (m *Return) String() string { return proto.CompactTextString(m) }
func (*Return) ProtoMessage() {}
func (*Return) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{0}
}
func (m *Return) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Return.Unmarshal(m, b)
}
func (m *Return) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Return.Marshal(b, m, deterministic)
}
func (m *Return) XXX_Merge(src proto.Message) {
xxx_messageInfo_Return.Merge(m, src)
}
func (m *Return) XXX_Size() int {
return xxx_messageInfo_Return.Size(m)
}
func (m *Return) XXX_DiscardUnknown() {
xxx_messageInfo_Return.DiscardUnknown(m)
}
var xxx_messageInfo_Return proto.InternalMessageInfo
func (m *Return) GetResult() bool {
if m != nil {
return m.Result
}
return false
}
func (m *Return) GetCode() ReturnResponseCode {
if m != nil {
return m.Code
}
return Return_SUCCESS
}
func (m *Return) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
type BlockReference struct {
BlockNum int64 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BlockReference) Reset() { *m = BlockReference{} }
func (m *BlockReference) String() string { return proto.CompactTextString(m) }
func (*BlockReference) ProtoMessage() {}
func (*BlockReference) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{1}
}
func (m *BlockReference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockReference.Unmarshal(m, b)
}
func (m *BlockReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BlockReference.Marshal(b, m, deterministic)
}
func (m *BlockReference) XXX_Merge(src proto.Message) {
xxx_messageInfo_BlockReference.Merge(m, src)
}
func (m *BlockReference) XXX_Size() int {
return xxx_messageInfo_BlockReference.Size(m)
}
func (m *BlockReference) XXX_DiscardUnknown() {
xxx_messageInfo_BlockReference.DiscardUnknown(m)
}
var xxx_messageInfo_BlockReference proto.InternalMessageInfo
func (m *BlockReference) GetBlockNum() int64 {
if m != nil {
return m.BlockNum
}
return 0
}
func (m *BlockReference) GetBlockHash() []byte {
if m != nil {
return m.BlockHash
}
return nil
}
type WitnessList struct {
Witnesses []*core.Witness `protobuf:"bytes,1,rep,name=witnesses,proto3" json:"witnesses,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WitnessList) Reset() { *m = WitnessList{} }
func (m *WitnessList) String() string { return proto.CompactTextString(m) }
func (*WitnessList) ProtoMessage() {}
func (*WitnessList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{2}
}
func (m *WitnessList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WitnessList.Unmarshal(m, b)
}
func (m *WitnessList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WitnessList.Marshal(b, m, deterministic)
}
func (m *WitnessList) XXX_Merge(src proto.Message) {
xxx_messageInfo_WitnessList.Merge(m, src)
}
func (m *WitnessList) XXX_Size() int {
return xxx_messageInfo_WitnessList.Size(m)
}
func (m *WitnessList) XXX_DiscardUnknown() {
xxx_messageInfo_WitnessList.DiscardUnknown(m)
}
var xxx_messageInfo_WitnessList proto.InternalMessageInfo
func (m *WitnessList) GetWitnesses() []*core.Witness {
if m != nil {
return m.Witnesses
}
return nil
}
type ProposalList struct {
Proposals []*core.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProposalList) Reset() { *m = ProposalList{} }
func (m *ProposalList) String() string { return proto.CompactTextString(m) }
func (*ProposalList) ProtoMessage() {}
func (*ProposalList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{3}
}
func (m *ProposalList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProposalList.Unmarshal(m, b)
}
func (m *ProposalList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProposalList.Marshal(b, m, deterministic)
}
func (m *ProposalList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProposalList.Merge(m, src)
}
func (m *ProposalList) XXX_Size() int {
return xxx_messageInfo_ProposalList.Size(m)
}
func (m *ProposalList) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalList.DiscardUnknown(m)
}
var xxx_messageInfo_ProposalList proto.InternalMessageInfo
func (m *ProposalList) GetProposals() []*core.Proposal {
if m != nil {
return m.Proposals
}
return nil
}
type ExchangeList struct {
Exchanges []*core.Exchange `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExchangeList) Reset() { *m = ExchangeList{} }
func (m *ExchangeList) String() string { return proto.CompactTextString(m) }
func (*ExchangeList) ProtoMessage() {}
func (*ExchangeList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{4}
}
func (m *ExchangeList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExchangeList.Unmarshal(m, b)
}
func (m *ExchangeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExchangeList.Marshal(b, m, deterministic)
}
func (m *ExchangeList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExchangeList.Merge(m, src)
}
func (m *ExchangeList) XXX_Size() int {
return xxx_messageInfo_ExchangeList.Size(m)
}
func (m *ExchangeList) XXX_DiscardUnknown() {
xxx_messageInfo_ExchangeList.DiscardUnknown(m)
}
var xxx_messageInfo_ExchangeList proto.InternalMessageInfo
func (m *ExchangeList) GetExchanges() []*core.Exchange {
if m != nil {
return m.Exchanges
}
return nil
}
type AssetIssueList struct {
AssetIssue []*core.AssetIssueContract `protobuf:"bytes,1,rep,name=assetIssue,proto3" json:"assetIssue,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AssetIssueList) Reset() { *m = AssetIssueList{} }
func (m *AssetIssueList) String() string { return proto.CompactTextString(m) }
func (*AssetIssueList) ProtoMessage() {}
func (*AssetIssueList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{5}
}
func (m *AssetIssueList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AssetIssueList.Unmarshal(m, b)
}
func (m *AssetIssueList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AssetIssueList.Marshal(b, m, deterministic)
}
func (m *AssetIssueList) XXX_Merge(src proto.Message) {
xxx_messageInfo_AssetIssueList.Merge(m, src)
}
func (m *AssetIssueList) XXX_Size() int {
return xxx_messageInfo_AssetIssueList.Size(m)
}
func (m *AssetIssueList) XXX_DiscardUnknown() {
xxx_messageInfo_AssetIssueList.DiscardUnknown(m)
}
var xxx_messageInfo_AssetIssueList proto.InternalMessageInfo
func (m *AssetIssueList) GetAssetIssue() []*core.AssetIssueContract {
if m != nil {
return m.AssetIssue
}
return nil
}
type BlockList struct {
Block []*core.Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BlockList) Reset() { *m = BlockList{} }
func (m *BlockList) String() string { return proto.CompactTextString(m) }
func (*BlockList) ProtoMessage() {}
func (*BlockList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{6}
}
func (m *BlockList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockList.Unmarshal(m, b)
}
func (m *BlockList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BlockList.Marshal(b, m, deterministic)
}
func (m *BlockList) XXX_Merge(src proto.Message) {
xxx_messageInfo_BlockList.Merge(m, src)
}
func (m *BlockList) XXX_Size() int {
return xxx_messageInfo_BlockList.Size(m)
}
func (m *BlockList) XXX_DiscardUnknown() {
xxx_messageInfo_BlockList.DiscardUnknown(m)
}
var xxx_messageInfo_BlockList proto.InternalMessageInfo
func (m *BlockList) GetBlock() []*core.Block {
if m != nil {
return m.Block
}
return nil
}
type TransactionList struct {
Transaction []*core.Transaction `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TransactionList) Reset() { *m = TransactionList{} }
func (m *TransactionList) String() string { return proto.CompactTextString(m) }
func (*TransactionList) ProtoMessage() {}
func (*TransactionList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{7}
}
func (m *TransactionList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionList.Unmarshal(m, b)
}
func (m *TransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransactionList.Marshal(b, m, deterministic)
}
func (m *TransactionList) XXX_Merge(src proto.Message) {
xxx_messageInfo_TransactionList.Merge(m, src)
}
func (m *TransactionList) XXX_Size() int {
return xxx_messageInfo_TransactionList.Size(m)
}
func (m *TransactionList) XXX_DiscardUnknown() {
xxx_messageInfo_TransactionList.DiscardUnknown(m)
}
var xxx_messageInfo_TransactionList proto.InternalMessageInfo
func (m *TransactionList) GetTransaction() []*core.Transaction {
if m != nil {
return m.Transaction
}
return nil
}
type DelegatedResourceMessage struct {
FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"`
ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DelegatedResourceMessage) Reset() { *m = DelegatedResourceMessage{} }
func (m *DelegatedResourceMessage) String() string { return proto.CompactTextString(m) }
func (*DelegatedResourceMessage) ProtoMessage() {}
func (*DelegatedResourceMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{8}
}
func (m *DelegatedResourceMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DelegatedResourceMessage.Unmarshal(m, b)
}
func (m *DelegatedResourceMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DelegatedResourceMessage.Marshal(b, m, deterministic)
}
func (m *DelegatedResourceMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_DelegatedResourceMessage.Merge(m, src)
}
func (m *DelegatedResourceMessage) XXX_Size() int {
return xxx_messageInfo_DelegatedResourceMessage.Size(m)
}
func (m *DelegatedResourceMessage) XXX_DiscardUnknown() {
xxx_messageInfo_DelegatedResourceMessage.DiscardUnknown(m)
}
var xxx_messageInfo_DelegatedResourceMessage proto.InternalMessageInfo
func (m *DelegatedResourceMessage) GetFromAddress() []byte {
if m != nil {
return m.FromAddress
}
return nil
}
func (m *DelegatedResourceMessage) GetToAddress() []byte {
if m != nil {
return m.ToAddress
}
return nil
}
type DelegatedResourceList struct {
DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DelegatedResourceList) Reset() { *m = DelegatedResourceList{} }
func (m *DelegatedResourceList) String() string { return proto.CompactTextString(m) }
func (*DelegatedResourceList) ProtoMessage() {}
func (*DelegatedResourceList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{9}
}
func (m *DelegatedResourceList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DelegatedResourceList.Unmarshal(m, b)
}
func (m *DelegatedResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DelegatedResourceList.Marshal(b, m, deterministic)
}
func (m *DelegatedResourceList) XXX_Merge(src proto.Message) {
xxx_messageInfo_DelegatedResourceList.Merge(m, src)
}
func (m *DelegatedResourceList) XXX_Size() int {
return xxx_messageInfo_DelegatedResourceList.Size(m)
}
func (m *DelegatedResourceList) XXX_DiscardUnknown() {
xxx_messageInfo_DelegatedResourceList.DiscardUnknown(m)
}
var xxx_messageInfo_DelegatedResourceList proto.InternalMessageInfo
func (m *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource {
if m != nil {
return m.DelegatedResource
}
return nil
}
// Gossip node list
type NodeList struct {
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NodeList) Reset() { *m = NodeList{} }
func (m *NodeList) String() string { return proto.CompactTextString(m) }
func (*NodeList) ProtoMessage() {}
func (*NodeList) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{10}
}
func (m *NodeList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NodeList.Unmarshal(m, b)
}
func (m *NodeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NodeList.Marshal(b, m, deterministic)
}
func (m *NodeList) XXX_Merge(src proto.Message) {
xxx_messageInfo_NodeList.Merge(m, src)
}
func (m *NodeList) XXX_Size() int {
return xxx_messageInfo_NodeList.Size(m)
}
func (m *NodeList) XXX_DiscardUnknown() {
xxx_messageInfo_NodeList.DiscardUnknown(m)
}
var xxx_messageInfo_NodeList proto.InternalMessageInfo
func (m *NodeList) GetNodes() []*Node {
if m != nil {
return m.Nodes
}
return nil
}
// Gossip node
type Node struct {
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Node) Reset() { *m = Node{} }
func (m *Node) String() string { return proto.CompactTextString(m) }
func (*Node) ProtoMessage() {}
func (*Node) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{11}
}
func (m *Node) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Node.Unmarshal(m, b)
}
func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Node.Marshal(b, m, deterministic)
}
func (m *Node) XXX_Merge(src proto.Message) {
xxx_messageInfo_Node.Merge(m, src)
}
func (m *Node) XXX_Size() int {
return xxx_messageInfo_Node.Size(m)
}
func (m *Node) XXX_DiscardUnknown() {
xxx_messageInfo_Node.DiscardUnknown(m)
}
var xxx_messageInfo_Node proto.InternalMessageInfo
func (m *Node) GetAddress() *Address {
if m != nil {
return m.Address
}
return nil
}
// Gossip node address
type Address struct {
Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Address) Reset() { *m = Address{} }
func (m *Address) String() string { return proto.CompactTextString(m) }
func (*Address) ProtoMessage() {}
func (*Address) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{12}
}
func (m *Address) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Address.Unmarshal(m, b)
}
func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Address.Marshal(b, m, deterministic)
}
func (m *Address) XXX_Merge(src proto.Message) {
xxx_messageInfo_Address.Merge(m, src)
}
func (m *Address) XXX_Size() int {
return xxx_messageInfo_Address.Size(m)
}
func (m *Address) XXX_DiscardUnknown() {
xxx_messageInfo_Address.DiscardUnknown(m)
}
var xxx_messageInfo_Address proto.InternalMessageInfo
func (m *Address) GetHost() []byte {
if m != nil {
return m.Host
}
return nil
}
func (m *Address) GetPort() int32 {
if m != nil {
return m.Port
}
return 0
}
type EmptyMessage struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EmptyMessage) Reset() { *m = EmptyMessage{} }
func (m *EmptyMessage) String() string { return proto.CompactTextString(m) }
func (*EmptyMessage) ProtoMessage() {}
func (*EmptyMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{13}
}
func (m *EmptyMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EmptyMessage.Unmarshal(m, b)
}
func (m *EmptyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EmptyMessage.Marshal(b, m, deterministic)
}
func (m *EmptyMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_EmptyMessage.Merge(m, src)
}
func (m *EmptyMessage) XXX_Size() int {
return xxx_messageInfo_EmptyMessage.Size(m)
}
func (m *EmptyMessage) XXX_DiscardUnknown() {
xxx_messageInfo_EmptyMessage.DiscardUnknown(m)
}
var xxx_messageInfo_EmptyMessage proto.InternalMessageInfo
type NumberMessage struct {
Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NumberMessage) Reset() { *m = NumberMessage{} }
func (m *NumberMessage) String() string { return proto.CompactTextString(m) }
func (*NumberMessage) ProtoMessage() {}
func (*NumberMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{14}
}
func (m *NumberMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NumberMessage.Unmarshal(m, b)
}
func (m *NumberMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NumberMessage.Marshal(b, m, deterministic)
}
func (m *NumberMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_NumberMessage.Merge(m, src)
}
func (m *NumberMessage) XXX_Size() int {
return xxx_messageInfo_NumberMessage.Size(m)
}
func (m *NumberMessage) XXX_DiscardUnknown() {
xxx_messageInfo_NumberMessage.DiscardUnknown(m)
}
var xxx_messageInfo_NumberMessage proto.InternalMessageInfo
func (m *NumberMessage) GetNum() int64 {
if m != nil {
return m.Num
}
return 0
}
type BytesMessage struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BytesMessage) Reset() { *m = BytesMessage{} }
func (m *BytesMessage) String() string { return proto.CompactTextString(m) }
func (*BytesMessage) ProtoMessage() {}
func (*BytesMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{15}
}
func (m *BytesMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BytesMessage.Unmarshal(m, b)
}
func (m *BytesMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BytesMessage.Marshal(b, m, deterministic)
}
func (m *BytesMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_BytesMessage.Merge(m, src)
}
func (m *BytesMessage) XXX_Size() int {
return xxx_messageInfo_BytesMessage.Size(m)
}
func (m *BytesMessage) XXX_DiscardUnknown() {
xxx_messageInfo_BytesMessage.DiscardUnknown(m)
}
var xxx_messageInfo_BytesMessage proto.InternalMessageInfo
func (m *BytesMessage) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
type TimeMessage struct {
BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"`
EndInMilliseconds int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TimeMessage) Reset() { *m = TimeMessage{} }
func (m *TimeMessage) String() string { return proto.CompactTextString(m) }
func (*TimeMessage) ProtoMessage() {}
func (*TimeMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{16}
}
func (m *TimeMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TimeMessage.Unmarshal(m, b)
}
func (m *TimeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TimeMessage.Marshal(b, m, deterministic)
}
func (m *TimeMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_TimeMessage.Merge(m, src)
}
func (m *TimeMessage) XXX_Size() int {
return xxx_messageInfo_TimeMessage.Size(m)
}
func (m *TimeMessage) XXX_DiscardUnknown() {
xxx_messageInfo_TimeMessage.DiscardUnknown(m)
}
var xxx_messageInfo_TimeMessage proto.InternalMessageInfo
func (m *TimeMessage) GetBeginInMilliseconds() int64 {
if m != nil {
return m.BeginInMilliseconds
}
return 0
}
func (m *TimeMessage) GetEndInMilliseconds() int64 {
if m != nil {
return m.EndInMilliseconds
}
return 0
}
type BlockLimit struct {
StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"`
EndNum int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BlockLimit) Reset() { *m = BlockLimit{} }
func (m *BlockLimit) String() string { return proto.CompactTextString(m) }
func (*BlockLimit) ProtoMessage() {}
func (*BlockLimit) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{17}
}
func (m *BlockLimit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockLimit.Unmarshal(m, b)
}
func (m *BlockLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BlockLimit.Marshal(b, m, deterministic)
}
func (m *BlockLimit) XXX_Merge(src proto.Message) {
xxx_messageInfo_BlockLimit.Merge(m, src)
}
func (m *BlockLimit) XXX_Size() int {
return xxx_messageInfo_BlockLimit.Size(m)
}
func (m *BlockLimit) XXX_DiscardUnknown() {
xxx_messageInfo_BlockLimit.DiscardUnknown(m)
}
var xxx_messageInfo_BlockLimit proto.InternalMessageInfo
func (m *BlockLimit) GetStartNum() int64 {
if m != nil {
return m.StartNum
}
return 0
}
func (m *BlockLimit) GetEndNum() int64 {
if m != nil {
return m.EndNum
}
return 0
}
type TransactionLimit struct {
TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
LimitNum int64 `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TransactionLimit) Reset() { *m = TransactionLimit{} }
func (m *TransactionLimit) String() string { return proto.CompactTextString(m) }
func (*TransactionLimit) ProtoMessage() {}
func (*TransactionLimit) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{18}
}
func (m *TransactionLimit) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionLimit.Unmarshal(m, b)
}
func (m *TransactionLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransactionLimit.Marshal(b, m, deterministic)
}
func (m *TransactionLimit) XXX_Merge(src proto.Message) {
xxx_messageInfo_TransactionLimit.Merge(m, src)
}
func (m *TransactionLimit) XXX_Size() int {
return xxx_messageInfo_TransactionLimit.Size(m)
}
func (m *TransactionLimit) XXX_DiscardUnknown() {
xxx_messageInfo_TransactionLimit.DiscardUnknown(m)
}
var xxx_messageInfo_TransactionLimit proto.InternalMessageInfo
func (m *TransactionLimit) GetTransactionId() []byte {
if m != nil {
return m.TransactionId
}
return nil
}
func (m *TransactionLimit) GetLimitNum() int64 {
if m != nil {
return m.LimitNum
}
return 0
}
type AccountPaginated struct {
Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AccountPaginated) Reset() { *m = AccountPaginated{} }
func (m *AccountPaginated) String() string { return proto.CompactTextString(m) }
func (*AccountPaginated) ProtoMessage() {}
func (*AccountPaginated) Descriptor() ([]byte, []int) {
return fileDescriptor_1b40cafcd4234784, []int{19}
}
func (m *AccountPaginated) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AccountPaginated.Unmarshal(m, b)
}
func (m *AccountPaginated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AccountPaginated.Marshal(b, m, deterministic)
}
func (m *AccountPaginated) XXX_Merge(src proto.Message) {
xxx_messageInfo_AccountPaginated.Merge(m, src)
}
func (m *AccountPaginated) XXX_Size() int {
return xxx_messageInfo_AccountPaginated.Size(m)
}
func (m *AccountPaginated) XXX_DiscardUnknown() {
xxx_messageInfo_AccountPaginated.DiscardUnknown(m)
}
var xxx_messageInfo_AccountPaginated proto.InternalMessageInfo
func (m *AccountPaginated) GetAccount() *core.Account {
if m != nil {
return m.Account
}
return nil
}
func (m *AccountPaginated) GetOffset() int64 {
if m != nil {
return m.Offset
}
return 0