Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConfigFile ¶
func SetConfigFile(f string)
Types ¶
type AnchorConfig ¶
type AnchorConfig struct { App struct { HomeDir string DBType string LdbPath string BoltPath string FactomdNodeURL string ECPrivateKey string AllAnchorRecordPublicKeys []string CurrentAnchorRecordPrivateKey string WindowSize uint32 } Ethereum struct { WalletAddress string WalletKeyPath string WalletPassword string ContractAddress string GasLimit string GethNodeURL string GethIPCURL string EthGasStationURL string IgnoreWrongEntries bool TestNet bool TestNetName string } Log struct { LogPath string LogLevel string } Proxy string `long:"proxy" description:"Connect via SOCKS5 proxy (eg. 127.0.0.1:9050)"` DisableListen bool `` /* 217-byte string literal not displayed */ DisableRPC bool `` /* 136-byte string literal not displayed */ DisableTLS bool `` /* 127-byte string literal not displayed */ DisableDNSSeed bool `long:"nodnsseed" description:"Disable DNS seeding for peers"` }
func ReReadConfig ¶
func ReReadConfig() *AnchorConfig
func ReadConfig ¶
func ReadConfig() *AnchorConfig
GetConfig reads the default anchormaker.conf file and returns an AnchorConfig object corresponding to the state of the file.
Click to show internal directories.
Click to hide internal directories.