Documentation ¶
Index ¶
- type Config
- func (c *Config) GetAuthVerificationCores() int
- func (c *Config) GetContinuousProfilerConfig() *profiler.Config
- func (c *Config) GetLogLevel() logging.Level
- func (c *Config) GetMempoolExemptSponsors() []codec.Address
- func (c *Config) GetMempoolSize() int
- func (c *Config) GetMempoolSponsorSize() int
- func (c *Config) GetRootGenerationCores() int
- func (c *Config) GetStateSyncServerDelay() time.Duration
- func (c *Config) GetStoreTransactions() bool
- func (c *Config) GetStreamingBacklogSize() int
- func (c *Config) GetTestMode() bool
- func (c *Config) GetTraceConfig() *trace.Config
- func (c *Config) GetTransactionExecutionCores() int
- func (c *Config) GetVerifyAuth() bool
- func (c *Config) Loaded() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *config.Config // Concurrency AuthVerificationCores int `json:"authVerificationCores"` RootGenerationCores int `json:"rootGenerationCores"` TransactionExecutionCores int `json:"transactionExecutionCores"` // Gossip GossipMaxSize int `json:"gossipMaxSize"` GossipProposerDiff int `json:"gossipProposerDiff"` GossipProposerDepth int `json:"gossipProposerDepth"` NoGossipBuilderDiff int `json:"noGossipBuilderDiff"` VerifyTimeout int64 `json:"verifyTimeout"` // Tracing TraceEnabled bool `json:"traceEnabled"` TraceSampleRate float64 `json:"traceSampleRate"` // Profiling ContinuousProfilerDir string `json:"continuousProfilerDir"` // "*" is replaced with rand int // Streaming settings StreamingBacklogSize int `json:"streamingBacklogSize"` // Mempool MempoolSize int `json:"mempoolSize"` MempoolSponsorSize int `json:"mempoolSponsorSize"` MempoolExemptSponsors []string `json:"mempoolExemptSponsors"` // Misc VerifyAuth bool `json:"verifyAuth"` StoreTransactions bool `json:"storeTransactions"` TestMode bool `json:"testMode"` // makes gossip/building manual LogLevel logging.Level `json:"logLevel"` // State Sync StateSyncServerDelay time.Duration `json:"stateSyncServerDelay"` // for testing // contains filtered or unexported fields }
func (*Config) GetAuthVerificationCores ¶
func (*Config) GetContinuousProfilerConfig ¶
func (*Config) GetLogLevel ¶
func (*Config) GetMempoolExemptSponsors ¶
func (*Config) GetMempoolSize ¶
func (*Config) GetMempoolSponsorSize ¶
func (*Config) GetRootGenerationCores ¶
func (*Config) GetStateSyncServerDelay ¶
func (*Config) GetStoreTransactions ¶
func (*Config) GetStreamingBacklogSize ¶
func (*Config) GetTestMode ¶
func (*Config) GetTraceConfig ¶
func (*Config) GetTransactionExecutionCores ¶
func (*Config) GetVerifyAuth ¶
Click to show internal directories.
Click to hide internal directories.