/
transaction.pb.go
673 lines (598 loc) · 24.7 KB
/
transaction.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: transaction.proto
package java
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
type InvalidTransactionRecord_ErrType int32
const (
InvalidTransactionRecord_OUTOFBALANCE InvalidTransactionRecord_ErrType = 0
InvalidTransactionRecord_SIGFAILED InvalidTransactionRecord_ErrType = 1
InvalidTransactionRecord_INVOKE_CONTRACT_FAILED InvalidTransactionRecord_ErrType = 2
InvalidTransactionRecord_DEPLOY_CONTRACT_FAILED InvalidTransactionRecord_ErrType = 3
InvalidTransactionRecord_INVALID_PERMISSION InvalidTransactionRecord_ErrType = 4
)
var InvalidTransactionRecord_ErrType_name = map[int32]string{
0: "OUTOFBALANCE",
1: "SIGFAILED",
2: "INVOKE_CONTRACT_FAILED",
3: "DEPLOY_CONTRACT_FAILED",
4: "INVALID_PERMISSION",
}
var InvalidTransactionRecord_ErrType_value = map[string]int32{
"OUTOFBALANCE": 0,
"SIGFAILED": 1,
"INVOKE_CONTRACT_FAILED": 2,
"DEPLOY_CONTRACT_FAILED": 3,
"INVALID_PERMISSION": 4,
}
func (x InvalidTransactionRecord_ErrType) String() string {
return proto.EnumName(InvalidTransactionRecord_ErrType_name, int32(x))
}
func (InvalidTransactionRecord_ErrType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{1, 0}
}
type TransactionValue_Opcode int32
const (
TransactionValue_NORMAL TransactionValue_Opcode = 0
TransactionValue_UPDATE TransactionValue_Opcode = 1
TransactionValue_FREEZE TransactionValue_Opcode = 2
TransactionValue_UNFREEZE TransactionValue_Opcode = 3
TransactionValue_SKIPVM TransactionValue_Opcode = 4
TransactionValue_ARCHIVE TransactionValue_Opcode = 100
)
var TransactionValue_Opcode_name = map[int32]string{
0: "NORMAL",
1: "UPDATE",
2: "FREEZE",
3: "UNFREEZE",
4: "SKIPVM",
100: "ARCHIVE",
}
var TransactionValue_Opcode_value = map[string]int32{
"NORMAL": 0,
"UPDATE": 1,
"FREEZE": 2,
"UNFREEZE": 3,
"SKIPVM": 4,
"ARCHIVE": 100,
}
func (x TransactionValue_Opcode) String() string {
return proto.EnumName(TransactionValue_Opcode_name, int32(x))
}
func (TransactionValue_Opcode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{5, 0}
}
type TransactionValue_VmType int32
const (
TransactionValue_EVM TransactionValue_VmType = 0
TransactionValue_JVM TransactionValue_VmType = 1
)
var TransactionValue_VmType_name = map[int32]string{
0: "EVM",
1: "JVM",
}
var TransactionValue_VmType_value = map[string]int32{
"EVM": 0,
"JVM": 1,
}
func (x TransactionValue_VmType) String() string {
return proto.EnumName(TransactionValue_VmType_name, int32(x))
}
func (TransactionValue_VmType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{5, 1}
}
type Transaction struct {
Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Signature []byte `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
Id uint64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
TransactionHash []byte `protobuf:"bytes,8,opt,name=transactionHash,proto3" json:"transactionHash,omitempty"`
Nonce int64 `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"`
Other *NonHash `protobuf:"bytes,10,opt,name=other,proto3" json:"other,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Transaction) Reset() { *m = Transaction{} }
func (m *Transaction) String() string { return proto.CompactTextString(m) }
func (*Transaction) ProtoMessage() {}
func (*Transaction) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{0}
}
func (m *Transaction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Transaction.Unmarshal(m, b)
}
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Transaction.Marshal(b, m, deterministic)
}
func (dst *Transaction) XXX_Merge(src proto.Message) {
xxx_messageInfo_Transaction.Merge(dst, src)
}
func (m *Transaction) XXX_Size() int {
return xxx_messageInfo_Transaction.Size(m)
}
func (m *Transaction) XXX_DiscardUnknown() {
xxx_messageInfo_Transaction.DiscardUnknown(m)
}
var xxx_messageInfo_Transaction proto.InternalMessageInfo
func (m *Transaction) GetVersion() []byte {
if m != nil {
return m.Version
}
return nil
}
func (m *Transaction) GetFrom() []byte {
if m != nil {
return m.From
}
return nil
}
func (m *Transaction) GetTo() []byte {
if m != nil {
return m.To
}
return nil
}
func (m *Transaction) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func (m *Transaction) GetTimestamp() int64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *Transaction) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *Transaction) GetId() uint64 {
if m != nil {
return m.Id
}
return 0
}
func (m *Transaction) GetTransactionHash() []byte {
if m != nil {
return m.TransactionHash
}
return nil
}
func (m *Transaction) GetNonce() int64 {
if m != nil {
return m.Nonce
}
return 0
}
func (m *Transaction) GetOther() *NonHash {
if m != nil {
return m.Other
}
return nil
}
type InvalidTransactionRecord struct {
Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
ErrType InvalidTransactionRecord_ErrType `protobuf:"varint,2,opt,name=errType,proto3,enum=proto.InvalidTransactionRecord_ErrType" json:"errType,omitempty"`
ErrMsg []byte `protobuf:"bytes,3,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InvalidTransactionRecord) Reset() { *m = InvalidTransactionRecord{} }
func (m *InvalidTransactionRecord) String() string { return proto.CompactTextString(m) }
func (*InvalidTransactionRecord) ProtoMessage() {}
func (*InvalidTransactionRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{1}
}
func (m *InvalidTransactionRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InvalidTransactionRecord.Unmarshal(m, b)
}
func (m *InvalidTransactionRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InvalidTransactionRecord.Marshal(b, m, deterministic)
}
func (dst *InvalidTransactionRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_InvalidTransactionRecord.Merge(dst, src)
}
func (m *InvalidTransactionRecord) XXX_Size() int {
return xxx_messageInfo_InvalidTransactionRecord.Size(m)
}
func (m *InvalidTransactionRecord) XXX_DiscardUnknown() {
xxx_messageInfo_InvalidTransactionRecord.DiscardUnknown(m)
}
var xxx_messageInfo_InvalidTransactionRecord proto.InternalMessageInfo
func (m *InvalidTransactionRecord) GetTx() *Transaction {
if m != nil {
return m.Tx
}
return nil
}
func (m *InvalidTransactionRecord) GetErrType() InvalidTransactionRecord_ErrType {
if m != nil {
return m.ErrType
}
return InvalidTransactionRecord_OUTOFBALANCE
}
func (m *InvalidTransactionRecord) GetErrMsg() []byte {
if m != nil {
return m.ErrMsg
}
return nil
}
type InvalidTransactionRecords struct {
Records []*InvalidTransactionRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InvalidTransactionRecords) Reset() { *m = InvalidTransactionRecords{} }
func (m *InvalidTransactionRecords) String() string { return proto.CompactTextString(m) }
func (*InvalidTransactionRecords) ProtoMessage() {}
func (*InvalidTransactionRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{2}
}
func (m *InvalidTransactionRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InvalidTransactionRecords.Unmarshal(m, b)
}
func (m *InvalidTransactionRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InvalidTransactionRecords.Marshal(b, m, deterministic)
}
func (dst *InvalidTransactionRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_InvalidTransactionRecords.Merge(dst, src)
}
func (m *InvalidTransactionRecords) XXX_Size() int {
return xxx_messageInfo_InvalidTransactionRecords.Size(m)
}
func (m *InvalidTransactionRecords) XXX_DiscardUnknown() {
xxx_messageInfo_InvalidTransactionRecords.DiscardUnknown(m)
}
var xxx_messageInfo_InvalidTransactionRecords proto.InternalMessageInfo
func (m *InvalidTransactionRecords) GetRecords() []*InvalidTransactionRecord {
if m != nil {
return m.Records
}
return nil
}
type TransactionMeta struct {
BlockIndex uint64 `protobuf:"varint,1,opt,name=BlockIndex,proto3" json:"BlockIndex,omitempty"`
Index int64 `protobuf:"varint,2,opt,name=Index,proto3" json:"Index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TransactionMeta) Reset() { *m = TransactionMeta{} }
func (m *TransactionMeta) String() string { return proto.CompactTextString(m) }
func (*TransactionMeta) ProtoMessage() {}
func (*TransactionMeta) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{3}
}
func (m *TransactionMeta) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionMeta.Unmarshal(m, b)
}
func (m *TransactionMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransactionMeta.Marshal(b, m, deterministic)
}
func (dst *TransactionMeta) XXX_Merge(src proto.Message) {
xxx_messageInfo_TransactionMeta.Merge(dst, src)
}
func (m *TransactionMeta) XXX_Size() int {
return xxx_messageInfo_TransactionMeta.Size(m)
}
func (m *TransactionMeta) XXX_DiscardUnknown() {
xxx_messageInfo_TransactionMeta.DiscardUnknown(m)
}
var xxx_messageInfo_TransactionMeta proto.InternalMessageInfo
func (m *TransactionMeta) GetBlockIndex() uint64 {
if m != nil {
return m.BlockIndex
}
return 0
}
func (m *TransactionMeta) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
type TransactionWrapper struct {
TransactionVersion []byte `protobuf:"bytes,1,opt,name=transactionVersion,proto3" json:"transactionVersion,omitempty"`
Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TransactionWrapper) Reset() { *m = TransactionWrapper{} }
func (m *TransactionWrapper) String() string { return proto.CompactTextString(m) }
func (*TransactionWrapper) ProtoMessage() {}
func (*TransactionWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{4}
}
func (m *TransactionWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionWrapper.Unmarshal(m, b)
}
func (m *TransactionWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransactionWrapper.Marshal(b, m, deterministic)
}
func (dst *TransactionWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_TransactionWrapper.Merge(dst, src)
}
func (m *TransactionWrapper) XXX_Size() int {
return xxx_messageInfo_TransactionWrapper.Size(m)
}
func (m *TransactionWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_TransactionWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_TransactionWrapper proto.InternalMessageInfo
func (m *TransactionWrapper) GetTransactionVersion() []byte {
if m != nil {
return m.TransactionVersion
}
return nil
}
func (m *TransactionWrapper) GetTransaction() []byte {
if m != nil {
return m.Transaction
}
return nil
}
type TransactionValue struct {
Price int64 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"`
GasLimit int64 `protobuf:"varint,2,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
EncryptedAmount []byte `protobuf:"bytes,5,opt,name=encryptedAmount,proto3" json:"encryptedAmount,omitempty"`
HomomorphicAmount []byte `protobuf:"bytes,6,opt,name=homomorphicAmount,proto3" json:"homomorphicAmount,omitempty"`
HomomorphicBalance []byte `protobuf:"bytes,7,opt,name=homomorphicBalance,proto3" json:"homomorphicBalance,omitempty"`
Op TransactionValue_Opcode `protobuf:"varint,8,opt,name=op,proto3,enum=proto.TransactionValue_Opcode" json:"op,omitempty"`
Extra []byte `protobuf:"bytes,9,opt,name=extra,proto3" json:"extra,omitempty"`
VmType TransactionValue_VmType `protobuf:"varint,10,opt,name=vmType,proto3,enum=proto.TransactionValue_VmType" json:"vmType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TransactionValue) Reset() { *m = TransactionValue{} }
func (m *TransactionValue) String() string { return proto.CompactTextString(m) }
func (*TransactionValue) ProtoMessage() {}
func (*TransactionValue) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{5}
}
func (m *TransactionValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransactionValue.Unmarshal(m, b)
}
func (m *TransactionValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransactionValue.Marshal(b, m, deterministic)
}
func (dst *TransactionValue) XXX_Merge(src proto.Message) {
xxx_messageInfo_TransactionValue.Merge(dst, src)
}
func (m *TransactionValue) XXX_Size() int {
return xxx_messageInfo_TransactionValue.Size(m)
}
func (m *TransactionValue) XXX_DiscardUnknown() {
xxx_messageInfo_TransactionValue.DiscardUnknown(m)
}
var xxx_messageInfo_TransactionValue proto.InternalMessageInfo
func (m *TransactionValue) GetPrice() int64 {
if m != nil {
return m.Price
}
return 0
}
func (m *TransactionValue) GetGasLimit() int64 {
if m != nil {
return m.GasLimit
}
return 0
}
func (m *TransactionValue) GetAmount() int64 {
if m != nil {
return m.Amount
}
return 0
}
func (m *TransactionValue) GetPayload() []byte {
if m != nil {
return m.Payload
}
return nil
}
func (m *TransactionValue) GetEncryptedAmount() []byte {
if m != nil {
return m.EncryptedAmount
}
return nil
}
func (m *TransactionValue) GetHomomorphicAmount() []byte {
if m != nil {
return m.HomomorphicAmount
}
return nil
}
func (m *TransactionValue) GetHomomorphicBalance() []byte {
if m != nil {
return m.HomomorphicBalance
}
return nil
}
func (m *TransactionValue) GetOp() TransactionValue_Opcode {
if m != nil {
return m.Op
}
return TransactionValue_NORMAL
}
func (m *TransactionValue) GetExtra() []byte {
if m != nil {
return m.Extra
}
return nil
}
func (m *TransactionValue) GetVmType() TransactionValue_VmType {
if m != nil {
return m.VmType
}
return TransactionValue_EVM
}
type InvokeArgs struct {
Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
MethodName string `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"`
Args [][]byte `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InvokeArgs) Reset() { *m = InvokeArgs{} }
func (m *InvokeArgs) String() string { return proto.CompactTextString(m) }
func (*InvokeArgs) ProtoMessage() {}
func (*InvokeArgs) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{6}
}
func (m *InvokeArgs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InvokeArgs.Unmarshal(m, b)
}
func (m *InvokeArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InvokeArgs.Marshal(b, m, deterministic)
}
func (dst *InvokeArgs) XXX_Merge(src proto.Message) {
xxx_messageInfo_InvokeArgs.Merge(dst, src)
}
func (m *InvokeArgs) XXX_Size() int {
return xxx_messageInfo_InvokeArgs.Size(m)
}
func (m *InvokeArgs) XXX_DiscardUnknown() {
xxx_messageInfo_InvokeArgs.DiscardUnknown(m)
}
var xxx_messageInfo_InvokeArgs proto.InternalMessageInfo
func (m *InvokeArgs) GetCode() []byte {
if m != nil {
return m.Code
}
return nil
}
func (m *InvokeArgs) GetMethodName() string {
if m != nil {
return m.MethodName
}
return ""
}
func (m *InvokeArgs) GetArgs() [][]byte {
if m != nil {
return m.Args
}
return nil
}
type NonHash struct {
NodeHash []byte `protobuf:"bytes,1,opt,name=nodeHash,proto3" json:"nodeHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NonHash) Reset() { *m = NonHash{} }
func (m *NonHash) String() string { return proto.CompactTextString(m) }
func (*NonHash) ProtoMessage() {}
func (*NonHash) Descriptor() ([]byte, []int) {
return fileDescriptor_transaction_5439e9cf8e3d0ffc, []int{7}
}
func (m *NonHash) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NonHash.Unmarshal(m, b)
}
func (m *NonHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NonHash.Marshal(b, m, deterministic)
}
func (dst *NonHash) XXX_Merge(src proto.Message) {
xxx_messageInfo_NonHash.Merge(dst, src)
}
func (m *NonHash) XXX_Size() int {
return xxx_messageInfo_NonHash.Size(m)
}
func (m *NonHash) XXX_DiscardUnknown() {
xxx_messageInfo_NonHash.DiscardUnknown(m)
}
var xxx_messageInfo_NonHash proto.InternalMessageInfo
func (m *NonHash) GetNodeHash() []byte {
if m != nil {
return m.NodeHash
}
return nil
}
func init() {
proto.RegisterType((*Transaction)(nil), "proto.Transaction")
proto.RegisterType((*InvalidTransactionRecord)(nil), "proto.InvalidTransactionRecord")
proto.RegisterType((*InvalidTransactionRecords)(nil), "proto.InvalidTransactionRecords")
proto.RegisterType((*TransactionMeta)(nil), "proto.TransactionMeta")
proto.RegisterType((*TransactionWrapper)(nil), "proto.TransactionWrapper")
proto.RegisterType((*TransactionValue)(nil), "proto.TransactionValue")
proto.RegisterType((*InvokeArgs)(nil), "proto.InvokeArgs")
proto.RegisterType((*NonHash)(nil), "proto.NonHash")
proto.RegisterEnum("proto.InvalidTransactionRecord_ErrType", InvalidTransactionRecord_ErrType_name, InvalidTransactionRecord_ErrType_value)
proto.RegisterEnum("proto.TransactionValue_Opcode", TransactionValue_Opcode_name, TransactionValue_Opcode_value)
proto.RegisterEnum("proto.TransactionValue_VmType", TransactionValue_VmType_name, TransactionValue_VmType_value)
}
func init() { proto.RegisterFile("transaction.proto", fileDescriptor_transaction_5439e9cf8e3d0ffc) }
var fileDescriptor_transaction_5439e9cf8e3d0ffc = []byte{
// 762 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x51, 0x6f, 0xe3, 0x44,
0x10, 0xae, 0xed, 0x24, 0x6e, 0x27, 0xa5, 0xe7, 0x1b, 0x9d, 0x2a, 0x53, 0xa1, 0x23, 0xb2, 0x40,
0xe4, 0x01, 0xe5, 0x21, 0x48, 0x48, 0x3c, 0xba, 0xad, 0x7b, 0x67, 0x2e, 0x71, 0xaa, 0x4d, 0x6a,
0x04, 0x2f, 0xd5, 0x62, 0xef, 0x25, 0xd6, 0xc5, 0x5e, 0x6b, 0xbd, 0x8d, 0x5a, 0xfe, 0x06, 0xe2,
0x67, 0xf2, 0x1f, 0xd0, 0xee, 0xba, 0x57, 0x73, 0xa1, 0xdc, 0x53, 0xe6, 0xfb, 0xbe, 0x99, 0xd9,
0xf8, 0xdb, 0x99, 0x85, 0x97, 0x52, 0xd0, 0xaa, 0xa1, 0x99, 0x2c, 0x78, 0x35, 0xa9, 0x05, 0x97,
0x1c, 0xfb, 0xfa, 0x27, 0xf8, 0xd3, 0x86, 0xe1, 0xea, 0x49, 0x44, 0x1f, 0xdc, 0x1d, 0x13, 0x4d,
0xc1, 0x2b, 0xdf, 0x1a, 0x59, 0xe3, 0x63, 0xf2, 0x08, 0x11, 0xa1, 0xf7, 0x5e, 0xf0, 0xd2, 0xb7,
0x35, 0xad, 0x63, 0x3c, 0x01, 0x5b, 0x72, 0xdf, 0xd1, 0x8c, 0x2d, 0x39, 0xbe, 0x82, 0xfe, 0x8e,
0x6e, 0xef, 0x98, 0xdf, 0xd3, 0x94, 0x01, 0xf8, 0x15, 0x1c, 0xc9, 0xa2, 0x64, 0x8d, 0xa4, 0x65,
0xed, 0xf7, 0x47, 0xd6, 0xd8, 0x21, 0x4f, 0x84, 0x52, 0x9b, 0x62, 0x5d, 0x51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