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"`
393 Proof *Proof `protobuf:"bytes,10,opt,name=Proof" json:"Proof,omitempty"`
394 Extra []byte `protobuf:"bytes,11,opt,name=extra,proto3" json:"extra,omitempty"`
395 Coinbase []byte `protobuf:"bytes,12,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
398 func (m *BlockHeader) Reset() { *m = BlockHeader{} }
399 func (m *BlockHeader) String() string { return proto.CompactTextString(m) }
400 func (*BlockHeader) ProtoMessage() {}
401 func (*BlockHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
403 func (m *BlockHeader) GetVersion() uint64 {
410 func (m *BlockHeader) GetHeight() uint64 {
417 func (m *BlockHeader) GetPreviousBlockId() *Hash {
419 return m.PreviousBlockId
424 func (m *BlockHeader) GetTimestamp() uint64 {
431 func (m *BlockHeader) GetTransactionsRoot() *Hash {
433 return m.TransactionsRoot
438 func (m *BlockHeader) GetTransactionStatusHash() *Hash {
440 return m.TransactionStatusHash
445 func (m *BlockHeader) GetNonce() uint64 {
452 func (m *BlockHeader) GetBits() uint64 {
459 func (m *BlockHeader) GetTransactionStatus() *TransactionStatus {
461 return m.TransactionStatus
466 func (m *BlockHeader) GetProof() *Proof {
473 func (m *BlockHeader) GetExtra() []byte {
480 func (m *BlockHeader) GetCoinbase() []byte {
487 type TxHeader struct {
488 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
489 SerializedSize uint64 `protobuf:"varint,2,opt,name=serialized_size,json=serializedSize" json:"serialized_size,omitempty"`
490 TimeRange uint64 `protobuf:"varint,3,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
491 ResultIds []*Hash `protobuf:"bytes,4,rep,name=result_ids,json=resultIds" json:"result_ids,omitempty"`
494 func (m *TxHeader) Reset() { *m = TxHeader{} }
495 func (m *TxHeader) String() string { return proto.CompactTextString(m) }
496 func (*TxHeader) ProtoMessage() {}
497 func (*TxHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
499 func (m *TxHeader) GetVersion() uint64 {
506 func (m *TxHeader) GetSerializedSize() uint64 {
508 return m.SerializedSize
513 func (m *TxHeader) GetTimeRange() uint64 {
520 func (m *TxHeader) GetResultIds() []*Hash {
527 type TxVerifyResult struct {
528 StatusFail bool `protobuf:"varint,1,opt,name=status_fail,json=statusFail" json:"status_fail,omitempty"`
531 func (m *TxVerifyResult) Reset() { *m = TxVerifyResult{} }
532 func (m *TxVerifyResult) String() string { return proto.CompactTextString(m) }
533 func (*TxVerifyResult) ProtoMessage() {}
534 func (*TxVerifyResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
536 func (m *TxVerifyResult) GetStatusFail() bool {
543 type TransactionStatus struct {
544 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
545 VerifyStatus []*TxVerifyResult `protobuf:"bytes,2,rep,name=verify_status,json=verifyStatus" json:"verify_status,omitempty"`
548 func (m *TransactionStatus) Reset() { *m = TransactionStatus{} }
549 func (m *TransactionStatus) String() string { return proto.CompactTextString(m) }
550 func (*TransactionStatus) ProtoMessage() {}
551 func (*TransactionStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
553 func (m *TransactionStatus) GetVersion() uint64 {
560 func (m *TransactionStatus) GetVerifyStatus() []*TxVerifyResult {
562 return m.VerifyStatus
568 Sources []*ValueSource `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
569 Program *Program `protobuf:"bytes,2,opt,name=program" json:"program,omitempty"`
570 WitnessDestinations []*ValueDestination `protobuf:"bytes,3,rep,name=witness_destinations,json=witnessDestinations" json:"witness_destinations,omitempty"`
571 WitnessArguments [][]byte `protobuf:"bytes,4,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
574 func (m *Mux) Reset() { *m = Mux{} }
575 func (m *Mux) String() string { return proto.CompactTextString(m) }
576 func (*Mux) ProtoMessage() {}
577 func (*Mux) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
579 func (m *Mux) GetSources() []*ValueSource {
586 func (m *Mux) GetProgram() *Program {
593 func (m *Mux) GetWitnessDestinations() []*ValueDestination {
595 return m.WitnessDestinations
600 func (m *Mux) GetWitnessArguments() [][]byte {
602 return m.WitnessArguments
607 type Coinbase struct {
608 WitnessDestination *ValueDestination `protobuf:"bytes,1,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
609 Arbitrary []byte `protobuf:"bytes,2,opt,name=arbitrary,proto3" json:"arbitrary,omitempty"`
612 func (m *Coinbase) Reset() { *m = Coinbase{} }
613 func (m *Coinbase) String() string { return proto.CompactTextString(m) }
614 func (*Coinbase) ProtoMessage() {}
615 func (*Coinbase) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
617 func (m *Coinbase) GetWitnessDestination() *ValueDestination {
619 return m.WitnessDestination
624 func (m *Coinbase) GetArbitrary() []byte {
632 Source *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
633 ControlProgram *Program `protobuf:"bytes,2,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
634 Ordinal uint64 `protobuf:"varint,3,opt,name=ordinal" json:"ordinal,omitempty"`
637 func (m *Output) Reset() { *m = Output{} }
638 func (m *Output) String() string { return proto.CompactTextString(m) }
639 func (*Output) ProtoMessage() {}
640 func (*Output) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
642 func (m *Output) GetSource() *ValueSource {
649 func (m *Output) GetControlProgram() *Program {
651 return m.ControlProgram
656 func (m *Output) GetOrdinal() uint64 {
663 type Retirement struct {
664 Source *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
665 Ordinal uint64 `protobuf:"varint,2,opt,name=ordinal" json:"ordinal,omitempty"`
668 func (m *Retirement) Reset() { *m = Retirement{} }
669 func (m *Retirement) String() string { return proto.CompactTextString(m) }
670 func (*Retirement) ProtoMessage() {}
671 func (*Retirement) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
673 func (m *Retirement) GetSource() *ValueSource {
680 func (m *Retirement) GetOrdinal() uint64 {
687 type Issuance struct {
688 NonceHash *Hash `protobuf:"bytes,1,opt,name=nonce_hash,json=nonceHash" json:"nonce_hash,omitempty"`
689 Value *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
690 WitnessDestination *ValueDestination `protobuf:"bytes,3,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
691 WitnessAssetDefinition *AssetDefinition `protobuf:"bytes,4,opt,name=witness_asset_definition,json=witnessAssetDefinition" json:"witness_asset_definition,omitempty"`
692 WitnessArguments [][]byte `protobuf:"bytes,5,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
693 Ordinal uint64 `protobuf:"varint,6,opt,name=ordinal" json:"ordinal,omitempty"`
696 func (m *Issuance) Reset() { *m = Issuance{} }
697 func (m *Issuance) String() string { return proto.CompactTextString(m) }
698 func (*Issuance) ProtoMessage() {}
699 func (*Issuance) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
701 func (m *Issuance) GetNonceHash() *Hash {
708 func (m *Issuance) GetValue() *AssetAmount {
715 func (m *Issuance) GetWitnessDestination() *ValueDestination {
717 return m.WitnessDestination
722 func (m *Issuance) GetWitnessAssetDefinition() *AssetDefinition {
724 return m.WitnessAssetDefinition
729 func (m *Issuance) GetWitnessArguments() [][]byte {
731 return m.WitnessArguments
736 func (m *Issuance) GetOrdinal() uint64 {
744 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
745 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
746 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
747 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
750 func (m *Spend) Reset() { *m = Spend{} }
751 func (m *Spend) String() string { return proto.CompactTextString(m) }
752 func (*Spend) ProtoMessage() {}
753 func (*Spend) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
755 func (m *Spend) GetSpentOutputId() *Hash {
757 return m.SpentOutputId
762 func (m *Spend) GetWitnessDestination() *ValueDestination {
764 return m.WitnessDestination
769 func (m *Spend) GetWitnessArguments() [][]byte {
771 return m.WitnessArguments
776 func (m *Spend) GetOrdinal() uint64 {
784 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
785 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
786 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
787 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
788 Peginwitness [][]byte `protobuf:"bytes,5,rep,name=Peginwitness,proto3" json:"Peginwitness,omitempty"`
791 func (m *Claim) Reset() { *m = Claim{} }
792 func (m *Claim) String() string { return proto.CompactTextString(m) }
793 func (*Claim) ProtoMessage() {}
794 func (*Claim) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
796 func (m *Claim) GetSpentOutputId() *Hash {
798 return m.SpentOutputId
803 func (m *Claim) GetWitnessDestination() *ValueDestination {
805 return m.WitnessDestination
810 func (m *Claim) GetWitnessArguments() [][]byte {
812 return m.WitnessArguments
817 func (m *Claim) GetOrdinal() uint64 {
824 func (m *Claim) GetPeginwitness() [][]byte {
826 return m.Peginwitness
832 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
833 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
834 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
835 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
836 Type uint32 `protobuf:"varint,5,opt,name=type" json:"type,omitempty"`
837 From string `protobuf:"bytes,6,opt,name=from" json:"from,omitempty"`
838 To string `protobuf:"bytes,7,opt,name=to" json:"to,omitempty"`
839 Stake uint64 `protobuf:"varint,8,opt,name=stake" json:"stake,omitempty"`
840 Data string `protobuf:"bytes,9,opt,name=data" json:"data,omitempty"`
843 func (m *Dpos) Reset() { *m = Dpos{} }
844 func (m *Dpos) String() string { return proto.CompactTextString(m) }
845 func (*Dpos) ProtoMessage() {}
846 func (*Dpos) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
848 func (m *Dpos) GetSpentOutputId() *Hash {
850 return m.SpentOutputId
855 func (m *Dpos) GetWitnessDestination() *ValueDestination {
857 return m.WitnessDestination
862 func (m *Dpos) GetWitnessArguments() [][]byte {
864 return m.WitnessArguments
869 func (m *Dpos) GetOrdinal() uint64 {
876 func (m *Dpos) GetType() uint32 {
883 func (m *Dpos) GetFrom() string {
890 func (m *Dpos) GetTo() string {
897 func (m *Dpos) GetStake() uint64 {
904 func (m *Dpos) GetData() string {
912 proto.RegisterType((*Hash)(nil), "bc.Hash")
913 proto.RegisterType((*Program)(nil), "bc.Program")
914 proto.RegisterType((*AssetID)(nil), "bc.AssetID")
915 proto.RegisterType((*AssetAmount)(nil), "bc.AssetAmount")
916 proto.RegisterType((*AssetDefinition)(nil), "bc.AssetDefinition")
917 proto.RegisterType((*ValueSource)(nil), "bc.ValueSource")
918 proto.RegisterType((*ValueDestination)(nil), "bc.ValueDestination")
919 proto.RegisterType((*Proof)(nil), "bc.Proof")
920 proto.RegisterType((*BytomBlockHeader)(nil), "bc.BytomBlockHeader")
921 proto.RegisterType((*BlockHeader)(nil), "bc.BlockHeader")
922 proto.RegisterType((*TxHeader)(nil), "bc.TxHeader")
923 proto.RegisterType((*TxVerifyResult)(nil), "bc.TxVerifyResult")
924 proto.RegisterType((*TransactionStatus)(nil), "bc.TransactionStatus")
925 proto.RegisterType((*Mux)(nil), "bc.Mux")
926 proto.RegisterType((*Coinbase)(nil), "bc.Coinbase")
927 proto.RegisterType((*Output)(nil), "bc.Output")
928 proto.RegisterType((*Retirement)(nil), "bc.Retirement")
929 proto.RegisterType((*Issuance)(nil), "bc.Issuance")
930 proto.RegisterType((*Spend)(nil), "bc.Spend")
931 proto.RegisterType((*Claim)(nil), "bc.Claim")
932 proto.RegisterType((*Dpos)(nil), "bc.Dpos")
935 func init() { proto.RegisterFile("bc.proto", fileDescriptor0) }
937 var fileDescriptor0 = []byte{
938 // 1091 bytes of a gzipped FileDescriptorProto
939 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x6e, 0xdb, 0x46,
940 0x10, 0x86, 0x24, 0xea, 0x6f, 0x24, 0x5b, 0xf6, 0xda, 0x49, 0x89, 0x20, 0x45, 0x02, 0x02, 0x89,
941 0x5b, 0x14, 0x30, 0xfc, 0x93, 0xb6, 0x97, 0x1e, 0xea, 0xc4, 0x4d, 0xa3, 0x83, 0x11, 0x63, 0x6d,
942 0xf8, 0x56, 0x10, 0x2b, 0x72, 0x25, 0x2f, 0x22, 0x71, 0xd9, 0xdd, 0xa5, 0x6a, 0xfb, 0x96, 0x87,
943 0xe8, 0x3b, 0xf4, 0x0d, 0xfa, 0x08, 0x3d, 0x15, 0x7d, 0x90, 0xbe, 0x44, 0xb1, 0xc3, 0xa5, 0x44,
944 0xc9, 0xca, 0x1f, 0x8a, 0xa2, 0x08, 0x90, 0x1b, 0xe7, 0x67, 0xe7, 0xe7, 0x9b, 0xd9, 0x99, 0x25,
945 0xb4, 0x06, 0xd1, 0x6e, 0xaa, 0xa4, 0x91, 0xa4, 0x3a, 0x88, 0x82, 0xe7, 0xe0, 0xbd, 0x60, 0xfa,
946 0x92, 0xac, 0x43, 0x75, 0xba, 0xe7, 0x57, 0x1e, 0x56, 0xbe, 0x68, 0xd0, 0xea, 0x74, 0x0f, 0xe9,
947 0x7d, 0xbf, 0xea, 0xe8, 0x7d, 0xa4, 0x0f, 0xfc, 0x9a, 0xa3, 0x0f, 0x90, 0x3e, 0xf4, 0x3d, 0x47,
948 0x1f, 0x06, 0xdf, 0x41, 0xf3, 0x54, 0xc9, 0x91, 0x62, 0x13, 0xf2, 0x39, 0xc0, 0x74, 0x12, 0x4e,
949 0xb9, 0xd2, 0x42, 0x26, 0x68, 0xd2, 0xa3, 0xed, 0xe9, 0xe4, 0x22, 0x67, 0x10, 0x02, 0x5e, 0x24,
950 0x63, 0x8e, 0xb6, 0xbb, 0x14, 0xbf, 0x83, 0x3e, 0x34, 0x8f, 0xb4, 0xe6, 0xa6, 0x7f, 0xfc, 0xaf,
951 0x03, 0x39, 0x81, 0x0e, 0x9a, 0x3a, 0x9a, 0xc8, 0x2c, 0x31, 0xe4, 0x31, 0xb4, 0x98, 0x25, 0x43,
952 0x11, 0xa3, 0xd1, 0xce, 0x41, 0x67, 0x77, 0x10, 0xed, 0x3a, 0x6f, 0xb4, 0x89, 0xc2, 0x7e, 0x4c,
953 0xee, 0x42, 0x83, 0xe1, 0x09, 0x74, 0xe5, 0x51, 0x47, 0x05, 0x23, 0xe8, 0xa1, 0xee, 0x31, 0x1f,
954 0x8a, 0x44, 0x18, 0x9b, 0xc0, 0x37, 0xb0, 0x21, 0xb4, 0xce, 0x58, 0x12, 0xf1, 0x30, 0xcd, 0x73,
955 0x2e, 0x9b, 0x76, 0x30, 0xd0, 0x5e, 0xa1, 0x54, 0xe0, 0x72, 0x1f, 0xbc, 0x98, 0x19, 0x86, 0x0e,
956 0x3a, 0x07, 0x2d, 0xab, 0x6b, 0xa1, 0xa7, 0xc8, 0x0d, 0xc6, 0xd0, 0xb9, 0x60, 0xe3, 0x8c, 0x9f,
957 0xc9, 0x4c, 0x45, 0x9c, 0xdc, 0x83, 0x9a, 0xe2, 0x43, 0x67, 0x77, 0xae, 0x6b, 0x99, 0xe4, 0x11,
958 0xd4, 0xa7, 0x56, 0xd5, 0x59, 0xea, 0xcd, 0x12, 0xca, 0x73, 0xa6, 0xb9, 0x94, 0xdc, 0x83, 0x56,
959 0x2a, 0x35, 0xc6, 0x8c, 0x78, 0x79, 0x74, 0x46, 0x07, 0x3f, 0xc3, 0x06, 0x7a, 0x3b, 0xe6, 0xda,
960 0x88, 0x84, 0x61, 0x5e, 0xff, 0xb1, 0xcb, 0x9f, 0xa0, 0x7e, 0xaa, 0xa4, 0x1c, 0xda, 0x06, 0xd0,
961 0x62, 0x94, 0x77, 0x46, 0x97, 0xe2, 0x37, 0x79, 0x0c, 0xeb, 0x91, 0x4c, 0x8c, 0x92, 0x63, 0x87,
962 0x96, 0x6b, 0x8f, 0x25, 0x2e, 0xf1, 0xa1, 0xc9, 0xe2, 0x58, 0x71, 0xad, 0xd1, 0x7e, 0x97, 0x16,
963 0x64, 0xf0, 0xba, 0x06, 0x1b, 0x4f, 0xaf, 0x8d, 0x9c, 0x3c, 0x1d, 0xcb, 0xe8, 0xd5, 0x0b, 0xce,
964 0x62, 0xae, 0xac, 0xfa, 0x62, 0x1f, 0x16, 0xa4, 0xad, 0xf7, 0x25, 0x17, 0xa3, 0xcb, 0x59, 0xbd,
965 0x73, 0x8a, 0x3c, 0x81, 0xcd,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