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 Data *Hash `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
491 TimeRange uint64 `protobuf:"varint,4,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
492 ResultIds []*Hash `protobuf:"bytes,5,rep,name=result_ids,json=resultIds" json:"result_ids,omitempty"`
495 func (m *TxHeader) Reset() { *m = TxHeader{} }
496 func (m *TxHeader) String() string { return proto.CompactTextString(m) }
497 func (*TxHeader) ProtoMessage() {}
498 func (*TxHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
500 func (m *TxHeader) GetVersion() uint64 {
507 func (m *TxHeader) GetSerializedSize() uint64 {
509 return m.SerializedSize
514 func (m *TxHeader) GetData() *Hash {
521 func (m *TxHeader) GetTimeRange() uint64 {
528 func (m *TxHeader) GetResultIds() []*Hash {
535 type TxVerifyResult struct {
536 StatusFail bool `protobuf:"varint,1,opt,name=status_fail,json=statusFail" json:"status_fail,omitempty"`
539 func (m *TxVerifyResult) Reset() { *m = TxVerifyResult{} }
540 func (m *TxVerifyResult) String() string { return proto.CompactTextString(m) }
541 func (*TxVerifyResult) ProtoMessage() {}
542 func (*TxVerifyResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
544 func (m *TxVerifyResult) GetStatusFail() bool {
551 type TransactionStatus struct {
552 Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
553 VerifyStatus []*TxVerifyResult `protobuf:"bytes,2,rep,name=verify_status,json=verifyStatus" json:"verify_status,omitempty"`
556 func (m *TransactionStatus) Reset() { *m = TransactionStatus{} }
557 func (m *TransactionStatus) String() string { return proto.CompactTextString(m) }
558 func (*TransactionStatus) ProtoMessage() {}
559 func (*TransactionStatus) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
561 func (m *TransactionStatus) GetVersion() uint64 {
568 func (m *TransactionStatus) GetVerifyStatus() []*TxVerifyResult {
570 return m.VerifyStatus
576 Sources []*ValueSource `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"`
577 Program *Program `protobuf:"bytes,2,opt,name=program" json:"program,omitempty"`
578 WitnessDestinations []*ValueDestination `protobuf:"bytes,3,rep,name=witness_destinations,json=witnessDestinations" json:"witness_destinations,omitempty"`
579 WitnessArguments [][]byte `protobuf:"bytes,4,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
582 func (m *Mux) Reset() { *m = Mux{} }
583 func (m *Mux) String() string { return proto.CompactTextString(m) }
584 func (*Mux) ProtoMessage() {}
585 func (*Mux) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
587 func (m *Mux) GetSources() []*ValueSource {
594 func (m *Mux) GetProgram() *Program {
601 func (m *Mux) GetWitnessDestinations() []*ValueDestination {
603 return m.WitnessDestinations
608 func (m *Mux) GetWitnessArguments() [][]byte {
610 return m.WitnessArguments
615 type Coinbase struct {
616 WitnessDestination *ValueDestination `protobuf:"bytes,1,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
617 Arbitrary []byte `protobuf:"bytes,2,opt,name=arbitrary,proto3" json:"arbitrary,omitempty"`
620 func (m *Coinbase) Reset() { *m = Coinbase{} }
621 func (m *Coinbase) String() string { return proto.CompactTextString(m) }
622 func (*Coinbase) ProtoMessage() {}
623 func (*Coinbase) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
625 func (m *Coinbase) GetWitnessDestination() *ValueDestination {
627 return m.WitnessDestination
632 func (m *Coinbase) GetArbitrary() []byte {
640 Source *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
641 ControlProgram *Program `protobuf:"bytes,2,opt,name=control_program,json=controlProgram" json:"control_program,omitempty"`
642 Ordinal uint64 `protobuf:"varint,3,opt,name=ordinal" json:"ordinal,omitempty"`
645 func (m *Output) Reset() { *m = Output{} }
646 func (m *Output) String() string { return proto.CompactTextString(m) }
647 func (*Output) ProtoMessage() {}
648 func (*Output) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
650 func (m *Output) GetSource() *ValueSource {
657 func (m *Output) GetControlProgram() *Program {
659 return m.ControlProgram
664 func (m *Output) GetOrdinal() uint64 {
671 type Retirement struct {
672 Source *ValueSource `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
673 Ordinal uint64 `protobuf:"varint,2,opt,name=ordinal" json:"ordinal,omitempty"`
676 func (m *Retirement) Reset() { *m = Retirement{} }
677 func (m *Retirement) String() string { return proto.CompactTextString(m) }
678 func (*Retirement) ProtoMessage() {}
679 func (*Retirement) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
681 func (m *Retirement) GetSource() *ValueSource {
688 func (m *Retirement) GetOrdinal() uint64 {
695 type Issuance struct {
696 NonceHash *Hash `protobuf:"bytes,1,opt,name=nonce_hash,json=nonceHash" json:"nonce_hash,omitempty"`
697 Value *AssetAmount `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
698 WitnessDestination *ValueDestination `protobuf:"bytes,3,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
699 WitnessAssetDefinition *AssetDefinition `protobuf:"bytes,4,opt,name=witness_asset_definition,json=witnessAssetDefinition" json:"witness_asset_definition,omitempty"`
700 WitnessArguments [][]byte `protobuf:"bytes,5,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
701 Ordinal uint64 `protobuf:"varint,6,opt,name=ordinal" json:"ordinal,omitempty"`
704 func (m *Issuance) Reset() { *m = Issuance{} }
705 func (m *Issuance) String() string { return proto.CompactTextString(m) }
706 func (*Issuance) ProtoMessage() {}
707 func (*Issuance) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
709 func (m *Issuance) GetNonceHash() *Hash {
716 func (m *Issuance) GetValue() *AssetAmount {
723 func (m *Issuance) GetWitnessDestination() *ValueDestination {
725 return m.WitnessDestination
730 func (m *Issuance) GetWitnessAssetDefinition() *AssetDefinition {
732 return m.WitnessAssetDefinition
737 func (m *Issuance) GetWitnessArguments() [][]byte {
739 return m.WitnessArguments
744 func (m *Issuance) GetOrdinal() uint64 {
752 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
753 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
754 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
755 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
758 func (m *Spend) Reset() { *m = Spend{} }
759 func (m *Spend) String() string { return proto.CompactTextString(m) }
760 func (*Spend) ProtoMessage() {}
761 func (*Spend) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
763 func (m *Spend) GetSpentOutputId() *Hash {
765 return m.SpentOutputId
770 func (m *Spend) GetWitnessDestination() *ValueDestination {
772 return m.WitnessDestination
777 func (m *Spend) GetWitnessArguments() [][]byte {
779 return m.WitnessArguments
784 func (m *Spend) GetOrdinal() uint64 {
792 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
793 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
794 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
795 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
796 Peginwitness [][]byte `protobuf:"bytes,5,rep,name=Peginwitness,proto3" json:"Peginwitness,omitempty"`
799 func (m *Claim) Reset() { *m = Claim{} }
800 func (m *Claim) String() string { return proto.CompactTextString(m) }
801 func (*Claim) ProtoMessage() {}
802 func (*Claim) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
804 func (m *Claim) GetSpentOutputId() *Hash {
806 return m.SpentOutputId
811 func (m *Claim) GetWitnessDestination() *ValueDestination {
813 return m.WitnessDestination
818 func (m *Claim) GetWitnessArguments() [][]byte {
820 return m.WitnessArguments
825 func (m *Claim) GetOrdinal() uint64 {
832 func (m *Claim) GetPeginwitness() [][]byte {
834 return m.Peginwitness
840 SpentOutputId *Hash `protobuf:"bytes,1,opt,name=spent_output_id,json=spentOutputId" json:"spent_output_id,omitempty"`
841 WitnessDestination *ValueDestination `protobuf:"bytes,2,opt,name=witness_destination,json=witnessDestination" json:"witness_destination,omitempty"`
842 WitnessArguments [][]byte `protobuf:"bytes,3,rep,name=witness_arguments,json=witnessArguments,proto3" json:"witness_arguments,omitempty"`
843 Ordinal uint64 `protobuf:"varint,4,opt,name=ordinal" json:"ordinal,omitempty"`
844 Type uint32 `protobuf:"varint,5,opt,name=type" json:"type,omitempty"`
845 From string `protobuf:"bytes,6,opt,name=from" json:"from,omitempty"`
846 To string `protobuf:"bytes,7,opt,name=to" json:"to,omitempty"`
847 Stake uint64 `protobuf:"varint,8,opt,name=stake" json:"stake,omitempty"`
848 Data string `protobuf:"bytes,9,opt,name=data" json:"data,omitempty"`
851 func (m *Dpos) Reset() { *m = Dpos{} }
852 func (m *Dpos) String() string { return proto.CompactTextString(m) }
853 func (*Dpos) ProtoMessage() {}
854 func (*Dpos) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
856 func (m *Dpos) GetSpentOutputId() *Hash {
858 return m.SpentOutputId
863 func (m *Dpos) GetWitnessDestination() *ValueDestination {
865 return m.WitnessDestination
870 func (m *Dpos) GetWitnessArguments() [][]byte {
872 return m.WitnessArguments
877 func (m *Dpos) GetOrdinal() uint64 {
884 func (m *Dpos) GetType() uint32 {
891 func (m *Dpos) GetFrom() string {
898 func (m *Dpos) GetTo() string {
905 func (m *Dpos) GetStake() uint64 {
912 func (m *Dpos) GetData() string {
920 proto.RegisterType((*Hash)(nil), "bc.Hash")
921 proto.RegisterType((*Program)(nil), "bc.Program")
922 proto.RegisterType((*AssetID)(nil), "bc.AssetID")
923 proto.RegisterType((*AssetAmount)(nil), "bc.AssetAmount")
924 proto.RegisterType((*AssetDefinition)(nil), "bc.AssetDefinition")
925 proto.RegisterType((*ValueSource)(nil), "bc.ValueSource")
926 proto.RegisterType((*ValueDestination)(nil), "bc.ValueDestination")
927 proto.RegisterType((*Proof)(nil), "bc.Proof")
928 proto.RegisterType((*BytomBlockHeader)(nil), "bc.BytomBlockHeader")
929 proto.RegisterType((*BlockHeader)(nil), "bc.BlockHeader")
930 proto.RegisterType((*TxHeader)(nil), "bc.TxHeader")
931 proto.RegisterType((*TxVerifyResult)(nil), "bc.TxVerifyResult")
932 proto.RegisterType((*TransactionStatus)(nil), "bc.TransactionStatus")
933 proto.RegisterType((*Mux)(nil), "bc.Mux")
934 proto.RegisterType((*Coinbase)(nil), "bc.Coinbase")
935 proto.RegisterType((*Output)(nil), "bc.Output")
936 proto.RegisterType((*Retirement)(nil), "bc.Retirement")
937 proto.RegisterType((*Issuance)(nil), "bc.Issuance")
938 proto.RegisterType((*Spend)(nil), "bc.Spend")
939 proto.RegisterType((*Claim)(nil), "bc.Claim")
940 proto.RegisterType((*Dpos)(nil), "bc.Dpos")
943 func init() { proto.RegisterFile("bc.proto", fileDescriptor0) }
945 var fileDescriptor0 = []byte{
946 // 1098 bytes of a gzipped FileDescriptorProto
947 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x6e, 0xdb, 0x46,
948 0x10, 0x86, 0x24, 0xea, 0x6f, 0xa4, 0x58, 0xf6, 0xda, 0x49, 0x89, 0x20, 0x45, 0x0c, 0x02, 0x89,
949 0x53, 0x14, 0x30, 0xfc, 0x93, 0xb6, 0x97, 0x1e, 0xea, 0xc4, 0x4d, 0xa3, 0x83, 0x11, 0x63, 0x6d,
950 0xf8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0x97, 0x5c, 0x8c, 0x2e, 0x67, 0xf9, 0xce,
973 0x29, 0xf2, 0x14, 0x36, 0x52, 0xc5, 0xa7, 0x42, 0x66, 0x3a, 0x1c, 0x58, 0x4d, 0xb6, 0x70, 0x6a,
974 0x4b, 0x90, 0xf4, 0x0a, 0x11, 0xb4, 0xd5, 0x8f, 0xc9, 0x03, 0x68, 0x1b, 0x31, 0xe1, 0xda, 0xb0,
975 0x49, 0x8a, 0xb5, 0xe8, 0xd1, 0x39, 0x83, 0x7c, 0x05, 0x1b, 0x46, 0xb1, 0x44, 0xb3, 0xc8, 0x02,
976 0xa1, 0x43, 0x25, 0xa5, 0xf1, 0xeb, 0x4b, 0x3a, 0xd7, 0xcb, 0x22, 0x54, 0x4a, 0x43, 0xbe, 0x83,
977 0xcf, 0x4a, 0xbc, 0x50, 0x1b, 0x66, 0x32, 0x1d, 0x5e, 0x32, 0x7d, 0xe9, 0x37, 0x96, 0x2e, 0xdf,
978 0x2d, 0x09, 0x9e, 0xa1, 0x1c, 0x3e, 0xea, 0x2d, 0xa8, 0x27, 0x32, 0x89, 0xb8, 0xdf, 0x44, 0x97,
979 0x72, 0xc2, 0xe2, 0x3f, 0x10, 0x46, 0xfb, 0x2d, 0x64, 0xe2, 0x37, 0x39, 0x06, 0x72, 0xdb, 0x96,
980 0xdf, 0x46, 0x33, 0x77, 0xad, 0x99, 0xf3, 0x65, 0x03, 0x74, 0xe3, 0x96, 0xcd, 0xe0, 0xcf, 0x1a,
981 0x74, 0xfe, 0x87, 0xff, 0xbf, 0x82, 0x9f, 0x3c, 0x74, 0x2f, 0xcc, 0x07, 0xbc, 0xd8, 0x76, 0xdd,
982 0x48, 0x0e, 0xa9, 0x7b, 0x79, 0x5b, 0x50, 0xe7, 0x57, 0x46, 0x31, 0xbf, 0x83, 0x6f, 0x27, 0x27,
983 0xec, 0xa3, 0x8d, 0xa4, 0x48, 0x06, 0x4c, 0x73, 0xbf, 0x8b, 0x07, 0x33, 0x3a, 0xf8,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xf2, 0xe9, 0xa6, 0xbb, 0x51, 0xe2, 0x69, 0xf2, 0x25, 0x6c, 0x14, 0x8a, 0x98, 0x1a, 0x65,
996 0x13, 0x9e, 0x18, 0xed, 0x7b, 0xdb, 0xb5, 0x27, 0x5d, 0xba, 0xee, 0x0e, 0x8e, 0x0a, 0x7e, 0x20,
997 0xa1, 0xf5, 0xdc, 0x15, 0x0b, 0xf9, 0x1e, 0x36, 0x57, 0x78, 0xe0, 0x06, 0xca, 0x6a, 0x07, 0xc8,
998 0x6d, 0x07, 0xec, 0x6b, 0x66, 0x6a, 0x20, 0x8c, 0x62, 0xea, 0xda, 0x8d, 0x81, 0x39, 0x23, 0x78,
999 0x53, 0x81, 0xc6, 0xab, 0xcc, 0xa4, 0x99, 0x21, 0x3b, 0xd0, 0xc8, 0x31, 0x72, 0x26, 0x6e, 0x41,
1000 0xe8, 0x8e, 0xc9, 0x53, 0xe8, 0xb9, 0x39, 0x12, 0xbe, 0x03, 0xc9, 0x15, 0xb3, 0x46, 0xaa, 0x58,
1001 0x24, 0x6c, 0xec, 0x66, 0x59, 0x41, 0x06, 0xaf, 0x00, 0x28, 0x37, 0x42, 0x71, 0x8b, 0xc1, 0x87,
1002 0xbb, 0x51, 0x52, 0x58, 0x5d, 0x54, 0xf8, 0x5b, 0x15, 0x5a, 0x7d, 0xb7, 0x2e, 0xd8, 0x32, 0xc7,
1003 0x4e, 0x91, 0xf7, 0x9a, 0xe5, 0x71, 0xdc, 0xc6, 0x33, 0xec, 0x2f, 0x1f, 0x38, 0x94, 0xdf, 0x92,
1004 0x96, 0xda, 0x47, 0xa6, 0xe5, 0x04, 0xfc, 0x59, 0x59, 0xe0, 0x46, 0x15, 0xcf, 0x56, 0x22, 0x7c,
1005 0xaa, 0x9d, 0x83, 0xcd, 0x99, 0x03, 0xf3, 0x6d, 0x89, 0xde, 0x2b, 0x4a, 0x66, 0x69, 0x8b, 0x5a,
1006 0x59, 0x65, 0xf5, 0xd5, 0x55, 0x56, 0x46, 0xae, 0xb1, 0x88, 0xdc, 0xef, 0x15, 0xa8, 0x9f, 0xa5,
1007 0x3c, 0x89, 0xc9, 0x1e, 0xf4, 0x74, 0xca, 0x13, 0x13, 0x4a, 0xac, 0x8e, 0xf9, 0xc2, 0x37, 0xc7,
1008 0xee, 0x0e, 0x0a, 0xe4, 0xd5, 0xd3, 0x8f, 0xdf, 0x06, 0x4c, 0xf5, 0x23, 0x81, 0x59, 0x19, 0x49,
1009 0xed, 0xfd, 0x91, 0x78, 0x8b, 0x91, 0xfc, 0x55, 0x81, 0xfa, 0xf3, 0x31, 0x13, 0x93, 0x4f, 0x3d,
1010 0x12, 0x12, 0x40, 0xf7, 0x94, 0x8f, 0x44, 0xe2, 0xae, 0xb8, 0xac, 0x2e, 0xf0, 0x82, 0x5f, 0xaa,
1011 0xe0, 0x1d, 0xa7, 0x52, 0x7f, 0xf2, 0xc1, 0x12, 0xf0, 0xcc, 0x75, 0xca, 0x71, 0xa1, 0xb8, 0x43,
1012 0xf1, 0xdb, 0xf2, 0x86, 0x4a, 0x4e, 0xb0, 0x56, 0xdb, 0x14, 0xbf, 0xed, 0x7f, 0x8a, 0x91, 0xb8,
1013 0x09, 0xb4, 0x69, 0xd5, 0x48, 0x3b, 0x8b, 0xb5, 0x61, 0xaf, 0xb9, 0xdb, 0x03, 0x72, 0xc2, 0xde,
1014 0xc4, 0xf9, 0xd8, 0xce, 0x6f, 0xda, 0xef, 0x41, 0x03, 0xff, 0xd6, 0x0e, 0xff, 0x0e, 0x00, 0x00,
1015 0xff, 0xff, 0xbc, 0x6e, 0xdc, 0xf9, 0xb9, 0x0d, 0x00, 0x00,