1 // Code generated by protoc-gen-go. DO NOT EDIT.
5 Package bc is a generated protocol buffer package.
7 It is generated from these files:
10 It has these top-level messages:
35 import proto "github.com/golang/protobuf/proto"
39 // Reference imports to suppress errors if they are not otherwise used.
44 // This is a compile-time assertion to ensure that this generated file
45 // is compatible with the proto package it is being compiled against.
46 // A compilation error at this line likely means your copy of the
47 // proto package needs to be updated.
48 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
51 V0 uint64 `protobuf:"fixed64,1,opt,name=v0" json:"v0,omitempty"`
52 V1 uint64 `protobuf:"fixed64,2,opt,name=v1" json:"v1,omitempty"`
53 V2 uint64 `protobuf:"fixed64,3,opt,name=v2" json:"v2,omitempty"`
54 V3 uint64 `protobuf:"fixed64,4,opt,name=v3" json:"v3,omitempty"`
57 func (m *Hash) Reset() { *m = Hash{} }
58 func (m *Hash) String() string { return proto.CompactTextString(m) }
59 func (*Hash) ProtoMessage() {}
60 func (*Hash) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
62 func (m *Hash) GetV0() uint64 {
69 func (m *Hash) GetV1() uint64 {
76 func (m *Hash) GetV2() uint64 {
83 func (m *Hash) GetV3() uint64 {
91 VmVersion uint64 `protobuf:"varint,1,opt,name=vm_version,json=vmVersion" json:"vm_version,omitempty"`
92 Code []byte `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
95 func (m *Program) Reset() { *m = Program{} }
96 func (m *Program) String() string { return proto.CompactTextString(m) }
97 func (*Program) ProtoMessage() {}
98 func (*Program) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
100 func (m *Program) GetVmVersion() uint64 {
107 func (m *Program) GetCode() []byte {
114 // This message type duplicates Hash, above. One alternative is to
115 // embed a Hash inside an AssetID. But it's useful for AssetID to be
116 // plain old data (without pointers). Another alternative is use Hash
117 // in any protobuf types where an AssetID is called for, but it's
118 // preferable to have type safety.
119 type AssetID struct {
120 V0 uint64 `protobuf:"fixed64,1,opt,name=v0" json:"v0,omitempty"`
121 V1 uint64 `protobuf:"fixed64,2,opt,name=v1" json:"v1,omitempty"`
122 V2 uint64 `protobuf:"fixed64,3,opt,name=v2" json:"v2,omitempty"`
123 V3 uint64 `protobuf:"fixed64,4,opt,name=v3" json:"v3,omitempty"`
126 func (m *AssetID) Reset() { *m = AssetID{} }
127 func (m *AssetID) String() string { return proto.CompactTextString(m) }
128 func (*AssetID) ProtoMessage() {}
129 func (*AssetID) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
131 func (m *AssetID) GetV0() uint64 {
138 func (m *AssetID) GetV1() uint64 {
145 func (m *AssetID) GetV2() uint64 {
152 func (m *AssetID) GetV3() uint64 {
159 type AssetAmount struct {
160 AssetId *AssetID `protobuf:"bytes,1,opt,name=asset_id,json=assetId" json:"asset_id,omitempty"`
161 Amount uint64 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
164 func (m *AssetAmount) Reset() { *m = AssetAmount{} }
165 func (m *AssetAmount) String() string { return proto.CompactTextString(m) }
166 func (*AssetAmount) ProtoMessage() {}
167 func (*AssetAmount) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
169 func (m *AssetAmount) GetAssetId() *AssetID {
176 func (m *AssetAmount) GetAmount() uint64 {
183 type AssetDefinition struct {
184 IssuanceProgram *Program `protobuf:"bytes,1,opt,name=issuance_program,json=issuanceProgram" json:"issuance_program,omitempty"`
185 Data *Hash `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
188 func (m *AssetDefinition) Reset() { *m = AssetDefinition{} }
189 func (m *AssetDefinition) String() string { return proto.CompactTextString(m) }
190 func (*AssetDefinition) ProtoMessage() {}
191 func (*AssetDefinition) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
193 func (m *AssetDefinition) GetIssuanceProgram() *Program {
195 return m.IssuanceProgram
200 func (m *AssetDefinition) GetData() *Hash {
207 type ValueSource struct {
208 Ref *Hash `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
209 Value *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
210 Position uint64 `protobuf:"varint,3,opt,name=position" json:"position,omitempty"`
213 func (m *ValueSource) Reset() { *m = ValueSource{} }
214 func (m *ValueSource) String() string { return proto.CompactTextString(m) }
215 func (*ValueSource) ProtoMessage() {}
216 func (*ValueSource) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
218 func (m *ValueSource) GetRef() *Hash {
225 func (m *ValueSource) GetValue() *AssetAmount {
232 func (m *ValueSource) GetPosition() uint64 {
239 type ValueDestination struct {
240 Ref *Hash `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
241 Value *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
242 Position uint64 `protobuf:"varint,3,opt,name=position" json:"position,omitempty"`
245 func (m *ValueDestination) Reset() { *m = ValueDestination{} }
246 func (m *ValueDestination) String() string { return proto.CompactTextString(m) }
247 func (*ValueDestination) ProtoMessage() {}
248 func (*ValueDestination) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
250 func (m *ValueDestination) GetRef() *Hash {
257 func (m *ValueDestination) GetValue() *AssetAmount {
264 func (m *ValueDestination) GetPosition() uint64 {
272 Sign []byte `protobuf:"bytes,1,opt,name=sign,proto3" json:"sign,omitempty"`
273 ControlProgram []byte `protobuf:"bytes,2,opt,name=controlProgram,proto3" json:"controlProgram,omitempty"`
274 Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
277 func (m *Proof) Reset() { *m = Proof{} }
278 func (m *Proof) String() string { return proto.CompactTextString(m) }
279 func (*Proof) ProtoMessage() {}
280 func (*Proof) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
282 func (m *Proof) GetSign() []byte {
289 func (m *Proof) GetControlProgram() []byte {
291 return m.ControlProgram
296 func (m *Proof) GetAddress() []byte {
303 type BytomBlockHeader struct {
304 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
305 Height uint64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
306 PreviousBlockId *Hash `protobuf:"bytes,3,opt,name=previous_block_id,json=previousBlockId" json:"previous_block_id,omitempty"`
307 Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"`
308 TransactionsRoot *Hash `protobuf:"bytes,5,opt,name=transactions_root,json=transactionsRoot" json:"transactions_root,omitempty"`
309 TransactionStatusHash *Hash `protobuf:"bytes,6,opt,name=transaction_status_hash,json=transactionStatusHash" json:"transaction_status_hash,omitempty"`
310 Nonce uint64 `protobuf:"varint,7,opt,name=nonce" json:"nonce,omitempty"`
311 Bits uint64 `protobuf:"varint,8,opt,name=bits" json:"bits,omitempty"`
312 TransactionStatus *TransactionStatus `protobuf:"bytes,9,opt,name=transaction_status,json=transactionStatus" json:"transaction_status,omitempty"`
315 func (m *BytomBlockHeader) Reset() { *m = BytomBlockHeader{} }
316 func (m *BytomBlockHeader) String() string { return proto.CompactTextString(m) }
317 func (*BytomBlockHeader) ProtoMessage() {}
318 func (*BytomBlockHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
320 func (m *BytomBlockHeader) GetVersion() uint64 {
327 func (m *BytomBlockHeader) GetHeight() uint64 {
334 func (m *BytomBlockHeader) GetPreviousBlockId() *Hash {
336 return m.PreviousBlockId
341 func (m *BytomBlockHeader) GetTimestamp() uint64 {
348 func (m *BytomBlockHeader) GetTransactionsRoot() *Hash {
350 return m.TransactionsRoot
355 func (m *BytomBlockHeader) GetTransactionStatusHash() *Hash {
357 return m.TransactionStatusHash
362 func (m *BytomBlockHeader) GetNonce() uint64 {
369 func (m *BytomBlockHeader) GetBits() uint64 {
376 func (m *BytomBlockHeader) GetTransactionStatus() *TransactionStatus {
378 return m.TransactionStatus
383 type BlockHeader struct {
384 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
385 Height uint64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
386 PreviousBlockId *Hash `protobuf:"bytes,3,opt,name=previous_block_id,json=previousBlockId" json:"previous_block_id,omitempty"`
387 Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"`
388 TransactionsRoot *Hash `protobuf:"bytes,5,opt,name=transactions_root,json=transactionsRoot" json:"transactions_root,omitempty"`
389 TransactionStatusHash *Hash `protobuf:"bytes,6,opt,name=transaction_status_hash,json=transactionStatusHash" json:"transaction_status_hash,omitempty"`
390 Nonce uint64 `protobuf:"varint,7,opt,name=nonce" json:"nonce,omitempty"`
391 Bits uint64 `protobuf:"varint,8,opt,name=bits" json:"bits,omitempty"`
392 TransactionStatus *TransactionStatus `protobuf:"bytes,9,opt,name=transaction_status,json=transactionStatus" json:"transaction_status,omitempty"`
395 func (m *BlockHeader) Reset() { *m = BlockHeader{} }
396 func (m *BlockHeader) String() string { return proto.CompactTextString(m) }
397 func (*BlockHeader) ProtoMessage() {}
398 func (*BlockHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
400 func (m *BlockHeader) GetVersion() uint64 {
407 func (m *BlockHeader) GetHeight() uint64 {
414 func (m *BlockHeader) GetPreviousBlockId() *Hash {
416 return m.PreviousBlockId
421 func (m *BlockHeader) GetTimestamp() uint64 {
428 func (m *BlockHeader) GetTransactionsRoot() *Hash {
430 return m.TransactionsRoot
435 func (m *BlockHeader) GetTransactionStatusHash() *Hash {
437 return m.TransactionStatusHash
442 func (m *BlockHeader) GetNonce() uint64 {
449 func (m *BlockHeader) GetBits() uint64 {
456 func (m *BlockHeader) GetTransactionStatus() *TransactionStatus {
458 return m.TransactionStatus
463 type TxHeader struct {
464 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
465 SerializedSize uint64 `protobuf:"varint,2,opt,name=serialized_size,json=serializedSize" json:"serialized_size,omitempty"`
466 Data *Hash `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
467 TimeRange uint64 `protobuf:"varint,4,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
468 ResultIds []*Hash `protobuf:"bytes,5,rep,name=result_ids,json=resultIds" json:"result_ids,omitempty"`
469 Side bool `protobuf:"varint,6,opt,name=side" json:"side,omitempty"`
472 func (m *TxHeader) Reset() { *m = TxHeader{} }
473 func (m *TxHeader) String() string { return proto.CompactTextString(m) }
474 func (*TxHeader) ProtoMessage() {}
475 func (*TxHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
477 func (m *TxHeader) GetVersion() uint64 {
484 func (m *TxHeader) GetSerializedSize() uint64 {
486 return m.SerializedSize
491 func (m *TxHeader) GetData() *Hash {
498 func (m *TxHeader) GetTimeRange() uint64 {
505 func (m *TxHeader) GetResultIds() []*Hash {
512 func (m *TxHeader) GetSide() bool {
519 type TxVerifyResult struct {
520 StatusFail bool `protobuf:"varint,1,opt,name=status_fail,json=statusFail" json:"status_fail,omitempty"`
523 func (m *TxVerifyResult) Reset() { *m = TxVerifyResult{} }
524 func (m *TxVerifyResult) String() string { return proto.CompactTextString(m) }
525 func (*TxVerifyResult) ProtoMessage() {}
526 func (*TxVerifyResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
528 func (m *TxVerifyResult) GetStatusFail() bool {
535 type TransactionStatus struct {
536 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
537 VerifyStatus []*TxVerifyResult `protobuf:"bytes,2,rep,name=verify_status,json=verifyStatus" json:"verify_status,omitempty"`
540 func (m *TransactionStatus) Reset() { *m = TransactionStatus{} }
541 func (m *TransactionStatus) String() string { return proto.CompactTextString(m) }
542 func (*TransactionStatus) ProtoMessage() {}
543 func (*TransactionStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
545 func (m *TransactionStatus) GetVersion() uint64 {
552 func (m *TransactionStatus) GetVerifyStatus() []*TxVerifyResult {
554 return m.VerifyStatus
560 Sources []*ValueSource `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
561 Program *Program `protobuf:"bytes,2,opt,name=program" json:"program,omitempty"`
562 WitnessDestinations []*ValueDestination `protobuf:"bytes,3,rep,name=witness_destinations,json=witnessDestinations" json:"witness_destinations,omitempty"`
563 WitnessArguments [][]byte `protobuf:"bytes,4,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
566 func (m *Mux) Reset() { *m = Mux{} }
567 func (m *Mux) String() string { return proto.CompactTextString(m) }
568 func (*Mux) ProtoMessage() {}
569 func (*Mux) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
571 func (m *Mux) GetSources() []*ValueSource {
578 func (m *Mux) GetProgram() *Program {
585 func (m *Mux) GetWitnessDestinations() []*ValueDestination {
587 return m.WitnessDestinations
592 func (m *Mux) GetWitnessArguments() [][]byte {
594 return m.WitnessArguments
599 type Coinbase struct {
600 WitnessDestination *ValueDestination `protobuf:"bytes,1,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
601 Arbitrary []byte `protobuf:"bytes,2,opt,name=arbitrary,proto3" json:"arbitrary,omitempty"`
604 func (m *Coinbase) Reset() { *m = Coinbase{} }
605 func (m *Coinbase) String() string { return proto.CompactTextString(m) }
606 func (*Coinbase) ProtoMessage() {}
607 func (*Coinbase) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
609 func (m *Coinbase) GetWitnessDestination() *ValueDestination {
611 return m.WitnessDestination
616 func (m *Coinbase) GetArbitrary() []byte {
624 Source *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
625 ControlProgram *Program `protobuf:"bytes,2,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
626 Ordinal uint64 `protobuf:"varint,3,opt,name=ordinal" json:"ordinal,omitempty"`
629 func (m *Output) Reset() { *m = Output{} }
630 func (m *Output) String() string { return proto.CompactTextString(m) }
631 func (*Output) ProtoMessage() {}
632 func (*Output) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
634 func (m *Output) GetSource() *ValueSource {
641 func (m *Output) GetControlProgram() *Program {
643 return m.ControlProgram
648 func (m *Output) GetOrdinal() uint64 {
655 type Retirement struct {
656 Source *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
657 Ordinal uint64 `protobuf:"varint,2,opt,name=ordinal" json:"ordinal,omitempty"`
660 func (m *Retirement) Reset() { *m = Retirement{} }
661 func (m *Retirement) String() string { return proto.CompactTextString(m) }
662 func (*Retirement) ProtoMessage() {}
663 func (*Retirement) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
665 func (m *Retirement) GetSource() *ValueSource {
672 func (m *Retirement) GetOrdinal() uint64 {
679 type Issuance struct {
680 NonceHash *Hash `protobuf:"bytes,1,opt,name=nonce_hash,json=nonceHash" json:"nonce_hash,omitempty"`
681 Value *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
682 WitnessDestination *ValueDestination `protobuf:"bytes,3,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
683 WitnessAssetDefinition *AssetDefinition `protobuf:"bytes,4,opt,name=witness_asset_definition,json=witnessAssetDefinition" json:"witness_asset_definition,omitempty"`
684 WitnessArguments [][]byte `protobuf:"bytes,5,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
685 Ordinal uint64 `protobuf:"varint,6,opt,name=ordinal" json:"ordinal,omitempty"`
688 func (m *Issuance) Reset() { *m = Issuance{} }
689 func (m *Issuance) String() string { return proto.CompactTextString(m) }
690 func (*Issuance) ProtoMessage() {}
691 func (*Issuance) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
693 func (m *Issuance) GetNonceHash() *Hash {
700 func (m *Issuance) GetValue() *AssetAmount {
707 func (m *Issuance) GetWitnessDestination() *ValueDestination {
709 return m.WitnessDestination
714 func (m *Issuance) GetWitnessAssetDefinition() *AssetDefinition {
716 return m.WitnessAssetDefinition
721 func (m *Issuance) GetWitnessArguments() [][]byte {
723 return m.WitnessArguments
728 func (m *Issuance) GetOrdinal() uint64 {
736 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
737 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
738 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
739 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
742 func (m *Spend) Reset() { *m = Spend{} }
743 func (m *Spend) String() string { return proto.CompactTextString(m) }
744 func (*Spend) ProtoMessage() {}
745 func (*Spend) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
747 func (m *Spend) GetSpentOutputId() *Hash {
749 return m.SpentOutputId
754 func (m *Spend) GetWitnessDestination() *ValueDestination {
756 return m.WitnessDestination
761 func (m *Spend) GetWitnessArguments() [][]byte {
763 return m.WitnessArguments
768 func (m *Spend) GetOrdinal() uint64 {
776 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
777 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
778 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
779 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
780 Peginwitness [][]byte `protobuf:"bytes,5,rep,name=Peginwitness,proto3" json:"Peginwitness,omitempty"`
783 func (m *Claim) Reset() { *m = Claim{} }
784 func (m *Claim) String() string { return proto.CompactTextString(m) }
785 func (*Claim) ProtoMessage() {}
786 func (*Claim) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
788 func (m *Claim) GetSpentOutputId() *Hash {
790 return m.SpentOutputId
795 func (m *Claim) GetWitnessDestination() *ValueDestination {
797 return m.WitnessDestination
802 func (m *Claim) GetWitnessArguments() [][]byte {
804 return m.WitnessArguments
809 func (m *Claim) GetOrdinal() uint64 {
816 func (m *Claim) GetPeginwitness() [][]byte {
818 return m.Peginwitness
824 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
825 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
826 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
827 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
828 Type uint32 `protobuf:"varint,5,opt,name=type" json:"type,omitempty"`
829 From string `protobuf:"bytes,6,opt,name=from" json:"from,omitempty"`
830 To string `protobuf:"bytes,7,opt,name=to" json:"to,omitempty"`
831 Stake uint64 `protobuf:"varint,8,opt,name=stake" json:"stake,omitempty"`
832 Data string `protobuf:"bytes,9,opt,name=data" json:"data,omitempty"`
835 func (m *Dpos) Reset() { *m = Dpos{} }
836 func (m *Dpos) String() string { return proto.CompactTextString(m) }
837 func (*Dpos) ProtoMessage() {}
838 func (*Dpos) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
840 func (m *Dpos) GetSpentOutputId() *Hash {
842 return m.SpentOutputId
847 func (m *Dpos) GetWitnessDestination() *ValueDestination {
849 return m.WitnessDestination
854 func (m *Dpos) GetWitnessArguments() [][]byte {
856 return m.WitnessArguments
861 func (m *Dpos) GetOrdinal() uint64 {
868 func (m *Dpos) GetType() uint32 {
875 func (m *Dpos) GetFrom() string {
882 func (m *Dpos) GetTo() string {
889 func (m *Dpos) GetStake() uint64 {
896 func (m *Dpos) GetData() string {
904 proto.RegisterType((*Hash)(nil), "bc.Hash")
905 proto.RegisterType((*Program)(nil), "bc.Program")
906 proto.RegisterType((*AssetID)(nil), "bc.AssetID")
907 proto.RegisterType((*AssetAmount)(nil), "bc.AssetAmount")
908 proto.RegisterType((*AssetDefinition)(nil), "bc.AssetDefinition")
909 proto.RegisterType((*ValueSource)(nil), "bc.ValueSource")
910 proto.RegisterType((*ValueDestination)(nil), "bc.ValueDestination")
911 proto.RegisterType((*Proof)(nil), "bc.Proof")
912 proto.RegisterType((*BytomBlockHeader)(nil), "bc.BytomBlockHeader")
913 proto.RegisterType((*BlockHeader)(nil), "bc.BlockHeader")
914 proto.RegisterType((*TxHeader)(nil), "bc.TxHeader")
915 proto.RegisterType((*TxVerifyResult)(nil), "bc.TxVerifyResult")
916 proto.RegisterType((*TransactionStatus)(nil), "bc.TransactionStatus")
917 proto.RegisterType((*Mux)(nil), "bc.Mux")
918 proto.RegisterType((*Coinbase)(nil), "bc.Coinbase")
919 proto.RegisterType((*Output)(nil), "bc.Output")
920 proto.RegisterType((*Retirement)(nil), "bc.Retirement")
921 proto.RegisterType((*Issuance)(nil), "bc.Issuance")
922 proto.RegisterType((*Spend)(nil), "bc.Spend")
923 proto.RegisterType((*Claim)(nil), "bc.Claim")
924 proto.RegisterType((*Dpos)(nil), "bc.Dpos")
927 func init() { proto.RegisterFile("bc.proto", fileDescriptor0) }
929 var fileDescriptor0 = []byte{
930 // 1070 bytes of a gzipped FileDescriptorProto
931 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x6e, 0x1b, 0xb7,
932 0x13, 0x87, 0x56, 0xab, 0xaf, 0x91, 0x6c, 0xd9, 0xb4, 0x93, 0xff, 0x22, 0xc8, 0x1f, 0x35, 0x16,
933 0x48, 0x9c, 0xa2, 0x80, 0xe1, 0x8f, 0xb4, 0xbd, 0xf4, 0x50, 0x27, 0x6e, 0x1a, 0x1d, 0x8c, 0x18,
934 0xb4, 0xe1, 0x5b, 0xb1, 0xa0, 0xb4, 0x94, 0x4c, 0x44, 0x5a, 0x6e, 0x49, 0xae, 0x6a, 0xfb, 0x96,
935 0xb7, 0xe9, 0x1b, 0xf4, 0x11, 0x72, 0xea, 0x93, 0xf4, 0x15, 0x7a, 0x28, 0x38, 0xcb, 0x95, 0x56,
936 0xb2, 0xf2, 0x85, 0xa2, 0x28, 0x02, 0xf4, 0xc6, 0x19, 0x0e, 0x7f, 0x33, 0xf3, 0xe3, 0xec, 0x0c,
937 0x17, 0x9a, 0xfd, 0xc1, 0x5e, 0xaa, 0xa4, 0x91, 0xc4, 0xeb, 0x0f, 0xc2, 0x17, 0xe0, 0xbf, 0x64,
938 0xfa, 0x8a, 0xac, 0x83, 0x37, 0xdd, 0x0f, 0x2a, 0x3b, 0x95, 0x27, 0x75, 0xea, 0x4d, 0xf7, 0x51,
939 0x3e, 0x08, 0x3c, 0x27, 0x1f, 0xa0, 0x7c, 0x18, 0x54, 0x9d, 0x7c, 0x88, 0xf2, 0x51, 0xe0, 0x3b,
940 0xf9, 0x28, 0xfc, 0x0e, 0x1a, 0x67, 0x4a, 0x8e, 0x14, 0x9b, 0x90, 0xff, 0x03, 0x4c, 0x27, 0xd1,
941 0x94, 0x2b, 0x2d, 0x64, 0x82, 0x90, 0x3e, 0x6d, 0x4d, 0x27, 0x97, 0xb9, 0x82, 0x10, 0xf0, 0x07,
942 0x32, 0xe6, 0x88, 0xdd, 0xa1, 0xb8, 0x0e, 0x7b, 0xd0, 0x38, 0xd6, 0x9a, 0x9b, 0xde, 0xc9, 0xdf,
943 0x0e, 0xe4, 0x14, 0xda, 0x08, 0x75, 0x3c, 0x91, 0x59, 0x62, 0xc8, 0x63, 0x68, 0x32, 0x2b, 0x46,
944 0x22, 0x46, 0xd0, 0xf6, 0x61, 0x7b, 0xaf, 0x3f, 0xd8, 0x73, 0xde, 0x68, 0x03, 0x37, 0x7b, 0x31,
945 0xb9, 0x0f, 0x75, 0x86, 0x27, 0xd0, 0x95, 0x4f, 0x9d, 0x14, 0x8e, 0xa0, 0x8b, 0xb6, 0x27, 0x7c,
946 0x28, 0x12, 0x61, 0x6c, 0x02, 0xdf, 0xc0, 0x86, 0xd0, 0x3a, 0x63, 0xc9, 0x80, 0x47, 0x69, 0x9e,
947 0x73, 0x19, 0xda, 0xd1, 0x40, 0xbb, 0x85, 0x51, 0xc1, 0xcb, 0x43, 0xf0, 0x63, 0x66, 0x18, 0x3a,
948 0x68, 0x1f, 0x36, 0xad, 0xad, 0xa5, 0x9e, 0xa2, 0x36, 0x1c, 0x43, 0xfb, 0x92, 0x8d, 0x33, 0x7e,
949 0x2e, 0x33, 0x35, 0xe0, 0xe4, 0x01, 0x54, 0x15, 0x1f, 0x3a, 0xdc, 0xb9, 0xad, 0x55, 0x92, 0x47,
950 0x50, 0x9b, 0x5a, 0x53, 0x87, 0xd4, 0x9d, 0x25, 0x94, 0xe7, 0x4c, 0xf3, 0x5d, 0xf2, 0x00, 0x9a,
951 0xa9, 0xd4, 0x18, 0x33, 0xf2, 0xe5, 0xd3, 0x99, 0x1c, 0xfe, 0x0c, 0x1b, 0xe8, 0xed, 0x84, 0x6b,
952 0x23, 0x12, 0x86, 0x79, 0xfd, 0xc3, 0x2e, 0x7f, 0x82, 0xda, 0x99, 0x92, 0x72, 0x68, 0x0b, 0x40,
953 0x8b, 0x51, 0x5e, 0x19, 0x1d, 0x8a, 0x6b, 0xf2, 0x18, 0xd6, 0x07, 0x32, 0x31, 0x4a, 0x8e, 0x1d,
954 0x5b, 0xae, 0x3c, 0x96, 0xb4, 0x24, 0x80, 0x06, 0x8b, 0x63, 0xc5, 0xb5, 0x46, 0xfc, 0x0e, 0x2d,
955 0xc4, 0xf0, 0x4d, 0x15, 0x36, 0x9e, 0xdd, 0x18, 0x39, 0x79, 0x36, 0x96, 0x83, 0xd7, 0x2f, 0x39,
956 0x8b, 0xb9, 0xb2, 0xe6, 0x8b, 0x75, 0x58, 0x88, 0xf6, 0xbe, 0xaf, 0xb8, 0x18, 0x5d, 0xcd, 0xee,
957 0x3b, 0x97, 0xc8, 0x53, 0xd8, 0x4c, 0x15, 0x9f, 0x0a, 0x99, 0xe9, 0xa8, 0x6f, 0x91, 0x6c, 0xe1,
958 0x54, 0x97, 0x28, 0xe9, 0x16, 0x26, 0xe8, 0xab, 0x17, 0x93, 0x87, 0xd0, 0x32, 0x62, 0xc2, 0xb5,
959 0x61, 0x93, 0x14, 0x6b, 0xd1, 0xa7, 0x73, 0x05, 0xf9, 0x1a, 0x36, 0x8d, 0x62, 0x89, 0x66, 0x03,
960 0x4b, 0x84, 0x8e, 0x94, 0x94, 0x26, 0xa8, 0x2d, 0x61, 0x6e, 0x94, 0x4d, 0xa8, 0x94, 0x86, 0x7c,
961 0x0f, 0xff, 0x2b, 0xe9, 0x22, 0x6d, 0x98, 0xc9, 0x74, 0x74, 0xc5, 0xf4, 0x55, 0x50, 0x5f, 0x3a,
962 0x7c, 0xaf, 0x64, 0x78, 0x8e, 0x76, 0xf8, 0x51, 0x6f, 0x43, 0x2d, 0x91, 0xc9, 0x80, 0x07, 0x0d,
963 0x0c, 0x29, 0x17, 0x2c, 0xff, 0x7d, 0x61, 0x74, 0xd0, 0x44, 0x25, 0xae, 0xc9, 0x09, 0x90, 0xbb,
964 0xbe, 0x82, 0x16, 0xba, 0xb9, 0x67, 0xdd, 0x5c, 0x2c, 0x3b, 0xa0, 0x9b, 0x77, 0x7c, 0x86, 0x7f,
965 0x7a, 0xd0, 0xfe, 0x8f, 0xfe, 0x7f, 0x8d, 0xfe, 0xb7, 0x15, 0x68, 0x5e, 0x5c, 0x7f, 0x90, 0xfb,
966 0x5d, 0xe8, 0x6a, 0xae, 0x04, 0x1b, 0x8b, 0x5b, 0x1e, 0x47, 0x5a, 0xdc, 0x72, 0x77, 0x09, 0xeb,
967 0x73, 0xf5, 0xb9, 0xb8, 0xe5, 0xb3, 0x86, 0x55, 0x5d, 0xd5, 0xb0, 0x6c, 0x9b, 0xb7, 0x1c, 0x47,
968 0x8a, 0x25, 0x23, 0x5e, 0x66, 0x9d, 0x5a, 0x05, 0xd9, 0x05, 0x50, 0x5c, 0x67, 0x63, 0xdb, 0x79,
969 0x75, 0x50, 0xdb, 0xa9, 0x2e, 0x40, 0xb4, 0xf2, 0xbd, 0x5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992 0x4c, 0x4c, 0x3e, 0xf7, 0x4c, 0x48, 0x08, 0x9d, 0x33, 0x3e, 0x12, 0x89, 0x3b, 0xe2, 0x6e, 0x75,
993 0x41, 0x17, 0xfe, 0xea, 0x81, 0x7f, 0x92, 0x4a, 0xfd, 0xd9, 0x27, 0x4b, 0xc0, 0x37, 0x37, 0x29,
994 0xc7, 0x17, 0xc1, 0x1a, 0xc5, 0xb5, 0xd5, 0x0d, 0x95, 0x9c, 0x60, 0xad, 0xb6, 0x28, 0xae, 0xed,
995 0x8f, 0x86, 0x91, 0x38, 0xca, 0x5b, 0xd4, 0x33, 0xd2, 0x4e, 0x77, 0x6d, 0xd8, 0x6b, 0xee, 0x06,
996 0x79, 0x2e, 0xd8, 0x93, 0x38, 0x33, 0x5b, 0xf9, 0x49, 0xbb, 0xee, 0xd7, 0xf1, 0x77, 0xeb, 0xe8,
997 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x94, 0x81, 0x10, 0xfb, 0x7a, 0x0d, 0x00, 0x00,