github.com/turingchain2020/turingchain@v1.1.21/types/executor.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: executor.proto
     3  
     4  package types
     5  
     6  import (
     7  	fmt "fmt"
     8  	math "math"
     9  
    10  	proto "github.com/golang/protobuf/proto"
    11  )
    12  
    13  // Reference imports to suppress errors if they are not otherwise used.
    14  var _ = proto.Marshal
    15  var _ = fmt.Errorf
    16  var _ = math.Inf
    17  
    18  // This is a compile-time assertion to ensure that this generated file
    19  // is compatible with the proto package it is being compiled against.
    20  // A compilation error at this line likely means your copy of the
    21  // proto package needs to be updated.
    22  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    23  
    24  type Genesis struct {
    25  	Isrun                bool     `protobuf:"varint,1,opt,name=isrun,proto3" json:"isrun,omitempty"`
    26  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    27  	XXX_unrecognized     []byte   `json:"-"`
    28  	XXX_sizecache        int32    `json:"-"`
    29  }
    30  
    31  func (m *Genesis) Reset()         { *m = Genesis{} }
    32  func (m *Genesis) String() string { return proto.CompactTextString(m) }
    33  func (*Genesis) ProtoMessage()    {}
    34  func (*Genesis) Descriptor() ([]byte, []int) {
    35  	return fileDescriptor_12d1cdcda51e000f, []int{0}
    36  }
    37  
    38  func (m *Genesis) XXX_Unmarshal(b []byte) error {
    39  	return xxx_messageInfo_Genesis.Unmarshal(m, b)
    40  }
    41  func (m *Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    42  	return xxx_messageInfo_Genesis.Marshal(b, m, deterministic)
    43  }
    44  func (m *Genesis) XXX_Merge(src proto.Message) {
    45  	xxx_messageInfo_Genesis.Merge(m, src)
    46  }
    47  func (m *Genesis) XXX_Size() int {
    48  	return xxx_messageInfo_Genesis.Size(m)
    49  }
    50  func (m *Genesis) XXX_DiscardUnknown() {
    51  	xxx_messageInfo_Genesis.DiscardUnknown(m)
    52  }
    53  
    54  var xxx_messageInfo_Genesis proto.InternalMessageInfo
    55  
    56  func (m *Genesis) GetIsrun() bool {
    57  	if m != nil {
    58  		return m.Isrun
    59  	}
    60  	return false
    61  }
    62  
    63  type ExecTxList struct {
    64  	StateHash            []byte         `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
    65  	ParentHash           []byte         `protobuf:"bytes,7,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
    66  	MainHash             []byte         `protobuf:"bytes,8,opt,name=mainHash,proto3" json:"mainHash,omitempty"`
    67  	MainHeight           int64          `protobuf:"varint,9,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"`
    68  	BlockTime            int64          `protobuf:"varint,3,opt,name=blockTime,proto3" json:"blockTime,omitempty"`
    69  	Height               int64          `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
    70  	Difficulty           uint64         `protobuf:"varint,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
    71  	IsMempool            bool           `protobuf:"varint,6,opt,name=isMempool,proto3" json:"isMempool,omitempty"`
    72  	Txs                  []*Transaction `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
    73  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    74  	XXX_unrecognized     []byte         `json:"-"`
    75  	XXX_sizecache        int32          `json:"-"`
    76  }
    77  
    78  func (m *ExecTxList) Reset()         { *m = ExecTxList{} }
    79  func (m *ExecTxList) String() string { return proto.CompactTextString(m) }
    80  func (*ExecTxList) ProtoMessage()    {}
    81  func (*ExecTxList) Descriptor() ([]byte, []int) {
    82  	return fileDescriptor_12d1cdcda51e000f, []int{1}
    83  }
    84  
    85  func (m *ExecTxList) XXX_Unmarshal(b []byte) error {
    86  	return xxx_messageInfo_ExecTxList.Unmarshal(m, b)
    87  }
    88  func (m *ExecTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    89  	return xxx_messageInfo_ExecTxList.Marshal(b, m, deterministic)
    90  }
    91  func (m *ExecTxList) XXX_Merge(src proto.Message) {
    92  	xxx_messageInfo_ExecTxList.Merge(m, src)
    93  }
    94  func (m *ExecTxList) XXX_Size() int {
    95  	return xxx_messageInfo_ExecTxList.Size(m)
    96  }
    97  func (m *ExecTxList) XXX_DiscardUnknown() {
    98  	xxx_messageInfo_ExecTxList.DiscardUnknown(m)
    99  }
   100  
   101  var xxx_messageInfo_ExecTxList proto.InternalMessageInfo
   102  
   103  func (m *ExecTxList) GetStateHash() []byte {
   104  	if m != nil {
   105  		return m.StateHash
   106  	}
   107  	return nil
   108  }
   109  
   110  func (m *ExecTxList) GetParentHash() []byte {
   111  	if m != nil {
   112  		return m.ParentHash
   113  	}
   114  	return nil
   115  }
   116  
   117  func (m *ExecTxList) GetMainHash() []byte {
   118  	if m != nil {
   119  		return m.MainHash
   120  	}
   121  	return nil
   122  }
   123  
   124  func (m *ExecTxList) GetMainHeight() int64 {
   125  	if m != nil {
   126  		return m.MainHeight
   127  	}
   128  	return 0
   129  }
   130  
   131  func (m *ExecTxList) GetBlockTime() int64 {
   132  	if m != nil {
   133  		return m.BlockTime
   134  	}
   135  	return 0
   136  }
   137  
   138  func (m *ExecTxList) GetHeight() int64 {
   139  	if m != nil {
   140  		return m.Height
   141  	}
   142  	return 0
   143  }
   144  
   145  func (m *ExecTxList) GetDifficulty() uint64 {
   146  	if m != nil {
   147  		return m.Difficulty
   148  	}
   149  	return 0
   150  }
   151  
   152  func (m *ExecTxList) GetIsMempool() bool {
   153  	if m != nil {
   154  		return m.IsMempool
   155  	}
   156  	return false
   157  }
   158  
   159  func (m *ExecTxList) GetTxs() []*Transaction {
   160  	if m != nil {
   161  		return m.Txs
   162  	}
   163  	return nil
   164  }
   165  
   166  type Query struct {
   167  	Execer               []byte   `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"`
   168  	FuncName             string   `protobuf:"bytes,2,opt,name=funcName,proto3" json:"funcName,omitempty"`
   169  	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
   170  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   171  	XXX_unrecognized     []byte   `json:"-"`
   172  	XXX_sizecache        int32    `json:"-"`
   173  }
   174  
   175  func (m *Query) Reset()         { *m = Query{} }
   176  func (m *Query) String() string { return proto.CompactTextString(m) }
   177  func (*Query) ProtoMessage()    {}
   178  func (*Query) Descriptor() ([]byte, []int) {
   179  	return fileDescriptor_12d1cdcda51e000f, []int{2}
   180  }
   181  
   182  func (m *Query) XXX_Unmarshal(b []byte) error {
   183  	return xxx_messageInfo_Query.Unmarshal(m, b)
   184  }
   185  func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   186  	return xxx_messageInfo_Query.Marshal(b, m, deterministic)
   187  }
   188  func (m *Query) XXX_Merge(src proto.Message) {
   189  	xxx_messageInfo_Query.Merge(m, src)
   190  }
   191  func (m *Query) XXX_Size() int {
   192  	return xxx_messageInfo_Query.Size(m)
   193  }
   194  func (m *Query) XXX_DiscardUnknown() {
   195  	xxx_messageInfo_Query.DiscardUnknown(m)
   196  }
   197  
   198  var xxx_messageInfo_Query proto.InternalMessageInfo
   199  
   200  func (m *Query) GetExecer() []byte {
   201  	if m != nil {
   202  		return m.Execer
   203  	}
   204  	return nil
   205  }
   206  
   207  func (m *Query) GetFuncName() string {
   208  	if m != nil {
   209  		return m.FuncName
   210  	}
   211  	return ""
   212  }
   213  
   214  func (m *Query) GetPayload() []byte {
   215  	if m != nil {
   216  		return m.Payload
   217  	}
   218  	return nil
   219  }
   220  
   221  type CreateTxIn struct {
   222  	Execer               []byte   `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"`
   223  	ActionName           string   `protobuf:"bytes,2,opt,name=actionName,proto3" json:"actionName,omitempty"`
   224  	Payload              []byte   `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
   225  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   226  	XXX_unrecognized     []byte   `json:"-"`
   227  	XXX_sizecache        int32    `json:"-"`
   228  }
   229  
   230  func (m *CreateTxIn) Reset()         { *m = CreateTxIn{} }
   231  func (m *CreateTxIn) String() string { return proto.CompactTextString(m) }
   232  func (*CreateTxIn) ProtoMessage()    {}
   233  func (*CreateTxIn) Descriptor() ([]byte, []int) {
   234  	return fileDescriptor_12d1cdcda51e000f, []int{3}
   235  }
   236  
   237  func (m *CreateTxIn) XXX_Unmarshal(b []byte) error {
   238  	return xxx_messageInfo_CreateTxIn.Unmarshal(m, b)
   239  }
   240  func (m *CreateTxIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   241  	return xxx_messageInfo_CreateTxIn.Marshal(b, m, deterministic)
   242  }
   243  func (m *CreateTxIn) XXX_Merge(src proto.Message) {
   244  	xxx_messageInfo_CreateTxIn.Merge(m, src)
   245  }
   246  func (m *CreateTxIn) XXX_Size() int {
   247  	return xxx_messageInfo_CreateTxIn.Size(m)
   248  }
   249  func (m *CreateTxIn) XXX_DiscardUnknown() {
   250  	xxx_messageInfo_CreateTxIn.DiscardUnknown(m)
   251  }
   252  
   253  var xxx_messageInfo_CreateTxIn proto.InternalMessageInfo
   254  
   255  func (m *CreateTxIn) GetExecer() []byte {
   256  	if m != nil {
   257  		return m.Execer
   258  	}
   259  	return nil
   260  }
   261  
   262  func (m *CreateTxIn) GetActionName() string {
   263  	if m != nil {
   264  		return m.ActionName
   265  	}
   266  	return ""
   267  }
   268  
   269  func (m *CreateTxIn) GetPayload() []byte {
   270  	if m != nil {
   271  		return m.Payload
   272  	}
   273  	return nil
   274  }
   275  
   276  // 配置修改部分
   277  type ArrayConfig struct {
   278  	Value                []string `protobuf:"bytes,3,rep,name=value,proto3" json:"value,omitempty"`
   279  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   280  	XXX_unrecognized     []byte   `json:"-"`
   281  	XXX_sizecache        int32    `json:"-"`
   282  }
   283  
   284  func (m *ArrayConfig) Reset()         { *m = ArrayConfig{} }
   285  func (m *ArrayConfig) String() string { return proto.CompactTextString(m) }
   286  func (*ArrayConfig) ProtoMessage()    {}
   287  func (*ArrayConfig) Descriptor() ([]byte, []int) {
   288  	return fileDescriptor_12d1cdcda51e000f, []int{4}
   289  }
   290  
   291  func (m *ArrayConfig) XXX_Unmarshal(b []byte) error {
   292  	return xxx_messageInfo_ArrayConfig.Unmarshal(m, b)
   293  }
   294  func (m *ArrayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   295  	return xxx_messageInfo_ArrayConfig.Marshal(b, m, deterministic)
   296  }
   297  func (m *ArrayConfig) XXX_Merge(src proto.Message) {
   298  	xxx_messageInfo_ArrayConfig.Merge(m, src)
   299  }
   300  func (m *ArrayConfig) XXX_Size() int {
   301  	return xxx_messageInfo_ArrayConfig.Size(m)
   302  }
   303  func (m *ArrayConfig) XXX_DiscardUnknown() {
   304  	xxx_messageInfo_ArrayConfig.DiscardUnknown(m)
   305  }
   306  
   307  var xxx_messageInfo_ArrayConfig proto.InternalMessageInfo
   308  
   309  func (m *ArrayConfig) GetValue() []string {
   310  	if m != nil {
   311  		return m.Value
   312  	}
   313  	return nil
   314  }
   315  
   316  type StringConfig struct {
   317  	Value                string   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
   318  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   319  	XXX_unrecognized     []byte   `json:"-"`
   320  	XXX_sizecache        int32    `json:"-"`
   321  }
   322  
   323  func (m *StringConfig) Reset()         { *m = StringConfig{} }
   324  func (m *StringConfig) String() string { return proto.CompactTextString(m) }
   325  func (*StringConfig) ProtoMessage()    {}
   326  func (*StringConfig) Descriptor() ([]byte, []int) {
   327  	return fileDescriptor_12d1cdcda51e000f, []int{5}
   328  }
   329  
   330  func (m *StringConfig) XXX_Unmarshal(b []byte) error {
   331  	return xxx_messageInfo_StringConfig.Unmarshal(m, b)
   332  }
   333  func (m *StringConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   334  	return xxx_messageInfo_StringConfig.Marshal(b, m, deterministic)
   335  }
   336  func (m *StringConfig) XXX_Merge(src proto.Message) {
   337  	xxx_messageInfo_StringConfig.Merge(m, src)
   338  }
   339  func (m *StringConfig) XXX_Size() int {
   340  	return xxx_messageInfo_StringConfig.Size(m)
   341  }
   342  func (m *StringConfig) XXX_DiscardUnknown() {
   343  	xxx_messageInfo_StringConfig.DiscardUnknown(m)
   344  }
   345  
   346  var xxx_messageInfo_StringConfig proto.InternalMessageInfo
   347  
   348  func (m *StringConfig) GetValue() string {
   349  	if m != nil {
   350  		return m.Value
   351  	}
   352  	return ""
   353  }
   354  
   355  type Int32Config struct {
   356  	Value                int32    `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
   357  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   358  	XXX_unrecognized     []byte   `json:"-"`
   359  	XXX_sizecache        int32    `json:"-"`
   360  }
   361  
   362  func (m *Int32Config) Reset()         { *m = Int32Config{} }
   363  func (m *Int32Config) String() string { return proto.CompactTextString(m) }
   364  func (*Int32Config) ProtoMessage()    {}
   365  func (*Int32Config) Descriptor() ([]byte, []int) {
   366  	return fileDescriptor_12d1cdcda51e000f, []int{6}
   367  }
   368  
   369  func (m *Int32Config) XXX_Unmarshal(b []byte) error {
   370  	return xxx_messageInfo_Int32Config.Unmarshal(m, b)
   371  }
   372  func (m *Int32Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   373  	return xxx_messageInfo_Int32Config.Marshal(b, m, deterministic)
   374  }
   375  func (m *Int32Config) XXX_Merge(src proto.Message) {
   376  	xxx_messageInfo_Int32Config.Merge(m, src)
   377  }
   378  func (m *Int32Config) XXX_Size() int {
   379  	return xxx_messageInfo_Int32Config.Size(m)
   380  }
   381  func (m *Int32Config) XXX_DiscardUnknown() {
   382  	xxx_messageInfo_Int32Config.DiscardUnknown(m)
   383  }
   384  
   385  var xxx_messageInfo_Int32Config proto.InternalMessageInfo
   386  
   387  func (m *Int32Config) GetValue() int32 {
   388  	if m != nil {
   389  		return m.Value
   390  	}
   391  	return 0
   392  }
   393  
   394  type ConfigItem struct {
   395  	Key  string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   396  	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
   397  	// Types that are valid to be assigned to Value:
   398  	//	*ConfigItem_Arr
   399  	//	*ConfigItem_Str
   400  	//	*ConfigItem_Int
   401  	Value                isConfigItem_Value `protobuf_oneof:"value"`
   402  	Ty                   int32              `protobuf:"varint,11,opt,name=Ty,proto3" json:"Ty,omitempty"`
   403  	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
   404  	XXX_unrecognized     []byte             `json:"-"`
   405  	XXX_sizecache        int32              `json:"-"`
   406  }
   407  
   408  func (m *ConfigItem) Reset()         { *m = ConfigItem{} }
   409  func (m *ConfigItem) String() string { return proto.CompactTextString(m) }
   410  func (*ConfigItem) ProtoMessage()    {}
   411  func (*ConfigItem) Descriptor() ([]byte, []int) {
   412  	return fileDescriptor_12d1cdcda51e000f, []int{7}
   413  }
   414  
   415  func (m *ConfigItem) XXX_Unmarshal(b []byte) error {
   416  	return xxx_messageInfo_ConfigItem.Unmarshal(m, b)
   417  }
   418  func (m *ConfigItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   419  	return xxx_messageInfo_ConfigItem.Marshal(b, m, deterministic)
   420  }
   421  func (m *ConfigItem) XXX_Merge(src proto.Message) {
   422  	xxx_messageInfo_ConfigItem.Merge(m, src)
   423  }
   424  func (m *ConfigItem) XXX_Size() int {
   425  	return xxx_messageInfo_ConfigItem.Size(m)
   426  }
   427  func (m *ConfigItem) XXX_DiscardUnknown() {
   428  	xxx_messageInfo_ConfigItem.DiscardUnknown(m)
   429  }
   430  
   431  var xxx_messageInfo_ConfigItem proto.InternalMessageInfo
   432  
   433  func (m *ConfigItem) GetKey() string {
   434  	if m != nil {
   435  		return m.Key
   436  	}
   437  	return ""
   438  }
   439  
   440  func (m *ConfigItem) GetAddr() string {
   441  	if m != nil {
   442  		return m.Addr
   443  	}
   444  	return ""
   445  }
   446  
   447  type isConfigItem_Value interface {
   448  	isConfigItem_Value()
   449  }
   450  
   451  type ConfigItem_Arr struct {
   452  	Arr *ArrayConfig `protobuf:"bytes,3,opt,name=arr,proto3,oneof"`
   453  }
   454  
   455  type ConfigItem_Str struct {
   456  	Str *StringConfig `protobuf:"bytes,4,opt,name=str,proto3,oneof"`
   457  }
   458  
   459  type ConfigItem_Int struct {
   460  	Int *Int32Config `protobuf:"bytes,5,opt,name=int,proto3,oneof"`
   461  }
   462  
   463  func (*ConfigItem_Arr) isConfigItem_Value() {}
   464  
   465  func (*ConfigItem_Str) isConfigItem_Value() {}
   466  
   467  func (*ConfigItem_Int) isConfigItem_Value() {}
   468  
   469  func (m *ConfigItem) GetValue() isConfigItem_Value {
   470  	if m != nil {
   471  		return m.Value
   472  	}
   473  	return nil
   474  }
   475  
   476  func (m *ConfigItem) GetArr() *ArrayConfig {
   477  	if x, ok := m.GetValue().(*ConfigItem_Arr); ok {
   478  		return x.Arr
   479  	}
   480  	return nil
   481  }
   482  
   483  func (m *ConfigItem) GetStr() *StringConfig {
   484  	if x, ok := m.GetValue().(*ConfigItem_Str); ok {
   485  		return x.Str
   486  	}
   487  	return nil
   488  }
   489  
   490  func (m *ConfigItem) GetInt() *Int32Config {
   491  	if x, ok := m.GetValue().(*ConfigItem_Int); ok {
   492  		return x.Int
   493  	}
   494  	return nil
   495  }
   496  
   497  func (m *ConfigItem) GetTy() int32 {
   498  	if m != nil {
   499  		return m.Ty
   500  	}
   501  	return 0
   502  }
   503  
   504  // XXX_OneofWrappers is for the internal use of the proto package.
   505  func (*ConfigItem) XXX_OneofWrappers() []interface{} {
   506  	return []interface{}{
   507  		(*ConfigItem_Arr)(nil),
   508  		(*ConfigItem_Str)(nil),
   509  		(*ConfigItem_Int)(nil),
   510  	}
   511  }
   512  
   513  type ModifyConfig struct {
   514  	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   515  	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   516  	Op                   string   `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"`
   517  	Addr                 string   `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
   518  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   519  	XXX_unrecognized     []byte   `json:"-"`
   520  	XXX_sizecache        int32    `json:"-"`
   521  }
   522  
   523  func (m *ModifyConfig) Reset()         { *m = ModifyConfig{} }
   524  func (m *ModifyConfig) String() string { return proto.CompactTextString(m) }
   525  func (*ModifyConfig) ProtoMessage()    {}
   526  func (*ModifyConfig) Descriptor() ([]byte, []int) {
   527  	return fileDescriptor_12d1cdcda51e000f, []int{8}
   528  }
   529  
   530  func (m *ModifyConfig) XXX_Unmarshal(b []byte) error {
   531  	return xxx_messageInfo_ModifyConfig.Unmarshal(m, b)
   532  }
   533  func (m *ModifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   534  	return xxx_messageInfo_ModifyConfig.Marshal(b, m, deterministic)
   535  }
   536  func (m *ModifyConfig) XXX_Merge(src proto.Message) {
   537  	xxx_messageInfo_ModifyConfig.Merge(m, src)
   538  }
   539  func (m *ModifyConfig) XXX_Size() int {
   540  	return xxx_messageInfo_ModifyConfig.Size(m)
   541  }
   542  func (m *ModifyConfig) XXX_DiscardUnknown() {
   543  	xxx_messageInfo_ModifyConfig.DiscardUnknown(m)
   544  }
   545  
   546  var xxx_messageInfo_ModifyConfig proto.InternalMessageInfo
   547  
   548  func (m *ModifyConfig) GetKey() string {
   549  	if m != nil {
   550  		return m.Key
   551  	}
   552  	return ""
   553  }
   554  
   555  func (m *ModifyConfig) GetValue() string {
   556  	if m != nil {
   557  		return m.Value
   558  	}
   559  	return ""
   560  }
   561  
   562  func (m *ModifyConfig) GetOp() string {
   563  	if m != nil {
   564  		return m.Op
   565  	}
   566  	return ""
   567  }
   568  
   569  func (m *ModifyConfig) GetAddr() string {
   570  	if m != nil {
   571  		return m.Addr
   572  	}
   573  	return ""
   574  }
   575  
   576  type ReceiptConfig struct {
   577  	Prev                 *ConfigItem `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"`
   578  	Current              *ConfigItem `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
   579  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   580  	XXX_unrecognized     []byte      `json:"-"`
   581  	XXX_sizecache        int32       `json:"-"`
   582  }
   583  
   584  func (m *ReceiptConfig) Reset()         { *m = ReceiptConfig{} }
   585  func (m *ReceiptConfig) String() string { return proto.CompactTextString(m) }
   586  func (*ReceiptConfig) ProtoMessage()    {}
   587  func (*ReceiptConfig) Descriptor() ([]byte, []int) {
   588  	return fileDescriptor_12d1cdcda51e000f, []int{9}
   589  }
   590  
   591  func (m *ReceiptConfig) XXX_Unmarshal(b []byte) error {
   592  	return xxx_messageInfo_ReceiptConfig.Unmarshal(m, b)
   593  }
   594  func (m *ReceiptConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   595  	return xxx_messageInfo_ReceiptConfig.Marshal(b, m, deterministic)
   596  }
   597  func (m *ReceiptConfig) XXX_Merge(src proto.Message) {
   598  	xxx_messageInfo_ReceiptConfig.Merge(m, src)
   599  }
   600  func (m *ReceiptConfig) XXX_Size() int {
   601  	return xxx_messageInfo_ReceiptConfig.Size(m)
   602  }
   603  func (m *ReceiptConfig) XXX_DiscardUnknown() {
   604  	xxx_messageInfo_ReceiptConfig.DiscardUnknown(m)
   605  }
   606  
   607  var xxx_messageInfo_ReceiptConfig proto.InternalMessageInfo
   608  
   609  func (m *ReceiptConfig) GetPrev() *ConfigItem {
   610  	if m != nil {
   611  		return m.Prev
   612  	}
   613  	return nil
   614  }
   615  
   616  func (m *ReceiptConfig) GetCurrent() *ConfigItem {
   617  	if m != nil {
   618  		return m.Current
   619  	}
   620  	return nil
   621  }
   622  
   623  type ReplyConfig struct {
   624  	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   625  	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
   626  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   627  	XXX_unrecognized     []byte   `json:"-"`
   628  	XXX_sizecache        int32    `json:"-"`
   629  }
   630  
   631  func (m *ReplyConfig) Reset()         { *m = ReplyConfig{} }
   632  func (m *ReplyConfig) String() string { return proto.CompactTextString(m) }
   633  func (*ReplyConfig) ProtoMessage()    {}
   634  func (*ReplyConfig) Descriptor() ([]byte, []int) {
   635  	return fileDescriptor_12d1cdcda51e000f, []int{10}
   636  }
   637  
   638  func (m *ReplyConfig) XXX_Unmarshal(b []byte) error {
   639  	return xxx_messageInfo_ReplyConfig.Unmarshal(m, b)
   640  }
   641  func (m *ReplyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   642  	return xxx_messageInfo_ReplyConfig.Marshal(b, m, deterministic)
   643  }
   644  func (m *ReplyConfig) XXX_Merge(src proto.Message) {
   645  	xxx_messageInfo_ReplyConfig.Merge(m, src)
   646  }
   647  func (m *ReplyConfig) XXX_Size() int {
   648  	return xxx_messageInfo_ReplyConfig.Size(m)
   649  }
   650  func (m *ReplyConfig) XXX_DiscardUnknown() {
   651  	xxx_messageInfo_ReplyConfig.DiscardUnknown(m)
   652  }
   653  
   654  var xxx_messageInfo_ReplyConfig proto.InternalMessageInfo
   655  
   656  func (m *ReplyConfig) GetKey() string {
   657  	if m != nil {
   658  		return m.Key
   659  	}
   660  	return ""
   661  }
   662  
   663  func (m *ReplyConfig) GetValue() string {
   664  	if m != nil {
   665  		return m.Value
   666  	}
   667  	return ""
   668  }
   669  
   670  type HistoryCertStore struct {
   671  	Rootcerts            [][]byte `protobuf:"bytes,1,rep,name=rootcerts,proto3" json:"rootcerts,omitempty"`
   672  	IntermediateCerts    [][]byte `protobuf:"bytes,2,rep,name=intermediateCerts,proto3" json:"intermediateCerts,omitempty"`
   673  	RevocationList       [][]byte `protobuf:"bytes,3,rep,name=revocationList,proto3" json:"revocationList,omitempty"`
   674  	CurHeigth            int64    `protobuf:"varint,4,opt,name=curHeigth,proto3" json:"curHeigth,omitempty"`
   675  	NxtHeight            int64    `protobuf:"varint,5,opt,name=nxtHeight,proto3" json:"nxtHeight,omitempty"`
   676  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   677  	XXX_unrecognized     []byte   `json:"-"`
   678  	XXX_sizecache        int32    `json:"-"`
   679  }
   680  
   681  func (m *HistoryCertStore) Reset()         { *m = HistoryCertStore{} }
   682  func (m *HistoryCertStore) String() string { return proto.CompactTextString(m) }
   683  func (*HistoryCertStore) ProtoMessage()    {}
   684  func (*HistoryCertStore) Descriptor() ([]byte, []int) {
   685  	return fileDescriptor_12d1cdcda51e000f, []int{11}
   686  }
   687  
   688  func (m *HistoryCertStore) XXX_Unmarshal(b []byte) error {
   689  	return xxx_messageInfo_HistoryCertStore.Unmarshal(m, b)
   690  }
   691  func (m *HistoryCertStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   692  	return xxx_messageInfo_HistoryCertStore.Marshal(b, m, deterministic)
   693  }
   694  func (m *HistoryCertStore) XXX_Merge(src proto.Message) {
   695  	xxx_messageInfo_HistoryCertStore.Merge(m, src)
   696  }
   697  func (m *HistoryCertStore) XXX_Size() int {
   698  	return xxx_messageInfo_HistoryCertStore.Size(m)
   699  }
   700  func (m *HistoryCertStore) XXX_DiscardUnknown() {
   701  	xxx_messageInfo_HistoryCertStore.DiscardUnknown(m)
   702  }
   703  
   704  var xxx_messageInfo_HistoryCertStore proto.InternalMessageInfo
   705  
   706  func (m *HistoryCertStore) GetRootcerts() [][]byte {
   707  	if m != nil {
   708  		return m.Rootcerts
   709  	}
   710  	return nil
   711  }
   712  
   713  func (m *HistoryCertStore) GetIntermediateCerts() [][]byte {
   714  	if m != nil {
   715  		return m.IntermediateCerts
   716  	}
   717  	return nil
   718  }
   719  
   720  func (m *HistoryCertStore) GetRevocationList() [][]byte {
   721  	if m != nil {
   722  		return m.RevocationList
   723  	}
   724  	return nil
   725  }
   726  
   727  func (m *HistoryCertStore) GetCurHeigth() int64 {
   728  	if m != nil {
   729  		return m.CurHeigth
   730  	}
   731  	return 0
   732  }
   733  
   734  func (m *HistoryCertStore) GetNxtHeight() int64 {
   735  	if m != nil {
   736  		return m.NxtHeight
   737  	}
   738  	return 0
   739  }
   740  
   741  type AuthorityCfg struct {
   742  	Enable               bool     `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
   743  	CryptoPath           string   `protobuf:"bytes,2,opt,name=cryptoPath,proto3" json:"cryptoPath,omitempty"`
   744  	SignType             string   `protobuf:"bytes,3,opt,name=signType,proto3" json:"signType,omitempty"`
   745  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   746  	XXX_unrecognized     []byte   `json:"-"`
   747  	XXX_sizecache        int32    `json:"-"`
   748  }
   749  
   750  func (m *AuthorityCfg) Reset()         { *m = AuthorityCfg{} }
   751  func (m *AuthorityCfg) String() string { return proto.CompactTextString(m) }
   752  func (*AuthorityCfg) ProtoMessage()    {}
   753  func (*AuthorityCfg) Descriptor() ([]byte, []int) {
   754  	return fileDescriptor_12d1cdcda51e000f, []int{12}
   755  }
   756  
   757  func (m *AuthorityCfg) XXX_Unmarshal(b []byte) error {
   758  	return xxx_messageInfo_AuthorityCfg.Unmarshal(m, b)
   759  }
   760  func (m *AuthorityCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   761  	return xxx_messageInfo_AuthorityCfg.Marshal(b, m, deterministic)
   762  }
   763  func (m *AuthorityCfg) XXX_Merge(src proto.Message) {
   764  	xxx_messageInfo_AuthorityCfg.Merge(m, src)
   765  }
   766  func (m *AuthorityCfg) XXX_Size() int {
   767  	return xxx_messageInfo_AuthorityCfg.Size(m)
   768  }
   769  func (m *AuthorityCfg) XXX_DiscardUnknown() {
   770  	xxx_messageInfo_AuthorityCfg.DiscardUnknown(m)
   771  }
   772  
   773  var xxx_messageInfo_AuthorityCfg proto.InternalMessageInfo
   774  
   775  func (m *AuthorityCfg) GetEnable() bool {
   776  	if m != nil {
   777  		return m.Enable
   778  	}
   779  	return false
   780  }
   781  
   782  func (m *AuthorityCfg) GetCryptoPath() string {
   783  	if m != nil {
   784  		return m.CryptoPath
   785  	}
   786  	return ""
   787  }
   788  
   789  func (m *AuthorityCfg) GetSignType() string {
   790  	if m != nil {
   791  		return m.SignType
   792  	}
   793  	return ""
   794  }
   795  
   796  func init() {
   797  	proto.RegisterType((*Genesis)(nil), "types.Genesis")
   798  	proto.RegisterType((*ExecTxList)(nil), "types.ExecTxList")
   799  	proto.RegisterType((*Query)(nil), "types.Query")
   800  	proto.RegisterType((*CreateTxIn)(nil), "types.CreateTxIn")
   801  	proto.RegisterType((*ArrayConfig)(nil), "types.ArrayConfig")
   802  	proto.RegisterType((*StringConfig)(nil), "types.StringConfig")
   803  	proto.RegisterType((*Int32Config)(nil), "types.Int32Config")
   804  	proto.RegisterType((*ConfigItem)(nil), "types.ConfigItem")
   805  	proto.RegisterType((*ModifyConfig)(nil), "types.ModifyConfig")
   806  	proto.RegisterType((*ReceiptConfig)(nil), "types.ReceiptConfig")
   807  	proto.RegisterType((*ReplyConfig)(nil), "types.ReplyConfig")
   808  	proto.RegisterType((*HistoryCertStore)(nil), "types.HistoryCertStore")
   809  	proto.RegisterType((*AuthorityCfg)(nil), "types.AuthorityCfg")
   810  }
   811  
   812  func init() {
   813  	proto.RegisterFile("executor.proto", fileDescriptor_12d1cdcda51e000f)
   814  }
   815  
   816  var fileDescriptor_12d1cdcda51e000f = []byte{
   817  	// 713 bytes of a gzipped FileDescriptorProto
   818  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xe1, 0x6a, 0xdb, 0x48,
   819  	0x10, 0x3e, 0x49, 0x76, 0x1c, 0x8f, 0x7d, 0x21, 0xd9, 0x3b, 0x0e, 0x11, 0xee, 0x12, 0xa3, 0xe4,
   820  	0x72, 0x86, 0x3b, 0x1c, 0xb0, 0xb9, 0x07, 0x48, 0x4c, 0x69, 0x02, 0x4d, 0x69, 0x15, 0xf7, 0x4f,
   821  	0x7e, 0x14, 0xd6, 0xeb, 0xb1, 0xb5, 0xc4, 0xde, 0x15, 0xab, 0x51, 0xb0, 0xde, 0xa6, 0xcf, 0x52,
   822  	0xfa, 0x60, 0x65, 0xd7, 0xb2, 0x25, 0x9a, 0xb4, 0xd0, 0x7f, 0x9a, 0xef, 0xfb, 0x34, 0x3b, 0xdf,
   823  	0xec, 0xce, 0xc0, 0x01, 0xae, 0x51, 0xe4, 0xa4, 0xcd, 0x20, 0x35, 0x9a, 0x34, 0x6b, 0x52, 0x91,
   824  	0x62, 0x76, 0x7c, 0x44, 0x86, 0xab, 0x8c, 0x0b, 0x92, 0x5a, 0x6d, 0x98, 0xe8, 0x14, 0x5a, 0xaf,
   825  	0x51, 0x61, 0x26, 0x33, 0xf6, 0x3b, 0x34, 0x65, 0x66, 0x72, 0x15, 0x7a, 0x3d, 0xaf, 0xbf, 0x1f,
   826  	0x6f, 0x82, 0xe8, 0x93, 0x0f, 0xf0, 0x6a, 0x8d, 0x62, 0xb2, 0x7e, 0x23, 0x33, 0x62, 0x7f, 0x42,
   827  	0x3b, 0x23, 0x4e, 0x78, 0xc3, 0xb3, 0xc4, 0x09, 0xbb, 0x71, 0x05, 0xb0, 0x13, 0x80, 0x94, 0x1b,
   828  	0x54, 0xe4, 0xe8, 0x96, 0xa3, 0x6b, 0x08, 0x3b, 0x86, 0xfd, 0x15, 0x97, 0xca, 0xb1, 0xfb, 0x8e,
   829  	0xdd, 0xc5, 0xf6, 0x5f, 0xf7, 0x8d, 0x72, 0x91, 0x50, 0xd8, 0xee, 0x79, 0xfd, 0x20, 0xae, 0x21,
   830  	0xf6, 0xe4, 0xe9, 0x52, 0x8b, 0xc7, 0x89, 0x5c, 0x61, 0x18, 0x38, 0xba, 0x02, 0xd8, 0x1f, 0xb0,
   831  	0x97, 0x6c, 0xfe, 0x6c, 0x38, 0xaa, 0x8c, 0x6c, 0xd6, 0x99, 0x9c, 0xcf, 0xa5, 0xc8, 0x97, 0x54,
   832  	0x84, 0xcd, 0x9e, 0xd7, 0x6f, 0xc4, 0x35, 0xc4, 0x66, 0x95, 0xd9, 0x1d, 0xae, 0x52, 0xad, 0x97,
   833  	0xe1, 0x9e, 0x33, 0x5e, 0x01, 0xec, 0x1c, 0x02, 0x5a, 0x67, 0xa1, 0xdf, 0x0b, 0xfa, 0x9d, 0x21,
   834  	0x1b, 0xb8, 0x2e, 0x0e, 0x26, 0x55, 0x13, 0x63, 0x4b, 0x47, 0x1f, 0xa0, 0xf9, 0x3e, 0x47, 0x53,
   835  	0xd8, 0x22, 0x6c, 0xe3, 0xd1, 0x94, 0x9d, 0x29, 0x23, 0x6b, 0x7b, 0x9e, 0x2b, 0xf1, 0x96, 0xaf,
   836  	0x30, 0xf4, 0x7b, 0x5e, 0xbf, 0x1d, 0xef, 0x62, 0x16, 0x42, 0x2b, 0xe5, 0xc5, 0x52, 0xf3, 0x99,
   837  	0x33, 0xd5, 0x8d, 0xb7, 0x61, 0xf4, 0x11, 0x60, 0x6c, 0x90, 0x13, 0x4e, 0xd6, 0xb7, 0xea, 0xbb,
   838  	0xb9, 0x4f, 0x00, 0x36, 0xb5, 0xd4, 0xb2, 0xd7, 0x90, 0x1f, 0xe4, 0x3f, 0x83, 0xce, 0x95, 0x31,
   839  	0xbc, 0x18, 0x6b, 0x35, 0x97, 0x0b, 0x7b, 0xfd, 0x4f, 0x7c, 0x99, 0xdb, 0xde, 0x06, 0xfd, 0x76,
   840  	0xbc, 0x09, 0xa2, 0x73, 0xe8, 0xde, 0x93, 0x91, 0x6a, 0xf1, 0x5c, 0xe5, 0x55, 0xaa, 0x33, 0xe8,
   841  	0xdc, 0x2a, 0x1a, 0x0d, 0x5f, 0x12, 0x35, 0xb7, 0xa2, 0x2f, 0x1e, 0xc0, 0x46, 0x70, 0x4b, 0xb8,
   842  	0x62, 0x87, 0x10, 0x3c, 0x62, 0xe1, 0xdc, 0xb4, 0x63, 0xfb, 0xc9, 0x18, 0x34, 0xf8, 0x6c, 0x66,
   843  	0x4a, 0x13, 0xee, 0x9b, 0x5d, 0x40, 0xc0, 0x8d, 0x71, 0x89, 0xaa, 0x1b, 0xa8, 0x95, 0x7d, 0xf3,
   844  	0x4b, 0x6c, 0x05, 0xec, 0x1f, 0x08, 0x32, 0x32, 0xee, 0xf2, 0x3b, 0xc3, 0xdf, 0x4a, 0x5d, 0xbd,
   845  	0x72, 0x2b, 0xcc, 0xc8, 0x25, 0x94, 0x8a, 0xdc, 0x4b, 0xa8, 0x12, 0xd6, 0x8a, 0xb7, 0x3a, 0xa9,
   846  	0x88, 0x1d, 0x80, 0x3f, 0x29, 0xc2, 0x8e, 0x33, 0xe0, 0x4f, 0x8a, 0xeb, 0x56, 0xe9, 0x29, 0x7a,
   847  	0x80, 0xee, 0x9d, 0x9e, 0xc9, 0xf9, 0xb6, 0x6f, 0xcf, 0x7d, 0xec, 0xec, 0xfb, 0xb5, 0x1e, 0xd9,
   848  	0x84, 0x3a, 0x2d, 0xdb, 0xe6, 0xeb, 0x74, 0xe7, 0xb6, 0x51, 0xb9, 0x8d, 0x04, 0xfc, 0x1a, 0xa3,
   849  	0x40, 0x99, 0x52, 0x99, 0xfc, 0x6f, 0x68, 0xa4, 0x06, 0x9f, 0x5c, 0xf6, 0xce, 0xf0, 0xa8, 0x2c,
   850  	0xb7, 0xea, 0x62, 0xec, 0x68, 0xf6, 0x2f, 0xb4, 0x44, 0x6e, 0xec, 0x98, 0xb9, 0x33, 0x5f, 0x54,
   851  	0x6e, 0x15, 0xd1, 0xff, 0xd0, 0x89, 0x31, 0x5d, 0xfe, 0x64, 0xfd, 0xd1, 0x67, 0x0f, 0x0e, 0x6f,
   852  	0x64, 0x46, 0xda, 0x14, 0x63, 0x34, 0x74, 0x4f, 0xda, 0xa0, 0x1d, 0x1f, 0xa3, 0x35, 0x09, 0x34,
   853  	0x94, 0x85, 0x5e, 0x2f, 0xb0, 0xeb, 0x60, 0x07, 0xb0, 0xff, 0xe0, 0x48, 0x2a, 0x42, 0xb3, 0xc2,
   854  	0x99, 0xe4, 0x84, 0x63, 0xa7, 0xf2, 0x9d, 0xea, 0x39, 0xc1, 0x2e, 0xe0, 0xc0, 0xe0, 0x93, 0x16,
   855  	0xdc, 0xbe, 0x5d, 0xbb, 0x6c, 0xdc, 0x4b, 0xec, 0xc6, 0xdf, 0xa0, 0xf6, 0x4c, 0x91, 0x1b, 0xbb,
   856  	0x15, 0x28, 0x29, 0xa7, 0xbd, 0x02, 0x2c, 0xab, 0xd6, 0x54, 0x6e, 0x91, 0xe6, 0x86, 0xdd, 0x01,
   857  	0xd1, 0x14, 0xba, 0x57, 0x39, 0x25, 0xda, 0x48, 0x2a, 0xc6, 0xf3, 0x85, 0x9b, 0x2a, 0xc5, 0xa7,
   858  	0x4b, 0x2c, 0x97, 0x5e, 0x19, 0xd9, 0xa9, 0x12, 0xa6, 0x48, 0x49, 0xbf, 0xe3, 0x94, 0x6c, 0xa7,
   859  	0xaa, 0x42, 0xec, 0x44, 0x67, 0x72, 0xa1, 0x26, 0x45, 0xba, 0x9d, 0x84, 0x5d, 0x7c, 0x7d, 0xfa,
   860  	0xf0, 0xd7, 0x42, 0x52, 0x92, 0x4f, 0x07, 0x42, 0xaf, 0x2e, 0x47, 0x23, 0xa1, 0x2e, 0x45, 0xc2,
   861  	0xa5, 0x1a, 0x8d, 0x2e, 0xdd, 0xa5, 0x4c, 0xf7, 0xdc, 0xea, 0x1d, 0x7d, 0x0d, 0x00, 0x00, 0xff,
   862  	0xff, 0xac, 0xc8, 0xee, 0x44, 0xa6, 0x05, 0x00, 0x00,
   863  }