Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRunFlags ¶
Types ¶
type Config ¶
type Config struct { // Core Params *lib.DeSoParams ProtocolPort uint16 DataDirectory string MempoolDumpDirectory string TXIndex bool Regtest bool PostgresURI string // Peers ConnectIPs []string AddIPs []string AddSeeds []string TargetOutboundPeers uint32 StallTimeoutSeconds uint64 // Peer Restrictions PrivateMode bool ReadOnlyMode bool DisableNetworking bool IgnoreInboundInvs bool MaxInboundPeers uint32 OneInboundPerIp bool // Mining MinerPublicKeys []string NumMiningThreads uint64 // Fees RateLimitFeerate uint64 MinFeerate uint64 // BlockProducer MaxBlockTemplatesCache uint64 MinBlockUpdateInterval uint64 BlockCypherAPIKey string BlockProducerSeed string TrustedBlockProducerPublicKeys []string TrustedBlockProducerStartHeight uint64 // Logging LogDirectory string GlogV uint64 GlogVmodule string LogDBSummarySnapshots bool DatadogProfiler bool }
func LoadConfig ¶
func LoadConfig() *Config
Click to show internal directories.
Click to hide internal directories.