Versions in this module Expand all Collapse all v0 v0.0.3 Feb 7, 2021 Changes in this version + type Config struct + AcceptNonStd bool + AddPeers []string + AddrIndex bool + BanDuration time.Duration + BanThreshold uint32 + Banning bool + BlockMaxSize uint32 + BlockMinSize uint32 + BlockPrioritySize uint32 + BlocksOnly bool + BuildLedger bool + CacheInvalidTx bool + Cleanup bool + ConfigFile string + ConnectPeers []string + CustomDNSSeed []string + DAGType string + DataDir string + DbType string + DebugLevel string + DebugPrintOrigins bool + DefaultPort string + DisableCheckpoints bool + DisableDNSSeed bool + DisableListen bool + DisableRPC bool + DisableTLS bool + DropAddrIndex bool + DropTxIndex bool + DumpBlockchain string + ExternalIPs []string + FreeTxRelayLimit float64 + Generate bool + GetAddrPercent int + HomeDir string + LightNode bool + Listeners []string + LogDir string + MaxInbound int + MaxOrphanTxs int + MaxPeers int + MinTxFee int64 + MiningAddrs []string + MiningStateSync bool + MiningTimeOffset int + MixNet bool + Modules []string + NoFileLogging bool + NoRelayPriority bool + PrivNet bool + Profile string + RPCCert string + RPCKey string + RPCListeners []string + RPCMaxClients int + RPCMaxWebsockets int + RPCPass string + RPCUser string + ShowVersion bool + SigCacheMaxSize uint + TestNet bool + TrickleInterval time.Duration + Upnp bool + Whitelists []string + Zmqpubhashblock string + Zmqpubhashtx string + Zmqpubrawblock string + Zmqpubrawtx string + func (c *Config) AddToWhitelists(ip *net.IPNet) + func (c *Config) GetMinningAddrs() []types.Address + func (c *Config) GetWhitelists() []*net.IPNet + func (c *Config) SetMiningAddrs(addr types.Address)