Documentation ¶
Index ¶
- type APIConfig
- type ChartDataConfig
- type Config
- type DonatePercent
- type EventsConfig
- type FixedDiff
- type PaymentID
- type PaymentsConfig
- type PoolChartsConfig
- type Port
- type RandomRewardEventConfig
- type SoloChartsConfig
- type SoloMining
- type Stratum
- type UnlockerConfig
- type Upstream
- type VarDiffConfig
- type Website
- type WorkerID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { Enabled bool `json:"enabled"` Listen string `json:"listen"` StatsCollectInterval string `json:"statsCollectInterval"` HashrateWindow string `json:"hashrateWindow"` Payments int64 `json:"payments"` Blocks int64 `json:"blocks"` SSL bool `json:"ssl"` SSLListen string `json:"sslListen"` CertFile string `json:"certFile"` KeyFile string `json:"keyFile"` }
type ChartDataConfig ¶
type Config ¶
type Config struct { PoolHost string `json:"poolHost"` BlockchainExplorer string `json:"blockchainExplorer"` TransactionExploer string `json:"transactionExplorer"` Address string `json:"address"` DonationAddress string `json:"donationAddress"` DonationDescription string `json:"donationDescription"` Threads int `json:"threads"` Algo string `json:"algo"` Coin string `json:"coin"` CoinUnits int64 `json:"coinUnits"` CoinDecimalPlaces int64 `json:"coinDecimalPlaces"` CoinDifficultyTarget int `json:"coinDifficultyTarget"` BlockRefreshInterval string `json:"blockRefreshInterval"` HashrateExpiration string `json:"hashrateExpiration"` StoreMinerStatsInterval string `json:"storeMinerStatsInterval"` GravitonMaxSnapshots uint64 `json:"gravitonMaxSnapshots"` GravitonMigrateWait string `json:"gravitonMigrateWait"` UpstreamCheckInterval string `json:"upstreamCheckInterval"` Upstream []Upstream `json:"upstream"` Stratum Stratum `json:"stratum"` API APIConfig `json:"api"` UnlockerConfig UnlockerConfig `json:"unlocker"` PaymentsConfig PaymentsConfig `json:"payments"` Website Website `json:"website"` PoolCharts PoolChartsConfig `json:"poolcharts"` SoloCharts SoloChartsConfig `json:"solocharts"` EventsConfig EventsConfig `json:"events"` }
type DonatePercent ¶
type DonatePercent struct {
AddressSeparator string `json:"addressSeparator"`
}
type EventsConfig ¶
type EventsConfig struct { Enabled bool `json:"enabled"` RandomRewardEventConfig RandomRewardEventConfig `json:"randomrewardevent"` }
type PaymentsConfig ¶
type PoolChartsConfig ¶
type PoolChartsConfig struct { Interval int64 `json:"interval"` Hashrate ChartDataConfig `json:"hashrate"` Miners ChartDataConfig `json:"miners"` Workers ChartDataConfig `json:"workers"` Difficulty ChartDataConfig `json:"difficulty"` }
type RandomRewardEventConfig ¶
type RandomRewardEventConfig struct { Enabled bool `json:"enabled"` StartDay string `json:"startDay"` EndDay string `json:"endDay"` StepIntervalInSeconds int64 `json:"stepIntervalInSeconds"` RewardValueInDERO int64 `json:"rewardValueInDERO"` MinerPercentCriteria float64 `json:"minerPercentCriteria"` Bonus1hrDayEventDate string `json:"bonus1hrDayEventDate"` }
type SoloChartsConfig ¶
type SoloChartsConfig struct { Interval int64 `json:"interval"` Hashrate ChartDataConfig `json:"hashrate"` Miners ChartDataConfig `json:"miners"` Workers ChartDataConfig `json:"workers"` }
type SoloMining ¶
type Stratum ¶
type Stratum struct { PaymentID PaymentID `json:"paymentId"` FixedDiff FixedDiff `json:"fixedDiff"` WorkerID WorkerID `json:"workerID"` DonatePercent DonatePercent `json:"donatePercent"` SoloMining SoloMining `json:"soloMining"` Timeout string `json:"timeout"` MaxFails int64 `json:"maxFails"` HealthCheck bool `json:"healthCheck"` Ports []Port `json:"listen"` VarDiff VarDiffConfig `json:"varDiff"` }
type UnlockerConfig ¶
type VarDiffConfig ¶
Click to show internal directories.
Click to hide internal directories.