Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AddressEncrypted string `json:"addressEncrypted"` Address string `json:"-"` BypassAddressValidation bool `json:"bypassAddressValidation"` Log Log `json:"log"` Stratum Stratum `json:"stratum"` StratumTls StratumTls `json:"stratumTls"` BlockRefreshInterval string `json:"blockRefreshInterval"` UpstreamCheckInterval string `json:"upstreamCheckInterval"` Upstream []Upstream `json:"upstream"` EstimationWindow string `json:"estimationWindow"` LuckWindow string `json:"luckWindow"` LargeLuckWindow string `json:"largeLuckWindow"` HashRateExpiration string `json:"hashRateExpiration"` PurgeInterval string `json:"purgeInterval"` HashrateWindow string `json:"hashrateWindow"` HashrateLargeWindow string `json:"hashrateLargeWindow"` Threads int `json:"threads"` Frontend Frontend `json:"frontend"` Coin string `json:"coin"` Redis StorageConfig `json:"redis"` RedisFailover StorageConfigFailover `json:"redisFailover"` BlockUnlocker UnlockerConfig `json:"unlocker"` NewrelicName string `json:"newrelicName"` NewrelicKey string `json:"newrelicKey"` NewrelicVerbose bool `json:"newrelicVerbose"` NewrelicEnabled bool `json:"newrelicEnabled"` }
type StorageConfig ¶
type StorageConfigFailover ¶
type StorageConfigFailover struct { Enabled bool `json:"enabled"` MasterName string `json:"masterName"` SentinelEndpoints []string `json:"sentinelEndpoints"` PasswordEncrypted string `json:"passwordEncrypted"` Password string `json:"-"` Database int64 `json:"database"` PoolSize int `json:"poolSize"` }
type StratumTls ¶
type UnlockerConfig ¶
type UnlockerConfig struct { Enabled bool `json:"enabled"` PoolFee float64 `json:"poolFee"` PoolFeeAddress string `json:"poolFeeAddress"` Donate bool `json:"donate"` Depth int64 `json:"depth"` ImmatureDepth int64 `json:"immatureDepth"` KeepTxFees bool `json:"keepTxFees"` Interval string `json:"interval"` DaemonName string `json:"daemonName"` DaemonHost string `json:"daemonHost"` DaemonPort int `json:"daemonPort"` Timeout string `json:"timeout"` }
Click to show internal directories.
Click to hide internal directories.