Versions in this module Expand all Collapse all v0 v0.9.1 Apr 30, 2019 v0.9.0 Apr 29, 2019 Changes in this version + var ActiveNetParams = &MainNetParams + var MainNetParams = Params + var RegressionNetParams = Params + var SimNetParams = Params + var TestNet3Params = Params + type Config struct + ActiveNetParams *Params + AddCheckpoints *[]string + AddPeers *[]string + AddrIndex *bool + Algo *string + AppDataDir *string + BanDuration *time.Duration + BanThreshold *int + BlockMaxSize *int + BlockMaxWeight *int + BlockMinSize *int + BlockMinWeight *int + BlockPrioritySize *int + BlocksOnly *bool + CAFile *string + CPUProfile *string + ConfigFile *string + ConnectPeers *[]string + DataDir *string + DbType *string + DisableBanning *bool + DisableCheckpoints *bool + DisableDNSSeed *bool + DisableListen *bool + DisableRPC *bool + ExperimentalRPCListeners *[]string + ExternalIPs *[]string + FreeTxRelayLimit *float64 + GenThreads *int + Generate *bool + LegacyRPCListeners *[]string + LegacyRPCMaxClients *int + LegacyRPCMaxWebsockets *int + LimitPass *string + LimitUser *string + Listeners *[]string + LogDir *string + LogLevel *string + MaxOrphanTxs *int + MaxPeers *int + MinRelayTxFee *float64 + MinerListener *string + MinerPass *string + MiningAddrs *[]string + Network *string + NoCFilters *bool + NoInitialLoad *bool + NoPeerBloomFilters *bool + NoRelayPriority *bool + NoTLS *bool + OneTimeTLSKey *bool + Onion *bool + OnionProxy *string + OnionProxyPass *string + OnionProxyUser *string + Password *string + Profile *int + Proxy *string + ProxyPass *string + ProxyUser *string + RPCCert *string + RPCConnect *string + RPCKey *string + RPCListeners *[]string + RPCMaxClients *int + RPCMaxConcurrentReqs *int + RPCMaxWebsockets *int + RPCQuirks *bool + RegressionTest *bool + RejectNonStd *bool + RelayNonStd *bool + ServerPass *string + ServerTLS *bool + ServerUser *string + SigCacheMaxSize *int + SimNet *bool + State *StateConfig + Subsystems *Mapstringstring + TLSSkipVerify *bool + TestNet3 *bool + TorIsolation *bool + TrickleInterval *time.Duration + TxIndex *bool + Upnp *bool + UserAgentComments *[]string + Username *string + Wallet *bool + WalletPass *string + WalletServer *string + Whitelists *[]string + type Mapstringstring map[string]*string + func (m Mapstringstring) String() (out string) + type Params struct + RPCPort string + type StateConfig struct + ActiveMinRelayTxFee util.Amount + ActiveMinerKey []byte + ActiveMiningAddrs []util.Address + ActiveWhitelists []*net.IPNet + AddedCheckpoints []chaincfg.Checkpoint + Dial func(string, string, time.Duration) (net.Conn, error) + DropAddrIndex bool + DropCfIndex bool + DropTxIndex bool + Lookup func(string) ([]net.IP, error) + Oniondial func(string, string, time.Duration) (net.Conn, error) + Save bool