Documentation ¶
Index ¶
Constants ¶
View Source
const AppName = "pod"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { sync.Mutex AddCheckpoints *cli.StringSlice `` /* 133-byte string literal not displayed */ AddPeers *cli.StringSlice `` /* 149-byte string literal not displayed */ AddrIndex *bool `` /* 193-byte string literal not displayed */ Algo *string `` /* 134-byte string literal not displayed */ AutoPorts *bool `` /* 167-byte string literal not displayed */ BanDuration *time.Duration `` /* 157-byte string literal not displayed */ BanThreshold *int `` /* 162-byte string literal not displayed */ BlockMaxSize *int `` /* 181-byte string literal not displayed */ BlockMaxWeight *int `` /* 178-byte string literal not displayed */ BlockMinSize *int `` /* 181-byte string literal not displayed */ BlockMinWeight *int `` /* 178-byte string literal not displayed */ BlockPrioritySize *int `` /* 205-byte string literal not displayed */ BlocksOnly *bool `` /* 140-byte string literal not displayed */ CAFile *string `` /* 160-byte string literal not displayed */ ConfigFile *string ConnectPeers *cli.StringSlice `` /* 171-byte string literal not displayed */ Controller *string `category:"mining" name:"Controller Listener" description:"address to bind miner controller to"` CPUProfile *string `` /* 143-byte string literal not displayed */ DataDir *string `` /* 152-byte string literal not displayed */ DbType *string `` /* 164-byte string literal not displayed */ DisableBanning *bool `` /* 142-byte string literal not displayed */ DisableCheckpoints *bool `` /* 137-byte string literal not displayed */ DisableDNSSeed *bool `` /* 142-byte string literal not displayed */ DisableListen *bool `` /* 159-byte string literal not displayed */ DisableRPC *bool `group:"rpc" name:"Disable RPC" description:"disable rpc servers" type:"switch" model:"DisableRPC" featured:"false"` EnableController *bool `category:"node" name:"Disable Controller" description:"disables the zeroconf peer routeable/miner controller system"` ExperimentalRPCListeners *cli.StringSlice `` /* 177-byte string literal not displayed */ ExternalIPs *cli.StringSlice `` /* 163-byte string literal not displayed */ FreeTxRelayLimit *float64 `` /* 232-byte string literal not displayed */ Generate *bool `group:"mining" name:"Generate" description:"turn on built in CPU miner" type:"switch" model:"Generate" featured:"false"` GenThreads *int `` /* 151-byte string literal not displayed */ Language *string `` /* 149-byte string literal not displayed */ LimitPass *string `` /* 146-byte string literal not displayed */ LimitUser *string `` /* 126-byte string literal not displayed */ Listeners *cli.StringSlice `` /* 151-byte string literal not displayed */ LogDir *string `` /* 140-byte string literal not displayed */ LogLevel *string `` /* 136-byte string literal not displayed */ MaxOrphanTxs *int `` /* 172-byte string literal not displayed */ MaxPeers *int `` /* 158-byte string literal not displayed */ MinerPass *string `` /* 174-byte string literal not displayed */ MiningAddrs *cli.StringSlice `` /* 166-byte string literal not displayed */ MinRelayTxFee *float64 `` /* 191-byte string literal not displayed */ Network *string `` /* 163-byte string literal not displayed */ NoCFilters *bool `` /* 136-byte string literal not displayed */ NodeOff *bool `group:"debug" name:"Node Off" description:"turn off the node backend" type:"switch" model:"NodeOff" featured:"false"` NoInitialLoad *bool NoPeerBloomFilters *bool `` /* 145-byte string literal not displayed */ NoRelayPriority *bool `` /* 187-byte string literal not displayed */ OneTimeTLSKey *bool `` /* 184-byte string literal not displayed */ Onion *bool `group:"proxy" name:"Onion" description:"enable tor proxy" type:"switch" model:"Onion" featured:"false"` OnionProxy *string `` /* 156-byte string literal not displayed */ OnionProxyPass *string `` /* 160-byte string literal not displayed */ OnionProxyUser *string `` /* 140-byte string literal not displayed */ Password *string `` /* 157-byte string literal not displayed */ Profile *string `` /* 147-byte string literal not displayed */ Proxy *string `` /* 157-byte string literal not displayed */ ProxyPass *string `` /* 154-byte string literal not displayed */ ProxyUser *string `` /* 137-byte string literal not displayed */ RejectNonStd *bool `` /* 191-byte string literal not displayed */ RelayNonStd *bool `` /* 188-byte string literal not displayed */ RPCCert *string `` /* 136-byte string literal not displayed */ RPCConnect *string `` /* 138-byte string literal not displayed */ RPCKey *string `` /* 126-byte string literal not displayed */ RPCListeners *cli.StringSlice `` /* 147-byte string literal not displayed */ RPCMaxClients *int `` /* 161-byte string literal not displayed */ RPCMaxConcurrentReqs *int `` /* 185-byte string literal not displayed */ RPCMaxWebsockets *int `` /* 170-byte string literal not displayed */ RPCQuirks *bool `` /* 143-byte string literal not displayed */ ServerPass *string `` /* 158-byte string literal not displayed */ ServerTLS *bool `` /* 151-byte string literal not displayed */ ServerUser *string `` /* 142-byte string literal not displayed */ SigCacheMaxSize *int `` /* 191-byte string literal not displayed */ Solo *bool `` /* 137-byte string literal not displayed */ TLS *bool `group:"tls" name:"TLS" description:"enable TLS for RPC connections" type:"switch" model:"TLS" featured:"false"` TLSSkipVerify *bool `` /* 154-byte string literal not displayed */ TorIsolation *bool `` /* 154-byte string literal not displayed */ TrickleInterval *time.Duration `` /* 195-byte string literal not displayed */ TxIndex *bool `` /* 203-byte string literal not displayed */ UPNP *bool `group:"node" name:"UPNP" description:"enable UPNP for NAT traversal" type:"switch" model:"UPNP" featured:"false"` UserAgentComments *cli.StringSlice `` /* 182-byte string literal not displayed */ Username *string `` /* 141-byte string literal not displayed */ Wallet *bool WalletFile *string `` /* 133-byte string literal not displayed */ WalletOff *bool `group:"debug" name:"Wallet Off" description:"turn off the wallet backend" type:"switch" model:"WalletOff" featured:"false"` WalletPass *string `` /* 155-byte string literal not displayed */ WalletRPCListeners *cli.StringSlice `` /* 162-byte string literal not displayed */ WalletRPCMaxClients *int `` /* 188-byte string literal not displayed */ WalletRPCMaxWebsockets *int `` /* 200-byte string literal not displayed */ WalletServer *string `` /* 130-byte string literal not displayed */ Whitelists *cli.StringSlice `` /* 144-byte string literal not displayed */ }
Config is
func EmptyConfig ¶
func EmptyConfig() *Config
type Field ¶
type Field struct { Group string `json:"group"` Type string `json:"type"` Name string `json:"label"` Description string `json:"help"` InputType string `json:"inputType"` Featured string `json:"featured"` Model string `json:"model"` Datatype string `json:"datatype"` Options []string `json:"options"` }
Click to show internal directories.
Click to hide internal directories.