Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByCBlockIDAccending ¶
------------------------------------------------ CBlock array sorting implementation - accending
func (ByCBlockIDAccending) Len ¶
func (f ByCBlockIDAccending) Len() int
func (ByCBlockIDAccending) Less ¶
func (f ByCBlockIDAccending) Less(i, j int) bool
func (ByCBlockIDAccending) Swap ¶
func (f ByCBlockIDAccending) Swap(i, j int)
type ByDBlockIDAccending ¶
------------------------------------------------ DBlock array sorting implementation - accending
func (ByDBlockIDAccending) Len ¶
func (f ByDBlockIDAccending) Len() int
func (ByDBlockIDAccending) Less ¶
func (f ByDBlockIDAccending) Less(i, j int) bool
func (ByDBlockIDAccending) Swap ¶
func (f ByDBlockIDAccending) Swap(i, j int)
type ByEBlockIDAccending ¶
------------------------------------------------ EBlock array sorting implementation - accending
func (ByEBlockIDAccending) Len ¶
func (f ByEBlockIDAccending) Len() int
func (ByEBlockIDAccending) Less ¶
func (f ByEBlockIDAccending) Less(i, j int) bool
func (ByEBlockIDAccending) Swap ¶
func (f ByEBlockIDAccending) Swap(i, j int)
type FactomdConfig ¶
type FactomdConfig struct { App struct { PortNumber int LdbPath string DataStorePath string DirectoryBlockInSeconds int NodeMode string FederatedId string } Btc struct { BTCPubAddr string SendToBTCinSeconds int WalletPassphrase string CertHomePath string RpcClientHost string RpcClientEndpoint string RpcClientUser string RpcClientPass string BtcTransFee float64 CertHomePathBtcd string RpcBtcdHost string } Rpc struct { PortNumber int ApplicationName string RefreshInSeconds int } 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 ReadConfig ¶
func ReadConfig() *FactomdConfig
GetConfig reads the default factomd.conf file and returns a FactomConfig object corresponding to the state of the file.
Click to show internal directories.
Click to hide internal directories.