OSDN Git Service

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