OSDN Git Service

Peer add announces new block message num limit
[bytom/vapor.git] / protocol / bc / bc.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: bc.proto
3
4 /*
5 Package bc is a generated protocol buffer package.
6
7 It is generated from these files:
8         bc.proto
9
10 It has these top-level messages:
11         Hash
12         Program
13         AssetID
14         AssetAmount
15         AssetDefinition
16         ValueSource
17         ValueDestination
18         BlockHeader
19         TxHeader
20         TxVerifyResult
21         TransactionStatus
22         Mux
23         Coinbase
24         IntraChainOutput
25         CrossChainOutput
26         VoteOutput
27         VetoInput
28         Retirement
29         Spend
30         CrossChainInput
31 */
32 package bc
33
34 import proto "github.com/golang/protobuf/proto"
35 import fmt "fmt"
36 import math "math"
37
38 // Reference imports to suppress errors if they are not otherwise used.
39 var _ = proto.Marshal
40 var _ = fmt.Errorf
41 var _ = math.Inf
42
43 // This is a compile-time assertion to ensure that this generated file
44 // is compatible with the proto package it is being compiled against.
45 // A compilation error at this line likely means your copy of the
46 // proto package needs to be updated.
47 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
48
49 type Hash struct {
50         V0 uint64 `protobuf:"fixed64,1,opt,name=v0" json:"v0,omitempty"`
51         V1 uint64 `protobuf:"fixed64,2,opt,name=v1" json:"v1,omitempty"`
52         V2 uint64 `protobuf:"fixed64,3,opt,name=v2" json:"v2,omitempty"`
53         V3 uint64 `protobuf:"fixed64,4,opt,name=v3" json:"v3,omitempty"`
54 }
55
56 func (m *Hash) Reset()                    { *m = Hash{} }
57 func (m *Hash) String() string            { return proto.CompactTextString(m) }
58 func (*Hash) ProtoMessage()               {}
59 func (*Hash) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
60
61 func (m *Hash) GetV0() uint64 {
62         if m != nil {
63                 return m.V0
64         }
65         return 0
66 }
67
68 func (m *Hash) GetV1() uint64 {
69         if m != nil {
70                 return m.V1
71         }
72         return 0
73 }
74
75 func (m *Hash) GetV2() uint64 {
76         if m != nil {
77                 return m.V2
78         }
79         return 0
80 }
81
82 func (m *Hash) GetV3() uint64 {
83         if m != nil {
84                 return m.V3
85         }
86         return 0
87 }
88
89 type Program struct {
90         VmVersion uint64 `protobuf:"varint,1,opt,name=vm_version,json=vmVersion" json:"vm_version,omitempty"`
91         Code      []byte `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
92 }
93
94 func (m *Program) Reset()                    { *m = Program{} }
95 func (m *Program) String() string            { return proto.CompactTextString(m) }
96 func (*Program) ProtoMessage()               {}
97 func (*Program) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
98
99 func (m *Program) GetVmVersion() uint64 {
100         if m != nil {
101                 return m.VmVersion
102         }
103         return 0
104 }
105
106 func (m *Program) GetCode() []byte {
107         if m != nil {
108                 return m.Code
109         }
110         return nil
111 }
112
113 // This message type duplicates Hash, above. One alternative is to
114 // embed a Hash inside an AssetID. But it's useful for AssetID to be
115 // plain old data (without pointers). Another alternative is use Hash
116 // in any protobuf types where an AssetID is called for, but it's
117 // preferable to have type safety.
118 type AssetID struct {
119         V0 uint64 `protobuf:"fixed64,1,opt,name=v0" json:"v0,omitempty"`
120         V1 uint64 `protobuf:"fixed64,2,opt,name=v1" json:"v1,omitempty"`
121         V2 uint64 `protobuf:"fixed64,3,opt,name=v2" json:"v2,omitempty"`
122         V3 uint64 `protobuf:"fixed64,4,opt,name=v3" json:"v3,omitempty"`
123 }
124
125 func (m *AssetID) Reset()                    { *m = AssetID{} }
126 func (m *AssetID) String() string            { return proto.CompactTextString(m) }
127 func (*AssetID) ProtoMessage()               {}
128 func (*AssetID) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
129
130 func (m *AssetID) GetV0() uint64 {
131         if m != nil {
132                 return m.V0
133         }
134         return 0
135 }
136
137 func (m *AssetID) GetV1() uint64 {
138         if m != nil {
139                 return m.V1
140         }
141         return 0
142 }
143
144 func (m *AssetID) GetV2() uint64 {
145         if m != nil {
146                 return m.V2
147         }
148         return 0
149 }
150
151 func (m *AssetID) GetV3() uint64 {
152         if m != nil {
153                 return m.V3
154         }
155         return 0
156 }
157
158 type AssetAmount struct {
159         AssetId *AssetID `protobuf:"bytes,1,opt,name=asset_id,json=assetId" json:"asset_id,omitempty"`
160         Amount  uint64   `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
161 }
162
163 func (m *AssetAmount) Reset()                    { *m = AssetAmount{} }
164 func (m *AssetAmount) String() string            { return proto.CompactTextString(m) }
165 func (*AssetAmount) ProtoMessage()               {}
166 func (*AssetAmount) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
167
168 func (m *AssetAmount) GetAssetId() *AssetID {
169         if m != nil {
170                 return m.AssetId
171         }
172         return nil
173 }
174
175 func (m *AssetAmount) GetAmount() uint64 {
176         if m != nil {
177                 return m.Amount
178         }
179         return 0
180 }
181
182 type AssetDefinition struct {
183         IssuanceProgram *Program `protobuf:"bytes,1,opt,name=issuance_program,json=issuanceProgram" json:"issuance_program,omitempty"`
184         Data            *Hash    `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
185 }
186
187 func (m *AssetDefinition) Reset()                    { *m = AssetDefinition{} }
188 func (m *AssetDefinition) String() string            { return proto.CompactTextString(m) }
189 func (*AssetDefinition) ProtoMessage()               {}
190 func (*AssetDefinition) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
191
192 func (m *AssetDefinition) GetIssuanceProgram() *Program {
193         if m != nil {
194                 return m.IssuanceProgram
195         }
196         return nil
197 }
198
199 func (m *AssetDefinition) GetData() *Hash {
200         if m != nil {
201                 return m.Data
202         }
203         return nil
204 }
205
206 type ValueSource struct {
207         Ref      *Hash        `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
208         Value    *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
209         Position uint64       `protobuf:"varint,3,opt,name=position" json:"position,omitempty"`
210 }
211
212 func (m *ValueSource) Reset()                    { *m = ValueSource{} }
213 func (m *ValueSource) String() string            { return proto.CompactTextString(m) }
214 func (*ValueSource) ProtoMessage()               {}
215 func (*ValueSource) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
216
217 func (m *ValueSource) GetRef() *Hash {
218         if m != nil {
219                 return m.Ref
220         }
221         return nil
222 }
223
224 func (m *ValueSource) GetValue() *AssetAmount {
225         if m != nil {
226                 return m.Value
227         }
228         return nil
229 }
230
231 func (m *ValueSource) GetPosition() uint64 {
232         if m != nil {
233                 return m.Position
234         }
235         return 0
236 }
237
238 type ValueDestination struct {
239         Ref      *Hash        `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
240         Value    *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
241         Position uint64       `protobuf:"varint,3,opt,name=position" json:"position,omitempty"`
242 }
243
244 func (m *ValueDestination) Reset()                    { *m = ValueDestination{} }
245 func (m *ValueDestination) String() string            { return proto.CompactTextString(m) }
246 func (*ValueDestination) ProtoMessage()               {}
247 func (*ValueDestination) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
248
249 func (m *ValueDestination) GetRef() *Hash {
250         if m != nil {
251                 return m.Ref
252         }
253         return nil
254 }
255
256 func (m *ValueDestination) GetValue() *AssetAmount {
257         if m != nil {
258                 return m.Value
259         }
260         return nil
261 }
262
263 func (m *ValueDestination) GetPosition() uint64 {
264         if m != nil {
265                 return m.Position
266         }
267         return 0
268 }
269
270 type BlockHeader struct {
271         Version               uint64             `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
272         Height                uint64             `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
273         PreviousBlockId       *Hash              `protobuf:"bytes,3,opt,name=previous_block_id,json=previousBlockId" json:"previous_block_id,omitempty"`
274         Timestamp             uint64             `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"`
275         TransactionsRoot      *Hash              `protobuf:"bytes,5,opt,name=transactions_root,json=transactionsRoot" json:"transactions_root,omitempty"`
276         TransactionStatusHash *Hash              `protobuf:"bytes,6,opt,name=transaction_status_hash,json=transactionStatusHash" json:"transaction_status_hash,omitempty"`
277         TransactionStatus     *TransactionStatus `protobuf:"bytes,7,opt,name=transaction_status,json=transactionStatus" json:"transaction_status,omitempty"`
278         WitnessArguments      [][]byte           `protobuf:"bytes,8,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
279 }
280
281 func (m *BlockHeader) Reset()                    { *m = BlockHeader{} }
282 func (m *BlockHeader) String() string            { return proto.CompactTextString(m) }
283 func (*BlockHeader) ProtoMessage()               {}
284 func (*BlockHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
285
286 func (m *BlockHeader) GetVersion() uint64 {
287         if m != nil {
288                 return m.Version
289         }
290         return 0
291 }
292
293 func (m *BlockHeader) GetHeight() uint64 {
294         if m != nil {
295                 return m.Height
296         }
297         return 0
298 }
299
300 func (m *BlockHeader) GetPreviousBlockId() *Hash {
301         if m != nil {
302                 return m.PreviousBlockId
303         }
304         return nil
305 }
306
307 func (m *BlockHeader) GetTimestamp() uint64 {
308         if m != nil {
309                 return m.Timestamp
310         }
311         return 0
312 }
313
314 func (m *BlockHeader) GetTransactionsRoot() *Hash {
315         if m != nil {
316                 return m.TransactionsRoot
317         }
318         return nil
319 }
320
321 func (m *BlockHeader) GetTransactionStatusHash() *Hash {
322         if m != nil {
323                 return m.TransactionStatusHash
324         }
325         return nil
326 }
327
328 func (m *BlockHeader) GetTransactionStatus() *TransactionStatus {
329         if m != nil {
330                 return m.TransactionStatus
331         }
332         return nil
333 }
334
335 func (m *BlockHeader) GetWitnessArguments() [][]byte {
336         if m != nil {
337                 return m.WitnessArguments
338         }
339         return nil
340 }
341
342 type TxHeader struct {
343         Version        uint64  `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
344         SerializedSize uint64  `protobuf:"varint,2,opt,name=serialized_size,json=serializedSize" json:"serialized_size,omitempty"`
345         TimeRange      uint64  `protobuf:"varint,3,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
346         ResultIds      []*Hash `protobuf:"bytes,4,rep,name=result_ids,json=resultIds" json:"result_ids,omitempty"`
347 }
348
349 func (m *TxHeader) Reset()                    { *m = TxHeader{} }
350 func (m *TxHeader) String() string            { return proto.CompactTextString(m) }
351 func (*TxHeader) ProtoMessage()               {}
352 func (*TxHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
353
354 func (m *TxHeader) GetVersion() uint64 {
355         if m != nil {
356                 return m.Version
357         }
358         return 0
359 }
360
361 func (m *TxHeader) GetSerializedSize() uint64 {
362         if m != nil {
363                 return m.SerializedSize
364         }
365         return 0
366 }
367
368 func (m *TxHeader) GetTimeRange() uint64 {
369         if m != nil {
370                 return m.TimeRange
371         }
372         return 0
373 }
374
375 func (m *TxHeader) GetResultIds() []*Hash {
376         if m != nil {
377                 return m.ResultIds
378         }
379         return nil
380 }
381
382 type TxVerifyResult struct {
383         StatusFail bool `protobuf:"varint,1,opt,name=status_fail,json=statusFail" json:"status_fail,omitempty"`
384 }
385
386 func (m *TxVerifyResult) Reset()                    { *m = TxVerifyResult{} }
387 func (m *TxVerifyResult) String() string            { return proto.CompactTextString(m) }
388 func (*TxVerifyResult) ProtoMessage()               {}
389 func (*TxVerifyResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
390
391 func (m *TxVerifyResult) GetStatusFail() bool {
392         if m != nil {
393                 return m.StatusFail
394         }
395         return false
396 }
397
398 type TransactionStatus struct {
399         Version      uint64            `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
400         VerifyStatus []*TxVerifyResult `protobuf:"bytes,2,rep,name=verify_status,json=verifyStatus" json:"verify_status,omitempty"`
401 }
402
403 func (m *TransactionStatus) Reset()                    { *m = TransactionStatus{} }
404 func (m *TransactionStatus) String() string            { return proto.CompactTextString(m) }
405 func (*TransactionStatus) ProtoMessage()               {}
406 func (*TransactionStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
407
408 func (m *TransactionStatus) GetVersion() uint64 {
409         if m != nil {
410                 return m.Version
411         }
412         return 0
413 }
414
415 func (m *TransactionStatus) GetVerifyStatus() []*TxVerifyResult {
416         if m != nil {
417                 return m.VerifyStatus
418         }
419         return nil
420 }
421
422 type Mux struct {
423         Sources             []*ValueSource      `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
424         Program             *Program            `protobuf:"bytes,2,opt,name=program" json:"program,omitempty"`
425         WitnessDestinations []*ValueDestination `protobuf:"bytes,3,rep,name=witness_destinations,json=witnessDestinations" json:"witness_destinations,omitempty"`
426         WitnessArguments    [][]byte            `protobuf:"bytes,4,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
427 }
428
429 func (m *Mux) Reset()                    { *m = Mux{} }
430 func (m *Mux) String() string            { return proto.CompactTextString(m) }
431 func (*Mux) ProtoMessage()               {}
432 func (*Mux) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
433
434 func (m *Mux) GetSources() []*ValueSource {
435         if m != nil {
436                 return m.Sources
437         }
438         return nil
439 }
440
441 func (m *Mux) GetProgram() *Program {
442         if m != nil {
443                 return m.Program
444         }
445         return nil
446 }
447
448 func (m *Mux) GetWitnessDestinations() []*ValueDestination {
449         if m != nil {
450                 return m.WitnessDestinations
451         }
452         return nil
453 }
454
455 func (m *Mux) GetWitnessArguments() [][]byte {
456         if m != nil {
457                 return m.WitnessArguments
458         }
459         return nil
460 }
461
462 type Coinbase struct {
463         WitnessDestination *ValueDestination `protobuf:"bytes,1,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
464         Arbitrary          []byte            `protobuf:"bytes,2,opt,name=arbitrary,proto3" json:"arbitrary,omitempty"`
465 }
466
467 func (m *Coinbase) Reset()                    { *m = Coinbase{} }
468 func (m *Coinbase) String() string            { return proto.CompactTextString(m) }
469 func (*Coinbase) ProtoMessage()               {}
470 func (*Coinbase) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
471
472 func (m *Coinbase) GetWitnessDestination() *ValueDestination {
473         if m != nil {
474                 return m.WitnessDestination
475         }
476         return nil
477 }
478
479 func (m *Coinbase) GetArbitrary() []byte {
480         if m != nil {
481                 return m.Arbitrary
482         }
483         return nil
484 }
485
486 type IntraChainOutput struct {
487         Source         *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
488         ControlProgram *Program     `protobuf:"bytes,2,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
489         Ordinal        uint64       `protobuf:"varint,3,opt,name=ordinal" json:"ordinal,omitempty"`
490 }
491
492 func (m *IntraChainOutput) Reset()                    { *m = IntraChainOutput{} }
493 func (m *IntraChainOutput) String() string            { return proto.CompactTextString(m) }
494 func (*IntraChainOutput) ProtoMessage()               {}
495 func (*IntraChainOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
496
497 func (m *IntraChainOutput) GetSource() *ValueSource {
498         if m != nil {
499                 return m.Source
500         }
501         return nil
502 }
503
504 func (m *IntraChainOutput) GetControlProgram() *Program {
505         if m != nil {
506                 return m.ControlProgram
507         }
508         return nil
509 }
510
511 func (m *IntraChainOutput) GetOrdinal() uint64 {
512         if m != nil {
513                 return m.Ordinal
514         }
515         return 0
516 }
517
518 type CrossChainOutput struct {
519         Source         *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
520         ControlProgram *Program     `protobuf:"bytes,2,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
521         Ordinal        uint64       `protobuf:"varint,3,opt,name=ordinal" json:"ordinal,omitempty"`
522 }
523
524 func (m *CrossChainOutput) Reset()                    { *m = CrossChainOutput{} }
525 func (m *CrossChainOutput) String() string            { return proto.CompactTextString(m) }
526 func (*CrossChainOutput) ProtoMessage()               {}
527 func (*CrossChainOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
528
529 func (m *CrossChainOutput) GetSource() *ValueSource {
530         if m != nil {
531                 return m.Source
532         }
533         return nil
534 }
535
536 func (m *CrossChainOutput) GetControlProgram() *Program {
537         if m != nil {
538                 return m.ControlProgram
539         }
540         return nil
541 }
542
543 func (m *CrossChainOutput) GetOrdinal() uint64 {
544         if m != nil {
545                 return m.Ordinal
546         }
547         return 0
548 }
549
550 type VoteOutput struct {
551         Source         *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
552         ControlProgram *Program     `protobuf:"bytes,2,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
553         Ordinal        uint64       `protobuf:"varint,3,opt,name=ordinal" json:"ordinal,omitempty"`
554         Vote           []byte       `protobuf:"bytes,4,opt,name=vote,proto3" json:"vote,omitempty"`
555 }
556
557 func (m *VoteOutput) Reset()                    { *m = VoteOutput{} }
558 func (m *VoteOutput) String() string            { return proto.CompactTextString(m) }
559 func (*VoteOutput) ProtoMessage()               {}
560 func (*VoteOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
561
562 func (m *VoteOutput) GetSource() *ValueSource {
563         if m != nil {
564                 return m.Source
565         }
566         return nil
567 }
568
569 func (m *VoteOutput) GetControlProgram() *Program {
570         if m != nil {
571                 return m.ControlProgram
572         }
573         return nil
574 }
575
576 func (m *VoteOutput) GetOrdinal() uint64 {
577         if m != nil {
578                 return m.Ordinal
579         }
580         return 0
581 }
582
583 func (m *VoteOutput) GetVote() []byte {
584         if m != nil {
585                 return m.Vote
586         }
587         return nil
588 }
589
590 type VetoInput struct {
591         SpentOutputId      *Hash             `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
592         WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
593         WitnessArguments   [][]byte          `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
594         Ordinal            uint64            `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
595 }
596
597 func (m *VetoInput) Reset()                    { *m = VetoInput{} }
598 func (m *VetoInput) String() string            { return proto.CompactTextString(m) }
599 func (*VetoInput) ProtoMessage()               {}
600 func (*VetoInput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
601
602 func (m *VetoInput) GetSpentOutputId() *Hash {
603         if m != nil {
604                 return m.SpentOutputId
605         }
606         return nil
607 }
608
609 func (m *VetoInput) GetWitnessDestination() *ValueDestination {
610         if m != nil {
611                 return m.WitnessDestination
612         }
613         return nil
614 }
615
616 func (m *VetoInput) GetWitnessArguments() [][]byte {
617         if m != nil {
618                 return m.WitnessArguments
619         }
620         return nil
621 }
622
623 func (m *VetoInput) GetOrdinal() uint64 {
624         if m != nil {
625                 return m.Ordinal
626         }
627         return 0
628 }
629
630 type Retirement struct {
631         Source  *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
632         Ordinal uint64       `protobuf:"varint,2,opt,name=ordinal" json:"ordinal,omitempty"`
633 }
634
635 func (m *Retirement) Reset()                    { *m = Retirement{} }
636 func (m *Retirement) String() string            { return proto.CompactTextString(m) }
637 func (*Retirement) ProtoMessage()               {}
638 func (*Retirement) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
639
640 func (m *Retirement) GetSource() *ValueSource {
641         if m != nil {
642                 return m.Source
643         }
644         return nil
645 }
646
647 func (m *Retirement) GetOrdinal() uint64 {
648         if m != nil {
649                 return m.Ordinal
650         }
651         return 0
652 }
653
654 type Spend struct {
655         SpentOutputId      *Hash             `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
656         WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
657         WitnessArguments   [][]byte          `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
658         Ordinal            uint64            `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
659 }
660
661 func (m *Spend) Reset()                    { *m = Spend{} }
662 func (m *Spend) String() string            { return proto.CompactTextString(m) }
663 func (*Spend) ProtoMessage()               {}
664 func (*Spend) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
665
666 func (m *Spend) GetSpentOutputId() *Hash {
667         if m != nil {
668                 return m.SpentOutputId
669         }
670         return nil
671 }
672
673 func (m *Spend) GetWitnessDestination() *ValueDestination {
674         if m != nil {
675                 return m.WitnessDestination
676         }
677         return nil
678 }
679
680 func (m *Spend) GetWitnessArguments() [][]byte {
681         if m != nil {
682                 return m.WitnessArguments
683         }
684         return nil
685 }
686
687 func (m *Spend) GetOrdinal() uint64 {
688         if m != nil {
689                 return m.Ordinal
690         }
691         return 0
692 }
693
694 type CrossChainInput struct {
695         MainchainOutputId  *Hash             `protobuf:"bytes,1,opt,name=mainchain_output_id,json=mainchainOutputId" json:"mainchain_output_id,omitempty"`
696         WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
697         ControlProgram     *Program          `protobuf:"bytes,3,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
698         AssetDefinition    *AssetDefinition  `protobuf:"bytes,4,opt,name=asset_definition,json=assetDefinition" json:"asset_definition,omitempty"`
699         WitnessArguments   [][]byte          `protobuf:"bytes,5,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
700         Ordinal            uint64            `protobuf:"varint,6,opt,name=ordinal" json:"ordinal,omitempty"`
701 }
702
703 func (m *CrossChainInput) Reset()                    { *m = CrossChainInput{} }
704 func (m *CrossChainInput) String() string            { return proto.CompactTextString(m) }
705 func (*CrossChainInput) ProtoMessage()               {}
706 func (*CrossChainInput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
707
708 func (m *CrossChainInput) GetMainchainOutputId() *Hash {
709         if m != nil {
710                 return m.MainchainOutputId
711         }
712         return nil
713 }
714
715 func (m *CrossChainInput) GetWitnessDestination() *ValueDestination {
716         if m != nil {
717                 return m.WitnessDestination
718         }
719         return nil
720 }
721
722 func (m *CrossChainInput) GetControlProgram() *Program {
723         if m != nil {
724                 return m.ControlProgram
725         }
726         return nil
727 }
728
729 func (m *CrossChainInput) GetAssetDefinition() *AssetDefinition {
730         if m != nil {
731                 return m.AssetDefinition
732         }
733         return nil
734 }
735
736 func (m *CrossChainInput) GetWitnessArguments() [][]byte {
737         if m != nil {
738                 return m.WitnessArguments
739         }
740         return nil
741 }
742
743 func (m *CrossChainInput) GetOrdinal() uint64 {
744         if m != nil {
745                 return m.Ordinal
746         }
747         return 0
748 }
749
750 func init() {
751         proto.RegisterType((*Hash)(nil), "bc.Hash")
752         proto.RegisterType((*Program)(nil), "bc.Program")
753         proto.RegisterType((*AssetID)(nil), "bc.AssetID")
754         proto.RegisterType((*AssetAmount)(nil), "bc.AssetAmount")
755         proto.RegisterType((*AssetDefinition)(nil), "bc.AssetDefinition")
756         proto.RegisterType((*ValueSource)(nil), "bc.ValueSource")
757         proto.RegisterType((*ValueDestination)(nil), "bc.ValueDestination")
758         proto.RegisterType((*BlockHeader)(nil), "bc.BlockHeader")
759         proto.RegisterType((*TxHeader)(nil), "bc.TxHeader")
760         proto.RegisterType((*TxVerifyResult)(nil), "bc.TxVerifyResult")
761         proto.RegisterType((*TransactionStatus)(nil), "bc.TransactionStatus")
762         proto.RegisterType((*Mux)(nil), "bc.Mux")
763         proto.RegisterType((*Coinbase)(nil), "bc.Coinbase")
764         proto.RegisterType((*IntraChainOutput)(nil), "bc.IntraChainOutput")
765         proto.RegisterType((*CrossChainOutput)(nil), "bc.CrossChainOutput")
766         proto.RegisterType((*VoteOutput)(nil), "bc.VoteOutput")
767         proto.RegisterType((*VetoInput)(nil), "bc.VetoInput")
768         proto.RegisterType((*Retirement)(nil), "bc.Retirement")
769         proto.RegisterType((*Spend)(nil), "bc.Spend")
770         proto.RegisterType((*CrossChainInput)(nil), "bc.CrossChainInput")
771 }
772
773 func init() { proto.RegisterFile("bc.proto", fileDescriptor0) }
774
775 var fileDescriptor0 = []byte{
776         // 951 bytes of a gzipped FileDescriptorProto
777         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x5f, 0x6f, 0x23, 0x35,
778         0x10, 0x57, 0x36, 0xdb, 0x24, 0x9d, 0xf4, 0x9a, 0xc4, 0xbd, 0x83, 0xd5, 0xe9, 0x10, 0xd5, 0x4a,
779         0x47, 0x0f, 0x21, 0x55, 0xfd, 0x73, 0xfc, 0x79, 0x40, 0x88, 0xd2, 0x72, 0x5c, 0x1e, 0x4e, 0x87,
780         0xdc, 0x2a, 0xaf, 0x2b, 0x67, 0xd7, 0x49, 0x2c, 0x92, 0x75, 0xb0, 0xbd, 0xa1, 0xd7, 0xaf, 0xc0,
781         0x33, 0x0f, 0x7c, 0x22, 0x1e, 0x10, 0xe2, 0x23, 0x81, 0x3c, 0xeb, 0x4d, 0x36, 0x7f, 0xda, 0x82,
782         0x00, 0x01, 0x6f, 0x3b, 0xe3, 0xf1, 0x6f, 0x7e, 0xf3, 0xf3, 0x8c, 0xd7, 0xd0, 0xe8, 0xc7, 0x87,
783         0x53, 0x25, 0x8d, 0x24, 0x5e, 0x3f, 0x0e, 0x5f, 0x80, 0xff, 0x92, 0xe9, 0x11, 0xd9, 0x05, 0x6f,
784         0x76, 0x14, 0x54, 0xf6, 0x2b, 0xcf, 0x6a, 0xd4, 0x9b, 0x1d, 0xa1, 0x7d, 0x1c, 0x78, 0xce, 0x3e,
785         0x46, 0xfb, 0x24, 0xa8, 0x3a, 0xfb, 0x04, 0xed, 0xd3, 0xc0, 0x77, 0xf6, 0x69, 0xf8, 0x29, 0xd4,
786         0xbf, 0x56, 0x72, 0xa8, 0xd8, 0x84, 0xbc, 0x03, 0x30, 0x9b, 0x44, 0x33, 0xae, 0xb4, 0x90, 0x29,
787         0x42, 0xfa, 0x74, 0x7b, 0x36, 0xe9, 0xe5, 0x0e, 0x42, 0xc0, 0x8f, 0x65, 0xc2, 0x11, 0x7b, 0x87,
788         0xe2, 0x77, 0xd8, 0x85, 0xfa, 0x99, 0xd6, 0xdc, 0x74, 0x2f, 0xfe, 0x32, 0x91, 0x57, 0xd0, 0x44,
789         0xa8, 0xb3, 0x89, 0xcc, 0x52, 0x43, 0xde, 0x83, 0x06, 0xb3, 0x66, 0x24, 0x12, 0x04, 0x6d, 0x9e,
790         0x34, 0x0f, 0xfb, 0xf1, 0xa1, 0xcb, 0x46, 0xeb, 0xb8, 0xd8, 0x4d, 0xc8, 0x5b, 0x50, 0x63, 0xb8,
791         0x03, 0x53, 0xf9, 0xd4, 0x59, 0xe1, 0x10, 0x5a, 0x18, 0x7b, 0xc1, 0x07, 0x22, 0x15, 0xc6, 0x16,
792         0xf0, 0x11, 0xb4, 0x85, 0xd6, 0x19, 0x4b, 0x63, 0x1e, 0x4d, 0xf3, 0x9a, 0xcb, 0xd0, 0x4e, 0x06,
793         0xda, 0x2a, 0x82, 0x0a, 0x5d, 0x9e, 0x80, 0x9f, 0x30, 0xc3, 0x30, 0x41, 0xf3, 0xa4, 0x61, 0x63,
794         0xad, 0xf4, 0x14, 0xbd, 0xe1, 0x18, 0x9a, 0x3d, 0x36, 0xce, 0xf8, 0xa5, 0xcc, 0x54, 0xcc, 0xc9,
795         0x63, 0xa8, 0x2a, 0x3e, 0x70, 0xb8, 0x8b, 0x58, 0xeb, 0x24, 0x4f, 0x61, 0x6b, 0x66, 0x43, 0x1d,
796         0x52, 0x6b, 0x5e, 0x50, 0x5e, 0x33, 0xcd, 0x57, 0xc9, 0x63, 0x68, 0x4c, 0xa5, 0x46, 0xce, 0xa8,
797         0x97, 0x4f, 0xe7, 0x76, 0xf8, 0x2d, 0xb4, 0x31, 0xdb, 0x05, 0xd7, 0x46, 0xa4, 0x0c, 0xeb, 0xfa,
798         0x87, 0x53, 0xfe, 0xe6, 0x41, 0xf3, 0x8b, 0xb1, 0x8c, 0xbf, 0x79, 0xc9, 0x59, 0xc2, 0x15, 0x09,
799         0xa0, 0xbe, 0xdc, 0x23, 0x85, 0x69, 0xcf, 0x62, 0xc4, 0xc5, 0x70, 0x34, 0x3f, 0x8b, 0xdc, 0x22,
800         0xcf, 0xa1, 0x33, 0x55, 0x7c, 0x26, 0x64, 0xa6, 0xa3, 0xbe, 0x45, 0xb2, 0x87, 0x5a, 0x5d, 0xa1,
801         0xdb, 0x2a, 0x42, 0x30, 0x57, 0x37, 0x21, 0x4f, 0x60, 0xdb, 0x88, 0x09, 0xd7, 0x86, 0x4d, 0xa6,
802         0xd8, 0x27, 0x3e, 0x5d, 0x38, 0xc8, 0x87, 0xd0, 0x31, 0x8a, 0xa5, 0x9a, 0xc5, 0x96, 0xa4, 0x8e,
803         0x94, 0x94, 0x26, 0xd8, 0x5a, 0xc1, 0x6c, 0x97, 0x43, 0xa8, 0x94, 0x86, 0x7c, 0x0e, 0x6f, 0x97,
804         0x7c, 0x91, 0x36, 0xcc, 0x64, 0x3a, 0x1a, 0x31, 0x3d, 0x0a, 0x6a, 0x2b, 0x9b, 0x1f, 0x95, 0x02,
805         0x2f, 0x31, 0x0e, 0x07, 0xee, 0x02, 0xc8, 0x3a, 0x42, 0x50, 0xc7, 0xcd, 0x8f, 0xec, 0xe6, 0xab,
806         0xd5, 0x6d, 0xb4, 0xb3, 0x86, 0x44, 0x3e, 0x80, 0xce, 0x77, 0xc2, 0xa4, 0x5c, 0xeb, 0x88, 0xa9,
807         0x61, 0x36, 0xe1, 0xa9, 0xd1, 0x41, 0x63, 0xbf, 0xfa, 0x6c, 0x87, 0xb6, 0xdd, 0xc2, 0x59, 0xe1,
808         0x0f, 0x7f, 0xa8, 0x40, 0xe3, 0xea, 0xfa, 0x5e, 0xf9, 0x0f, 0xa0, 0xa5, 0xb9, 0x12, 0x6c, 0x2c,
809         0x6e, 0x78, 0x12, 0x69, 0x71, 0xc3, 0xdd, 0x39, 0xec, 0x2e, 0xdc, 0x97, 0xe2, 0x86, 0xdb, 0x41,
810         0xb7, 0x42, 0x46, 0x8a, 0xa5, 0x43, 0xee, 0xce, 0x1b, 0xa5, 0xa5, 0xd6, 0x41, 0x0e, 0x00, 0x14,
811         0xd7, 0xd9, 0xd8, 0xce, 0x9e, 0x0e, 0xfc, 0xfd, 0xea, 0x92, 0x2c, 0xdb, 0xf9, 0x5a, 0x37, 0xd1,
812         0xe1, 0x31, 0xec, 0x5e, 0x5d, 0xf7, 0xb8, 0x12, 0x83, 0x37, 0x14, 0x9d, 0xe4, 0x5d, 0x68, 0x3a,
813         0x49, 0x07, 0x4c, 0x8c, 0x91, 0x60, 0x83, 0x42, 0xee, 0x7a, 0xc1, 0xc4, 0x38, 0x1c, 0x40, 0x67,
814         0x4d, 0x9f, 0x3b, 0x4a, 0xfa, 0x18, 0x1e, 0xcc, 0x10, 0xbf, 0xd0, 0xd9, 0x43, 0x36, 0x04, 0x75,
815         0x5e, 0x4a, 0x4d, 0x77, 0xf2, 0xc0, 0x1c, 0x32, 0xfc, 0xa5, 0x02, 0xd5, 0x57, 0xd9, 0x35, 0x79,
816         0x1f, 0xea, 0x1a, 0x07, 0x53, 0x07, 0x15, 0xdc, 0x8a, 0x13, 0x50, 0x1a, 0x58, 0x5a, 0xac, 0x93,
817         0xa7, 0x50, 0x2f, 0x6e, 0x05, 0x6f, 0xfd, 0x56, 0x28, 0xd6, 0xc8, 0x57, 0xf0, 0xb0, 0x38, 0xb9,
818         0x64, 0x31, 0x84, 0x3a, 0xa8, 0x22, 0xfc, 0xc3, 0x39, 0x7c, 0x69, 0x42, 0xe9, 0x9e, 0xdb, 0x51,
819         0xf2, 0xdd, 0xd2, 0x02, 0xfe, 0x2d, 0x2d, 0x20, 0xa1, 0x71, 0x2e, 0x45, 0xda, 0x67, 0x9a, 0x93,
820         0x2f, 0x61, 0x6f, 0x03, 0x03, 0x37, 0xff, 0x9b, 0x09, 0x90, 0x75, 0x02, 0x76, 0xbe, 0x98, 0xea,
821         0x0b, 0xa3, 0x98, 0x7a, 0xe3, 0x2e, 0xf5, 0x85, 0x23, 0xfc, 0xbe, 0x02, 0xed, 0x6e, 0x6a, 0x14,
822         0x3b, 0x1f, 0x31, 0x91, 0xbe, 0xce, 0xcc, 0x34, 0x33, 0xe4, 0x00, 0x6a, 0xb9, 0x5a, 0x2e, 0xd9,
823         0x9a, 0x98, 0x6e, 0x99, 0x3c, 0x87, 0x56, 0x2c, 0x53, 0xa3, 0xe4, 0x38, 0xba, 0x43, 0xd3, 0x5d,
824         0x17, 0x53, 0x5c, 0xb4, 0x01, 0xd4, 0xa5, 0x4a, 0x44, 0xca, 0xc6, 0xae, 0x29, 0x0b, 0x13, 0xd9,
825         0x9c, 0x2b, 0xa9, 0xf5, 0x7f, 0x82, 0xcd, 0x8f, 0x15, 0x80, 0x9e, 0x34, 0xfc, 0x5f, 0xe6, 0x61,
826         0xff, 0xc8, 0x33, 0x69, 0x38, 0x5e, 0x8e, 0x3b, 0x14, 0xbf, 0xc3, 0x9f, 0x2b, 0xb0, 0xdd, 0xe3,
827         0x46, 0x76, 0x53, 0x4b, 0xed, 0x08, 0x5a, 0x7a, 0xca, 0x53, 0x13, 0x49, 0xa4, 0xba, 0xf8, 0x99,
828         0x2e, 0xe6, 0xf9, 0x01, 0x06, 0xe4, 0xa5, 0x74, 0x93, 0xdb, 0x9a, 0xcb, 0xfb, 0x93, 0xcd, 0xb5,
829         0xb1, 0xb9, 0xab, 0x9b, 0x9b, 0xbb, 0x5c, 0xa1, 0xbf, 0xac, 0xf4, 0x6b, 0x00, 0xca, 0x8d, 0x50,
830         0xdc, 0x06, 0xfe, 0x71, 0xa1, 0x4b, 0x80, 0xde, 0x32, 0xe0, 0x4f, 0x15, 0xd8, 0xba, 0x9c, 0xf2,
831         0x34, 0xf9, 0xdf, 0x4b, 0xf3, 0xab, 0x07, 0xad, 0xc5, 0x48, 0xe4, 0xc7, 0xfd, 0x09, 0xec, 0x4d,
832         0x98, 0x48, 0x63, 0xeb, 0xb9, 0xa3, 0xae, 0xce, 0x3c, 0xe8, 0xef, 0xae, 0x6d, 0x43, 0x87, 0x57,
833         0xef, 0xef, 0xf0, 0xcf, 0xa0, 0x9d, 0xbf, 0xf5, 0x92, 0xf9, 0x63, 0x0d, 0xab, 0x6d, 0x9e, 0xec,
834         0xcd, 0xdf, 0x2b, 0x8b, 0x77, 0x1c, 0x6d, 0xb1, 0x95, 0x87, 0xdd, 0x46, 0x45, 0xb7, 0xee, 0x57,
835         0xb4, 0xb6, 0xa4, 0x68, 0xbf, 0x86, 0xaf, 0xeb, 0xd3, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x20,
836         0xd9, 0x30, 0x59, 0x69, 0x0b, 0x00, 0x00,
837 }