Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinerWorker ¶
type MinerWorker struct {
// contains filtered or unexported fields
}
func NewMinerWorker ¶
func NewMinerWorker(cnf *MinerWorkerConfig) *MinerWorker
func (*MinerWorker) SetPowWorker ¶
func (m *MinerWorker) SetPowWorker(worker interfaces.PowWorker)
Mining actuator
type MinerWorkerConfig ¶
type MinerWorkerConfig struct { PoolAddress *net.TCPAddr Rewards fields.Address // Reward address IsReportHashrate bool // Whether to report the calculation force }
func NewEmptyMinerPoolWorkerConfig ¶
func NewEmptyMinerPoolWorkerConfig() *MinerWorkerConfig
func NewMinerWorkerConfig ¶
func NewMinerWorkerConfig(cnffile *sys.Inicnf) *MinerWorkerConfig
Click to show internal directories.
Click to hide internal directories.