Documentation ¶
Overview ¶
Copyright (C) 2023, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- type Config
- func (c *Config) GetBlocksPort() uint16
- func (c *Config) GetDecisionsPort() uint16
- func (c *Config) GetLogLevel() logging.Level
- func (c *Config) GetMempoolExemptPayers() [][]byte
- func (c *Config) GetMempoolPayerSize() int
- func (c *Config) GetMempoolSize() int
- func (c *Config) GetParallelism() int
- func (c *Config) GetStateSyncServerDelay() time.Duration
- func (c *Config) GetTestMode() bool
- func (c *Config) GetTraceConfig() *trace.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *config.Config // Tracing TraceEnabled bool `json:"traceEnabled"` TraceSampleRate float64 `json:"traceSampleRate"` // Streaming Ports DecisionsPort uint16 `json:"decisionsPort"` BlocksPort uint16 `json:"blocksPort"` // Mempool MempoolSize int `json:"mempoolSize"` MempoolPayerSize int `json:"mempoolPayerSize"` MempoolExemptPayers []string `json:"mempoolExemptPayers"` // Misc TestMode bool `json:"testMode"` // makes gossip/building manual LogLevel logging.Level `json:"logLevel"` Parallelism int `json:"parallelism"` // State Sync StateSyncServerDelay time.Duration `json:"stateSyncServerDelay"` // for testing // contains filtered or unexported fields }
func (*Config) GetBlocksPort ¶
func (*Config) GetDecisionsPort ¶
func (*Config) GetLogLevel ¶
func (*Config) GetMempoolExemptPayers ¶
func (*Config) GetMempoolPayerSize ¶
func (*Config) GetMempoolSize ¶
func (*Config) GetParallelism ¶
func (*Config) GetStateSyncServerDelay ¶
func (*Config) GetTestMode ¶
func (*Config) GetTraceConfig ¶
Click to show internal directories.
Click to hide internal directories.