Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + const LightbringerQuietDefault + var ConfigFile string + func ApplyDefaults(v *viper.Viper) + func GetBool(key string) bool + func GetFloat64(key string) float64 + func GetInt(key string) int + func GetInt64(key string) int64 + func GetString(key string) string + func GetStringSlice(key string) []string + func GetUint64(key string) uint64 + func InitConfig() error + func IsProductionLayout(p StoragePaths) bool + func IsSet(key string) bool + type BlockConfig struct + CatchupThreshold int + CatchupTipGateThreshold int + LightbringerEndpoint string + MaxInflight int + MaxRPS int + NearTipLookahead int + NearTipPollMs int + NearTipThreshold int + Source string + TipPollMs int + TipSafetyMargin int + type Config struct + Block BlockConfig + Consensus ConsensusConfig + Development DevelopmentConfig + Ledger LedgerConfig + Lightbringer LightbringerConfig + Log LogConfig + Name string + Replay ReplayConfig + Reporting ReportingConfig + Rpc RpcConfig + ScratchDirectory string + Snapshot SnapshotConfig + type ConsensusConfig struct + EnforceOnSource string + SkipPathMaxDepth int + UnresolvedPolicy string + type DebugConfig struct + AccountWrites []string + DumpEpochVotingRewardDiff bool + TransactionSignatures []string + type DevelopmentConfig struct + BorrowedAccountArenaSize uint64 + Debug DebugConfig + MaxConcurrentFlushers int + ParamArenaSizeMB uint64 + Pprof PprofConfig + UsePool bool + ZstdDecoderConcurrency int + type LedgerConfig struct + AccountsPath string + IncrementalSnapshot string + Path string + SnapshotArchivePath string + type LightbringerConfig struct + BinaryPath string + BlockConfirmRpcHTTP string + BlockConfirmRpcWS string + ConfigDir string + Enabled bool + GossipEntrypoint string + GrpcAddr string + InfluxdbDatabase string + InfluxdbHost string + InfluxdbToken string + Quiet bool + RpcAddr string + Storage string + type LogConfig struct + Dir string + Level string + MaxAgeDays int + MaxBackups int + MaxSizeMB int + ToStdout bool + type PprofConfig struct + CpuProfilePath string + Port int64 + type ReplayConfig struct + EndSlot int64 + NumSlots int64 + Txpar int64 + type ReportingConfig struct + MetricsPath string + type RpcConfig struct + Port int + Rpc []string + type SnapshotConfig struct + AllowedNodeVersions []string + AlwaysDownloadFull bool + DownloadPath string + FullThreshold int + IncrementalThreshold int + MaxFullSnapshots int + MaxRTTMs int + MaxSnapshotURLAttempts int + MinIncrementalSpeedMBs float64 + MinNodeVersion string + SafetyMarginSlots int + Stage1Concurrency int + Stage1TimeoutMS int64 + Stage1WarmKiB int64 + Stage1WindowKiB int64 + Stage1Windows int + Stage2MeasureSec int + Stage2MinAbsMBs float64 + Stage2MinRatio float64 + Stage2TopK int + Stage2WarmSec int + TCPTimeoutMs int + Verbose bool + WorkerCount int + type StoragePaths struct + Accounts string + Logs string + Shredstore string + Snapshots string + func DefaultStoragePaths() StoragePaths v0.1.0-alpha.1 Jan 15, 2026