github.com/igggame/nebulas-go@v2.1.0+incompatible/neblet/pb/config.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: config.proto
     3  
     4  /*
     5  Package nebletpb is a generated protocol buffer package.
     6  
     7  It is generated from these files:
     8  	config.proto
     9  
    10  It has these top-level messages:
    11  	Config
    12  	NetworkConfig
    13  	ChainConfig
    14  	RPCConfig
    15  	AppConfig
    16  	PprofConfig
    17  	MiscConfig
    18  	StatsConfig
    19  	InfluxdbConfig
    20  	NbreConfig
    21  */
    22  package nebletpb
    23  
    24  import proto "github.com/gogo/protobuf/proto"
    25  import fmt "fmt"
    26  import math "math"
    27  
    28  // Reference imports to suppress errors if they are not otherwise used.
    29  var _ = proto.Marshal
    30  var _ = fmt.Errorf
    31  var _ = math.Inf
    32  
    33  // This is a compile-time assertion to ensure that this generated file
    34  // is compatible with the proto package it is being compiled against.
    35  // A compilation error at this line likely means your copy of the
    36  // proto package needs to be updated.
    37  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    38  
    39  // Reporting modules.
    40  type StatsConfig_ReportingModule int32
    41  
    42  const (
    43  	StatsConfig_Influxdb StatsConfig_ReportingModule = 0
    44  )
    45  
    46  var StatsConfig_ReportingModule_name = map[int32]string{
    47  	0: "Influxdb",
    48  }
    49  var StatsConfig_ReportingModule_value = map[string]int32{
    50  	"Influxdb": 0,
    51  }
    52  
    53  func (x StatsConfig_ReportingModule) String() string {
    54  	return proto.EnumName(StatsConfig_ReportingModule_name, int32(x))
    55  }
    56  func (StatsConfig_ReportingModule) EnumDescriptor() ([]byte, []int) {
    57  	return fileDescriptorConfig, []int{7, 0}
    58  }
    59  
    60  // Neblet global configurations.
    61  type Config struct {
    62  	// Network config.
    63  	Network *NetworkConfig `protobuf:"bytes,1,opt,name=network" json:"network"`
    64  	// Chain config.
    65  	Chain *ChainConfig `protobuf:"bytes,2,opt,name=chain" json:"chain"`
    66  	// RPC config.
    67  	Rpc *RPCConfig `protobuf:"bytes,3,opt,name=rpc" json:"rpc"`
    68  	// Stats config.
    69  	Stats *StatsConfig `protobuf:"bytes,100,opt,name=stats" json:"stats"`
    70  	// Misc config.
    71  	Misc *MiscConfig `protobuf:"bytes,101,opt,name=misc" json:"misc"`
    72  	// App Config.
    73  	App *AppConfig `protobuf:"bytes,102,opt,name=app" json:"app"`
    74  	// Nbre Config.
    75  	Nbre *NbreConfig `protobuf:"bytes,200,opt,name=nbre" json:"nbre"`
    76  }
    77  
    78  func (m *Config) Reset()                    { *m = Config{} }
    79  func (m *Config) String() string            { return proto.CompactTextString(m) }
    80  func (*Config) ProtoMessage()               {}
    81  func (*Config) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{0} }
    82  
    83  func (m *Config) GetNetwork() *NetworkConfig {
    84  	if m != nil {
    85  		return m.Network
    86  	}
    87  	return nil
    88  }
    89  
    90  func (m *Config) GetChain() *ChainConfig {
    91  	if m != nil {
    92  		return m.Chain
    93  	}
    94  	return nil
    95  }
    96  
    97  func (m *Config) GetRpc() *RPCConfig {
    98  	if m != nil {
    99  		return m.Rpc
   100  	}
   101  	return nil
   102  }
   103  
   104  func (m *Config) GetStats() *StatsConfig {
   105  	if m != nil {
   106  		return m.Stats
   107  	}
   108  	return nil
   109  }
   110  
   111  func (m *Config) GetMisc() *MiscConfig {
   112  	if m != nil {
   113  		return m.Misc
   114  	}
   115  	return nil
   116  }
   117  
   118  func (m *Config) GetApp() *AppConfig {
   119  	if m != nil {
   120  		return m.App
   121  	}
   122  	return nil
   123  }
   124  
   125  func (m *Config) GetNbre() *NbreConfig {
   126  	if m != nil {
   127  		return m.Nbre
   128  	}
   129  	return nil
   130  }
   131  
   132  type NetworkConfig struct {
   133  	// Neb seed node address.
   134  	Seed []string `protobuf:"bytes,1,rep,name=seed" json:"seed"`
   135  	// Listen addresses.
   136  	Listen []string `protobuf:"bytes,2,rep,name=listen" json:"listen"`
   137  	// Network node privateKey address. If nil, generate a new node.
   138  	PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key"`
   139  	// Network ID
   140  	NetworkId            uint32 `protobuf:"varint,4,opt,name=network_id,json=networkId,proto3" json:"network_id"`
   141  	StreamLimits         int32  `protobuf:"varint,5,opt,name=stream_limits,json=streamLimits,proto3" json:"stream_limits"`
   142  	ReservedStreamLimits int32  `protobuf:"varint,6,opt,name=reserved_stream_limits,json=reservedStreamLimits,proto3" json:"reserved_stream_limits"`
   143  }
   144  
   145  func (m *NetworkConfig) Reset()                    { *m = NetworkConfig{} }
   146  func (m *NetworkConfig) String() string            { return proto.CompactTextString(m) }
   147  func (*NetworkConfig) ProtoMessage()               {}
   148  func (*NetworkConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{1} }
   149  
   150  func (m *NetworkConfig) GetSeed() []string {
   151  	if m != nil {
   152  		return m.Seed
   153  	}
   154  	return nil
   155  }
   156  
   157  func (m *NetworkConfig) GetListen() []string {
   158  	if m != nil {
   159  		return m.Listen
   160  	}
   161  	return nil
   162  }
   163  
   164  func (m *NetworkConfig) GetPrivateKey() string {
   165  	if m != nil {
   166  		return m.PrivateKey
   167  	}
   168  	return ""
   169  }
   170  
   171  func (m *NetworkConfig) GetNetworkId() uint32 {
   172  	if m != nil {
   173  		return m.NetworkId
   174  	}
   175  	return 0
   176  }
   177  
   178  func (m *NetworkConfig) GetStreamLimits() int32 {
   179  	if m != nil {
   180  		return m.StreamLimits
   181  	}
   182  	return 0
   183  }
   184  
   185  func (m *NetworkConfig) GetReservedStreamLimits() int32 {
   186  	if m != nil {
   187  		return m.ReservedStreamLimits
   188  	}
   189  	return 0
   190  }
   191  
   192  type ChainConfig struct {
   193  	// ChainID.
   194  	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id"`
   195  	// genesis conf file path
   196  	Genesis string `protobuf:"bytes,2,opt,name=genesis,proto3" json:"genesis"`
   197  	// Data dir.
   198  	Datadir string `protobuf:"bytes,11,opt,name=datadir,proto3" json:"datadir"`
   199  	// Key dir.
   200  	Keydir string `protobuf:"bytes,12,opt,name=keydir,proto3" json:"keydir"`
   201  	// Start mine at launch
   202  	StartMine bool `protobuf:"varint,20,opt,name=start_mine,json=startMine,proto3" json:"start_mine"`
   203  	// Coinbase.
   204  	Coinbase string `protobuf:"bytes,21,opt,name=coinbase,proto3" json:"coinbase"`
   205  	// Miner.
   206  	Miner string `protobuf:"bytes,22,opt,name=miner,proto3" json:"miner"`
   207  	// Passphrase.
   208  	Passphrase string `protobuf:"bytes,23,opt,name=passphrase,proto3" json:"passphrase"`
   209  	// Enable remote sign server
   210  	EnableRemoteSignServer bool `protobuf:"varint,24,opt,name=enable_remote_sign_server,json=enableRemoteSignServer,proto3" json:"enable_remote_sign_server"`
   211  	// Remote sign server
   212  	RemoteSignServer string `protobuf:"bytes,25,opt,name=remote_sign_server,json=remoteSignServer,proto3" json:"remote_sign_server"`
   213  	// Lowest GasPrice.
   214  	GasPrice string `protobuf:"bytes,26,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price"`
   215  	// Max GasLimit.
   216  	GasLimit string `protobuf:"bytes,27,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit"`
   217  	// Supported signature cipher list. ["ECC_SECP256K1"]
   218  	SignatureCiphers   []string `protobuf:"bytes,28,rep,name=signature_ciphers,json=signatureCiphers" json:"signature_ciphers"`
   219  	SuperNode          bool     `protobuf:"varint,30,opt,name=super_node,json=superNode,proto3" json:"super_node"`
   220  	UnsupportedKeyword string   `protobuf:"bytes,31,opt,name=unsupported_keyword,json=unsupportedKeyword,proto3" json:"unsupported_keyword"`
   221  	Dynasty            string   `protobuf:"bytes,32,opt,name=dynasty,proto3" json:"dynasty"`
   222  	// access control config path
   223  	Access string `protobuf:"bytes,33,opt,name=access,proto3" json:"access"`
   224  }
   225  
   226  func (m *ChainConfig) Reset()                    { *m = ChainConfig{} }
   227  func (m *ChainConfig) String() string            { return proto.CompactTextString(m) }
   228  func (*ChainConfig) ProtoMessage()               {}
   229  func (*ChainConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{2} }
   230  
   231  func (m *ChainConfig) GetChainId() uint32 {
   232  	if m != nil {
   233  		return m.ChainId
   234  	}
   235  	return 0
   236  }
   237  
   238  func (m *ChainConfig) GetGenesis() string {
   239  	if m != nil {
   240  		return m.Genesis
   241  	}
   242  	return ""
   243  }
   244  
   245  func (m *ChainConfig) GetDatadir() string {
   246  	if m != nil {
   247  		return m.Datadir
   248  	}
   249  	return ""
   250  }
   251  
   252  func (m *ChainConfig) GetKeydir() string {
   253  	if m != nil {
   254  		return m.Keydir
   255  	}
   256  	return ""
   257  }
   258  
   259  func (m *ChainConfig) GetStartMine() bool {
   260  	if m != nil {
   261  		return m.StartMine
   262  	}
   263  	return false
   264  }
   265  
   266  func (m *ChainConfig) GetCoinbase() string {
   267  	if m != nil {
   268  		return m.Coinbase
   269  	}
   270  	return ""
   271  }
   272  
   273  func (m *ChainConfig) GetMiner() string {
   274  	if m != nil {
   275  		return m.Miner
   276  	}
   277  	return ""
   278  }
   279  
   280  func (m *ChainConfig) GetPassphrase() string {
   281  	if m != nil {
   282  		return m.Passphrase
   283  	}
   284  	return ""
   285  }
   286  
   287  func (m *ChainConfig) GetEnableRemoteSignServer() bool {
   288  	if m != nil {
   289  		return m.EnableRemoteSignServer
   290  	}
   291  	return false
   292  }
   293  
   294  func (m *ChainConfig) GetRemoteSignServer() string {
   295  	if m != nil {
   296  		return m.RemoteSignServer
   297  	}
   298  	return ""
   299  }
   300  
   301  func (m *ChainConfig) GetGasPrice() string {
   302  	if m != nil {
   303  		return m.GasPrice
   304  	}
   305  	return ""
   306  }
   307  
   308  func (m *ChainConfig) GetGasLimit() string {
   309  	if m != nil {
   310  		return m.GasLimit
   311  	}
   312  	return ""
   313  }
   314  
   315  func (m *ChainConfig) GetSignatureCiphers() []string {
   316  	if m != nil {
   317  		return m.SignatureCiphers
   318  	}
   319  	return nil
   320  }
   321  
   322  func (m *ChainConfig) GetSuperNode() bool {
   323  	if m != nil {
   324  		return m.SuperNode
   325  	}
   326  	return false
   327  }
   328  
   329  func (m *ChainConfig) GetUnsupportedKeyword() string {
   330  	if m != nil {
   331  		return m.UnsupportedKeyword
   332  	}
   333  	return ""
   334  }
   335  
   336  func (m *ChainConfig) GetDynasty() string {
   337  	if m != nil {
   338  		return m.Dynasty
   339  	}
   340  	return ""
   341  }
   342  
   343  func (m *ChainConfig) GetAccess() string {
   344  	if m != nil {
   345  		return m.Access
   346  	}
   347  	return ""
   348  }
   349  
   350  type RPCConfig struct {
   351  	// RPC listen addresses.
   352  	RpcListen []string `protobuf:"bytes,1,rep,name=rpc_listen,json=rpcListen" json:"rpc_listen"`
   353  	// HTTP listen addresses.
   354  	HttpListen []string `protobuf:"bytes,2,rep,name=http_listen,json=httpListen" json:"http_listen"`
   355  	// Enabled HTTP modules.["api", "admin"]
   356  	HttpModule       []string `protobuf:"bytes,3,rep,name=http_module,json=httpModule" json:"http_module"`
   357  	ConnectionLimits int32    `protobuf:"varint,4,opt,name=connection_limits,json=connectionLimits,proto3" json:"connection_limits"`
   358  	HttpLimits       int32    `protobuf:"varint,5,opt,name=http_limits,json=httpLimits,proto3" json:"http_limits"`
   359  	// HTTP CORS allowed origins
   360  	HttpCors []string `protobuf:"bytes,6,rep,name=http_cors,json=httpCors" json:"http_cors"`
   361  }
   362  
   363  func (m *RPCConfig) Reset()                    { *m = RPCConfig{} }
   364  func (m *RPCConfig) String() string            { return proto.CompactTextString(m) }
   365  func (*RPCConfig) ProtoMessage()               {}
   366  func (*RPCConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{3} }
   367  
   368  func (m *RPCConfig) GetRpcListen() []string {
   369  	if m != nil {
   370  		return m.RpcListen
   371  	}
   372  	return nil
   373  }
   374  
   375  func (m *RPCConfig) GetHttpListen() []string {
   376  	if m != nil {
   377  		return m.HttpListen
   378  	}
   379  	return nil
   380  }
   381  
   382  func (m *RPCConfig) GetHttpModule() []string {
   383  	if m != nil {
   384  		return m.HttpModule
   385  	}
   386  	return nil
   387  }
   388  
   389  func (m *RPCConfig) GetConnectionLimits() int32 {
   390  	if m != nil {
   391  		return m.ConnectionLimits
   392  	}
   393  	return 0
   394  }
   395  
   396  func (m *RPCConfig) GetHttpLimits() int32 {
   397  	if m != nil {
   398  		return m.HttpLimits
   399  	}
   400  	return 0
   401  }
   402  
   403  func (m *RPCConfig) GetHttpCors() []string {
   404  	if m != nil {
   405  		return m.HttpCors
   406  	}
   407  	return nil
   408  }
   409  
   410  type AppConfig struct {
   411  	LogLevel string `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level"`
   412  	LogFile  string `protobuf:"bytes,2,opt,name=log_file,json=logFile,proto3" json:"log_file"`
   413  	// log file age, unit is s.
   414  	LogAge            uint32 `protobuf:"varint,3,opt,name=log_age,json=logAge,proto3" json:"log_age"`
   415  	EnableCrashReport bool   `protobuf:"varint,4,opt,name=enable_crash_report,json=enableCrashReport,proto3" json:"enable_crash_report"`
   416  	CrashReportUrl    string `protobuf:"bytes,5,opt,name=crash_report_url,json=crashReportUrl,proto3" json:"crash_report_url"`
   417  	// pprof config
   418  	Pprof   *PprofConfig `protobuf:"bytes,6,opt,name=pprof" json:"pprof"`
   419  	Version string       `protobuf:"bytes,100,opt,name=version,proto3" json:"version"`
   420  }
   421  
   422  func (m *AppConfig) Reset()                    { *m = AppConfig{} }
   423  func (m *AppConfig) String() string            { return proto.CompactTextString(m) }
   424  func (*AppConfig) ProtoMessage()               {}
   425  func (*AppConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{4} }
   426  
   427  func (m *AppConfig) GetLogLevel() string {
   428  	if m != nil {
   429  		return m.LogLevel
   430  	}
   431  	return ""
   432  }
   433  
   434  func (m *AppConfig) GetLogFile() string {
   435  	if m != nil {
   436  		return m.LogFile
   437  	}
   438  	return ""
   439  }
   440  
   441  func (m *AppConfig) GetLogAge() uint32 {
   442  	if m != nil {
   443  		return m.LogAge
   444  	}
   445  	return 0
   446  }
   447  
   448  func (m *AppConfig) GetEnableCrashReport() bool {
   449  	if m != nil {
   450  		return m.EnableCrashReport
   451  	}
   452  	return false
   453  }
   454  
   455  func (m *AppConfig) GetCrashReportUrl() string {
   456  	if m != nil {
   457  		return m.CrashReportUrl
   458  	}
   459  	return ""
   460  }
   461  
   462  func (m *AppConfig) GetPprof() *PprofConfig {
   463  	if m != nil {
   464  		return m.Pprof
   465  	}
   466  	return nil
   467  }
   468  
   469  func (m *AppConfig) GetVersion() string {
   470  	if m != nil {
   471  		return m.Version
   472  	}
   473  	return ""
   474  }
   475  
   476  type PprofConfig struct {
   477  	// pprof listen address, if not configured, the function closes.
   478  	HttpListen string `protobuf:"bytes,1,opt,name=http_listen,json=httpListen,proto3" json:"http_listen"`
   479  	// cpu profiling file, if not configured, the profiling not start
   480  	Cpuprofile string `protobuf:"bytes,2,opt,name=cpuprofile,proto3" json:"cpuprofile"`
   481  	// memory profiling file, if not configured, the profiling not start
   482  	Memprofile string `protobuf:"bytes,3,opt,name=memprofile,proto3" json:"memprofile"`
   483  }
   484  
   485  func (m *PprofConfig) Reset()                    { *m = PprofConfig{} }
   486  func (m *PprofConfig) String() string            { return proto.CompactTextString(m) }
   487  func (*PprofConfig) ProtoMessage()               {}
   488  func (*PprofConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{5} }
   489  
   490  func (m *PprofConfig) GetHttpListen() string {
   491  	if m != nil {
   492  		return m.HttpListen
   493  	}
   494  	return ""
   495  }
   496  
   497  func (m *PprofConfig) GetCpuprofile() string {
   498  	if m != nil {
   499  		return m.Cpuprofile
   500  	}
   501  	return ""
   502  }
   503  
   504  func (m *PprofConfig) GetMemprofile() string {
   505  	if m != nil {
   506  		return m.Memprofile
   507  	}
   508  	return ""
   509  }
   510  
   511  type MiscConfig struct {
   512  	// Default encryption ciper when create new keystore file.
   513  	DefaultKeystoreFileCiper string `protobuf:"bytes,1,opt,name=default_keystore_file_ciper,json=defaultKeystoreFileCiper,proto3" json:"default_keystore_file_ciper"`
   514  }
   515  
   516  func (m *MiscConfig) Reset()                    { *m = MiscConfig{} }
   517  func (m *MiscConfig) String() string            { return proto.CompactTextString(m) }
   518  func (*MiscConfig) ProtoMessage()               {}
   519  func (*MiscConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{6} }
   520  
   521  func (m *MiscConfig) GetDefaultKeystoreFileCiper() string {
   522  	if m != nil {
   523  		return m.DefaultKeystoreFileCiper
   524  	}
   525  	return ""
   526  }
   527  
   528  type StatsConfig struct {
   529  	// Enable metrics or not.
   530  	EnableMetrics   bool                          `protobuf:"varint,1,opt,name=enable_metrics,json=enableMetrics,proto3" json:"enable_metrics"`
   531  	ReportingModule []StatsConfig_ReportingModule `protobuf:"varint,2,rep,packed,name=reporting_module,json=reportingModule,enum=nebletpb.StatsConfig_ReportingModule" json:"reporting_module"`
   532  	// Influxdb config.
   533  	Influxdb    *InfluxdbConfig `protobuf:"bytes,11,opt,name=influxdb" json:"influxdb"`
   534  	MetricsTags []string        `protobuf:"bytes,12,rep,name=metrics_tags,json=metricsTags" json:"metrics_tags"`
   535  }
   536  
   537  func (m *StatsConfig) Reset()                    { *m = StatsConfig{} }
   538  func (m *StatsConfig) String() string            { return proto.CompactTextString(m) }
   539  func (*StatsConfig) ProtoMessage()               {}
   540  func (*StatsConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{7} }
   541  
   542  func (m *StatsConfig) GetEnableMetrics() bool {
   543  	if m != nil {
   544  		return m.EnableMetrics
   545  	}
   546  	return false
   547  }
   548  
   549  func (m *StatsConfig) GetReportingModule() []StatsConfig_ReportingModule {
   550  	if m != nil {
   551  		return m.ReportingModule
   552  	}
   553  	return nil
   554  }
   555  
   556  func (m *StatsConfig) GetInfluxdb() *InfluxdbConfig {
   557  	if m != nil {
   558  		return m.Influxdb
   559  	}
   560  	return nil
   561  }
   562  
   563  func (m *StatsConfig) GetMetricsTags() []string {
   564  	if m != nil {
   565  		return m.MetricsTags
   566  	}
   567  	return nil
   568  }
   569  
   570  type InfluxdbConfig struct {
   571  	// Host.
   572  	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host"`
   573  	// Port.
   574  	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port"`
   575  	// Database name.
   576  	Db string `protobuf:"bytes,3,opt,name=db,proto3" json:"db"`
   577  	// Auth user.
   578  	User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user"`
   579  	// Auth password.
   580  	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password"`
   581  }
   582  
   583  func (m *InfluxdbConfig) Reset()                    { *m = InfluxdbConfig{} }
   584  func (m *InfluxdbConfig) String() string            { return proto.CompactTextString(m) }
   585  func (*InfluxdbConfig) ProtoMessage()               {}
   586  func (*InfluxdbConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{8} }
   587  
   588  func (m *InfluxdbConfig) GetHost() string {
   589  	if m != nil {
   590  		return m.Host
   591  	}
   592  	return ""
   593  }
   594  
   595  func (m *InfluxdbConfig) GetPort() uint32 {
   596  	if m != nil {
   597  		return m.Port
   598  	}
   599  	return 0
   600  }
   601  
   602  func (m *InfluxdbConfig) GetDb() string {
   603  	if m != nil {
   604  		return m.Db
   605  	}
   606  	return ""
   607  }
   608  
   609  func (m *InfluxdbConfig) GetUser() string {
   610  	if m != nil {
   611  		return m.User
   612  	}
   613  	return ""
   614  }
   615  
   616  func (m *InfluxdbConfig) GetPassword() string {
   617  	if m != nil {
   618  		return m.Password
   619  	}
   620  	return ""
   621  }
   622  
   623  type NbreConfig struct {
   624  	// Nbre root dir
   625  	RootDir string `protobuf:"bytes,1,opt,name=root_dir,json=rootDir,proto3" json:"root_dir"`
   626  	// Nbre log path
   627  	LogDir string `protobuf:"bytes,2,opt,name=log_dir,json=logDir,proto3" json:"log_dir"`
   628  	// Nbre data path
   629  	DataDir string `protobuf:"bytes,3,opt,name=data_dir,json=dataDir,proto3" json:"data_dir"`
   630  	// Nbre runtime path
   631  	NbrePath string `protobuf:"bytes,4,opt,name=nbre_path,json=nbrePath,proto3" json:"nbre_path"`
   632  	// Nbre admin address
   633  	AdminAddress string `protobuf:"bytes,5,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address"`
   634  	// Nbre start height
   635  	StartHeight uint64 `protobuf:"varint,6,opt,name=start_height,json=startHeight,proto3" json:"start_height"`
   636  	// Nbre net ipc listen.
   637  	IpcListen string `protobuf:"bytes,7,opt,name=ipc_listen,json=ipcListen,proto3" json:"ipc_listen"`
   638  	// Nbre net ipc port.
   639  	IpcPort uint32 `protobuf:"varint,8,opt,name=ipc_port,json=ipcPort,proto3" json:"ipc_port"`
   640  }
   641  
   642  func (m *NbreConfig) Reset()                    { *m = NbreConfig{} }
   643  func (m *NbreConfig) String() string            { return proto.CompactTextString(m) }
   644  func (*NbreConfig) ProtoMessage()               {}
   645  func (*NbreConfig) Descriptor() ([]byte, []int) { return fileDescriptorConfig, []int{9} }
   646  
   647  func (m *NbreConfig) GetRootDir() string {
   648  	if m != nil {
   649  		return m.RootDir
   650  	}
   651  	return ""
   652  }
   653  
   654  func (m *NbreConfig) GetLogDir() string {
   655  	if m != nil {
   656  		return m.LogDir
   657  	}
   658  	return ""
   659  }
   660  
   661  func (m *NbreConfig) GetDataDir() string {
   662  	if m != nil {
   663  		return m.DataDir
   664  	}
   665  	return ""
   666  }
   667  
   668  func (m *NbreConfig) GetNbrePath() string {
   669  	if m != nil {
   670  		return m.NbrePath
   671  	}
   672  	return ""
   673  }
   674  
   675  func (m *NbreConfig) GetAdminAddress() string {
   676  	if m != nil {
   677  		return m.AdminAddress
   678  	}
   679  	return ""
   680  }
   681  
   682  func (m *NbreConfig) GetStartHeight() uint64 {
   683  	if m != nil {
   684  		return m.StartHeight
   685  	}
   686  	return 0
   687  }
   688  
   689  func (m *NbreConfig) GetIpcListen() string {
   690  	if m != nil {
   691  		return m.IpcListen
   692  	}
   693  	return ""
   694  }
   695  
   696  func (m *NbreConfig) GetIpcPort() uint32 {
   697  	if m != nil {
   698  		return m.IpcPort
   699  	}
   700  	return 0
   701  }
   702  
   703  func init() {
   704  	proto.RegisterType((*Config)(nil), "nebletpb.Config")
   705  	proto.RegisterType((*NetworkConfig)(nil), "nebletpb.NetworkConfig")
   706  	proto.RegisterType((*ChainConfig)(nil), "nebletpb.ChainConfig")
   707  	proto.RegisterType((*RPCConfig)(nil), "nebletpb.RPCConfig")
   708  	proto.RegisterType((*AppConfig)(nil), "nebletpb.AppConfig")
   709  	proto.RegisterType((*PprofConfig)(nil), "nebletpb.PprofConfig")
   710  	proto.RegisterType((*MiscConfig)(nil), "nebletpb.MiscConfig")
   711  	proto.RegisterType((*StatsConfig)(nil), "nebletpb.StatsConfig")
   712  	proto.RegisterType((*InfluxdbConfig)(nil), "nebletpb.InfluxdbConfig")
   713  	proto.RegisterType((*NbreConfig)(nil), "nebletpb.NbreConfig")
   714  	proto.RegisterEnum("nebletpb.StatsConfig_ReportingModule", StatsConfig_ReportingModule_name, StatsConfig_ReportingModule_value)
   715  }
   716  
   717  func init() { proto.RegisterFile("config.proto", fileDescriptorConfig) }
   718  
   719  var fileDescriptorConfig = []byte{
   720  	// 1164 bytes of a gzipped FileDescriptorProto
   721  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x56, 0xcf, 0x6e, 0xdb, 0xc6,
   722  	0x13, 0xfe, 0xc9, 0x96, 0x6d, 0x72, 0x24, 0x3b, 0xce, 0xc6, 0x71, 0xd6, 0xf1, 0xaf, 0x89, 0xa3,
   723  	0x22, 0x80, 0x8a, 0x14, 0x2e, 0x9a, 0xe6, 0xd2, 0x43, 0x0f, 0x81, 0x8a, 0xa2, 0x81, 0xe3, 0xc0,
   724  	0xa0, 0xdb, 0x33, 0x41, 0x91, 0x63, 0x6a, 0x61, 0x8a, 0x4b, 0xec, 0xae, 0x9c, 0xf8, 0xd6, 0xb7,
   725  	0x6a, 0x1f, 0xa1, 0x4f, 0xd0, 0xbe, 0x4b, 0x81, 0x02, 0xc5, 0xcc, 0x2e, 0x45, 0x49, 0xc8, 0x8d,
   726  	0xf3, 0x7d, 0xdf, 0xee, 0xac, 0xe6, 0xaf, 0x60, 0x98, 0xeb, 0xfa, 0x46, 0x95, 0xe7, 0x8d, 0xd1,
   727  	0x4e, 0x8b, 0xa8, 0xc6, 0x69, 0x85, 0xae, 0x99, 0x8e, 0xfe, 0xd8, 0x82, 0xdd, 0x09, 0x53, 0xe2,
   728  	0x5b, 0xd8, 0xab, 0xd1, 0x7d, 0xd4, 0xe6, 0x56, 0xf6, 0xce, 0x7a, 0xe3, 0xc1, 0xeb, 0x27, 0xe7,
   729  	0xad, 0xec, 0xfc, 0x83, 0x27, 0xbc, 0x32, 0x69, 0x75, 0xe2, 0x15, 0xec, 0xe4, 0xb3, 0x4c, 0xd5,
   730  	0x72, 0x8b, 0x0f, 0x3c, 0xee, 0x0e, 0x4c, 0x08, 0x0e, 0x72, 0xaf, 0x11, 0x2f, 0x61, 0xdb, 0x34,
   731  	0xb9, 0xdc, 0x66, 0xe9, 0xa3, 0x4e, 0x9a, 0x5c, 0x4d, 0x82, 0x90, 0x78, 0xba, 0xd3, 0xba, 0xcc,
   732  	0x59, 0x59, 0x6c, 0xde, 0x79, 0x4d, 0x70, 0x7b, 0x27, 0x6b, 0xc4, 0x18, 0xfa, 0x73, 0x65, 0x73,
   733  	0x89, 0xac, 0x3d, 0xea, 0xb4, 0x97, 0xca, 0xe6, 0x41, 0xca, 0x0a, 0xf2, 0x9e, 0x35, 0x8d, 0xbc,
   734  	0xd9, 0xf4, 0xfe, 0xb6, 0x69, 0x5a, 0xef, 0x59, 0xd3, 0x88, 0xaf, 0xa0, 0x5f, 0x4f, 0x0d, 0xca,
   735  	0x3f, 0x7b, 0x9b, 0x37, 0x7e, 0x98, 0x1a, 0x6c, 0x6f, 0x24, 0xc9, 0xe8, 0xaf, 0x1e, 0xec, 0xaf,
   736  	0xc5, 0x45, 0x08, 0xe8, 0x5b, 0xc4, 0x42, 0xf6, 0xce, 0xb6, 0xc7, 0x71, 0xc2, 0xdf, 0xe2, 0x18,
   737  	0x76, 0x2b, 0x65, 0x1d, 0x52, 0x8c, 0x08, 0x0d, 0x96, 0x78, 0x0e, 0x83, 0xc6, 0xa8, 0xbb, 0xcc,
   738  	0x61, 0x7a, 0x8b, 0xf7, 0x1c, 0x95, 0x38, 0x81, 0x00, 0x5d, 0xe0, 0xbd, 0xf8, 0x02, 0x20, 0x84,
   739  	0x39, 0x55, 0x85, 0xec, 0x9f, 0xf5, 0xc6, 0xfb, 0x49, 0x1c, 0x90, 0x77, 0x85, 0xf8, 0x12, 0xf6,
   740  	0xad, 0x33, 0x98, 0xcd, 0xd3, 0x4a, 0xcd, 0x95, 0xb3, 0x72, 0xe7, 0xac, 0x37, 0xde, 0x49, 0x86,
   741  	0x1e, 0x7c, 0xcf, 0x98, 0x78, 0x03, 0xc7, 0x06, 0x2d, 0x9a, 0x3b, 0x2c, 0xd2, 0x75, 0xf5, 0x2e,
   742  	0xab, 0x8f, 0x5a, 0xf6, 0x7a, 0xe5, 0xd4, 0xe8, 0xf7, 0x3e, 0x0c, 0x56, 0xf2, 0x27, 0x4e, 0x20,
   743  	0xe2, 0x0c, 0xd2, 0x3b, 0x7a, 0xfc, 0x8e, 0x3d, 0xb6, 0xdf, 0x15, 0x42, 0xc2, 0x5e, 0x89, 0x35,
   744  	0x5a, 0x65, 0xb9, 0x04, 0xe2, 0xa4, 0x35, 0x89, 0x29, 0x32, 0x97, 0x15, 0xca, 0xc8, 0x81, 0x67,
   745  	0x82, 0x49, 0x11, 0xb9, 0xc5, 0x7b, 0x22, 0x86, 0x4c, 0x04, 0x8b, 0x7e, 0xb0, 0x75, 0x99, 0x71,
   746  	0xe9, 0x5c, 0xd5, 0x28, 0x8f, 0xce, 0x7a, 0xe3, 0x28, 0x89, 0x19, 0xb9, 0x54, 0x35, 0x8a, 0xa7,
   747  	0x10, 0xe5, 0x5a, 0xd5, 0xd3, 0xcc, 0xa2, 0x7c, 0xcc, 0x07, 0x97, 0xb6, 0x38, 0x82, 0x1d, 0x3a,
   748  	0x64, 0xe4, 0x31, 0x13, 0xde, 0x10, 0xcf, 0x00, 0x9a, 0xcc, 0xda, 0x66, 0x66, 0xe8, 0xcc, 0x93,
   749  	0x10, 0xe1, 0x25, 0x22, 0xbe, 0x87, 0x13, 0xac, 0xb3, 0x69, 0x85, 0xa9, 0xc1, 0xb9, 0x76, 0x98,
   750  	0x5a, 0x55, 0xd6, 0x29, 0x07, 0xc4, 0x48, 0xc9, 0xfe, 0x8f, 0xbd, 0x20, 0x61, 0xfe, 0x5a, 0x95,
   751  	0xf5, 0x35, 0xb3, 0xe2, 0x6b, 0x10, 0x9f, 0x39, 0x73, 0xc2, 0x2e, 0x0e, 0xcd, 0xa6, 0xfa, 0x14,
   752  	0xe2, 0x32, 0xb3, 0x69, 0x63, 0x54, 0x8e, 0xf2, 0xa9, 0x7f, 0x7b, 0x99, 0xd9, 0x2b, 0xb2, 0x5b,
   753  	0x92, 0xf3, 0x22, 0x4f, 0x97, 0x24, 0xe7, 0x42, 0xbc, 0x82, 0x87, 0xe4, 0x20, 0x73, 0x0b, 0x83,
   754  	0x69, 0xae, 0x9a, 0x19, 0x1a, 0x2b, 0xff, 0xcf, 0x85, 0x74, 0xb8, 0x24, 0x26, 0x1e, 0xe7, 0x00,
   755  	0x2e, 0x1a, 0x34, 0x69, 0xad, 0x0b, 0x94, 0xcf, 0x42, 0x00, 0x09, 0xf9, 0xa0, 0x0b, 0x14, 0xdf,
   756  	0xc0, 0xa3, 0x45, 0x6d, 0x17, 0x4d, 0xa3, 0x8d, 0xc3, 0x82, 0xaa, 0xee, 0xa3, 0x36, 0x85, 0x7c,
   757  	0xce, 0x2e, 0xc5, 0x0a, 0x75, 0xe1, 0x19, 0x4e, 0xe1, 0x7d, 0x9d, 0x59, 0x77, 0x2f, 0xcf, 0x42,
   758  	0x0a, 0xbd, 0x49, 0x29, 0xcc, 0xf2, 0x1c, 0xad, 0x95, 0x2f, 0x7c, 0x0a, 0xbd, 0x35, 0xfa, 0xbb,
   759  	0x07, 0xf1, 0xb2, 0x9d, 0xe9, 0x3d, 0xa6, 0xc9, 0xd3, 0x50, 0xfe, 0xbe, 0x29, 0x62, 0xd3, 0xe4,
   760  	0xef, 0x97, 0x1d, 0x30, 0x73, 0xae, 0x49, 0xd7, 0xda, 0x03, 0x08, 0xda, 0x10, 0xcc, 0x75, 0xb1,
   761  	0xa8, 0x50, 0x6e, 0x77, 0x82, 0x4b, 0x46, 0x28, 0x3a, 0xb9, 0xae, 0x6b, 0xcc, 0x9d, 0xd2, 0x75,
   762  	0x5b, 0xd9, 0x7d, 0xae, 0xec, 0xc3, 0x8e, 0x08, 0xbd, 0xd0, 0xb9, 0x5b, 0x69, 0x97, 0xe0, 0x8e,
   763  	0x05, 0xa7, 0x10, 0xb3, 0x20, 0xd7, 0x86, 0xfa, 0x83, 0x9c, 0x45, 0x04, 0x4c, 0xb4, 0xb1, 0xa3,
   764  	0x7f, 0x7b, 0x10, 0x2f, 0x47, 0x05, 0x49, 0x2b, 0x5d, 0xa6, 0x15, 0xde, 0x61, 0xc5, 0x2d, 0x11,
   765  	0x27, 0x51, 0xa5, 0xcb, 0xf7, 0x64, 0x53, 0xbb, 0x10, 0x79, 0xa3, 0x2a, 0x6c, 0x9b, 0xa2, 0xd2,
   766  	0xe5, 0x4f, 0xaa, 0x42, 0xf1, 0x04, 0xe8, 0x33, 0xcd, 0x4a, 0xe4, 0x86, 0xdf, 0x4f, 0x76, 0x2b,
   767  	0x5d, 0xbe, 0x2d, 0x51, 0x9c, 0xc3, 0xa3, 0x50, 0x8a, 0xb9, 0xc9, 0xec, 0x2c, 0x35, 0x48, 0xa9,
   768  	0xe0, 0xdf, 0x12, 0x25, 0x0f, 0x3d, 0x35, 0x21, 0x26, 0x61, 0x42, 0x8c, 0xe1, 0x70, 0x55, 0x98,
   769  	0x2e, 0x4c, 0xc5, 0xbf, 0x28, 0x4e, 0x0e, 0xf2, 0x4e, 0xf6, 0xab, 0xa9, 0x68, 0x9c, 0x36, 0x8d,
   770  	0xd1, 0x37, 0xdc, 0xf1, 0x6b, 0xe3, 0xf4, 0x8a, 0xe0, 0x76, 0x9c, 0xb2, 0x86, 0x32, 0x7e, 0x87,
   771  	0xc6, 0x2a, 0x5d, 0xf3, 0xf4, 0x8d, 0x93, 0xd6, 0x1c, 0xd5, 0x30, 0x58, 0xd1, 0x6f, 0xe6, 0xce,
   772  	0x87, 0x60, 0x35, 0x77, 0xcf, 0x00, 0xf2, 0x66, 0x41, 0x27, 0xba, 0x30, 0xac, 0x20, 0xc4, 0xcf,
   773  	0x71, 0xde, 0xf2, 0x61, 0xfa, 0x75, 0xc8, 0xe8, 0x02, 0xa0, 0x1b, 0xe1, 0xe2, 0x07, 0x38, 0x2d,
   774  	0xf0, 0x26, 0x5b, 0x54, 0x8e, 0xca, 0xd6, 0x3a, 0x6d, 0x90, 0xe3, 0x4b, 0x2d, 0x81, 0x26, 0xb8,
   775  	0x97, 0x41, 0x72, 0x11, 0x14, 0x14, 0xf1, 0x09, 0xf1, 0xa3, 0xdf, 0xb6, 0x60, 0xb0, 0xb2, 0x3c,
   776  	0xc4, 0x4b, 0x38, 0x08, 0xd1, 0x9e, 0xa3, 0x33, 0x2a, 0xb7, 0x7c, 0x43, 0x94, 0xec, 0x7b, 0xf4,
   777  	0xd2, 0x83, 0xe2, 0x0a, 0x0e, 0x7d, 0x78, 0x55, 0x5d, 0xb6, 0x45, 0x48, 0x55, 0x7a, 0xf0, 0xfa,
   778  	0xe5, 0x67, 0x97, 0xd2, 0x79, 0xd2, 0xaa, 0x7d, 0x7d, 0x26, 0x0f, 0xcc, 0x3a, 0x20, 0xde, 0x40,
   779  	0xa4, 0xea, 0x9b, 0x6a, 0xf1, 0xa9, 0x98, 0xf2, 0x54, 0x1c, 0xbc, 0x96, 0xdd, 0x4d, 0xef, 0x02,
   780  	0x13, 0x52, 0xb2, 0x54, 0x8a, 0x17, 0x30, 0x0c, 0xef, 0x4c, 0x5d, 0x56, 0x5a, 0x39, 0xe4, 0xda,
   781  	0x1c, 0x04, 0xec, 0x97, 0xac, 0xb4, 0xa3, 0xe7, 0xf0, 0x60, 0xc3, 0xb9, 0x18, 0x42, 0xd4, 0xde,
   782  	0x78, 0xf8, 0xbf, 0xd1, 0x27, 0x38, 0x58, 0xbf, 0x9f, 0x96, 0xd5, 0x4c, 0x5b, 0x17, 0x82, 0xc7,
   783  	0xdf, 0x84, 0x71, 0xdd, 0x6d, 0x71, 0x71, 0xf2, 0xb7, 0x38, 0x80, 0xad, 0x62, 0x1a, 0x32, 0xb4,
   784  	0x55, 0x4c, 0x49, 0xb3, 0xb0, 0x68, 0xb8, 0x36, 0xe3, 0x84, 0xbf, 0x69, 0x36, 0xd3, 0x5c, 0xe5,
   785  	0x79, 0xe2, 0xcb, 0x70, 0x69, 0x8f, 0xfe, 0xe9, 0x01, 0x74, 0xbb, 0x93, 0xba, 0xc3, 0x68, 0xed,
   786  	0x52, 0x9a, 0xff, 0xde, 0xf5, 0x1e, 0xd9, 0x3f, 0x2a, 0xd3, 0x76, 0x07, 0x31, 0xbe, 0x60, 0xa8,
   787  	0x3b, 0x88, 0x38, 0x81, 0x88, 0x96, 0x07, 0x33, 0xdb, 0xdd, 0x32, 0x21, 0xea, 0x14, 0x62, 0x5a,
   788  	0xc6, 0x69, 0x93, 0xb9, 0x59, 0x78, 0x52, 0x44, 0xc0, 0x55, 0xe6, 0x66, 0xb4, 0x23, 0xb3, 0x62,
   789  	0xae, 0xea, 0x34, 0x2b, 0x0a, 0x43, 0xd3, 0xca, 0xbf, 0x6d, 0xc8, 0xe0, 0x5b, 0x8f, 0x51, 0x74,
   790  	0xfd, 0xda, 0x99, 0xa1, 0x2a, 0x67, 0x8e, 0xfb, 0xa4, 0x9f, 0x0c, 0x18, 0xfb, 0x99, 0x21, 0x1a,
   791  	0x64, 0xaa, 0x1b, 0x64, 0x7b, 0x7c, 0x49, 0xac, 0x96, 0x83, 0xec, 0x04, 0x22, 0xa2, 0x39, 0x72,
   792  	0x91, 0xdf, 0x8f, 0xaa, 0xc9, 0xaf, 0xb4, 0x71, 0xd3, 0x5d, 0xfe, 0xbf, 0xf5, 0xdd, 0x7f, 0x01,
   793  	0x00, 0x00, 0xff, 0xff, 0x70, 0xb6, 0x8d, 0x0b, 0x7f, 0x09, 0x00, 0x00,
   794  }