OSDN Git Service

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