Documentation
¶
Overview ¶
Copyright 2020 cryptonote.social. All rights reserved. Use of this source code is governed by the license found in the LICENSE file.
Copyright 2020 cryptonote.social. All rights reserved. Use of this source code is governed by the license found in the LICENSE file.
Index ¶
Constants ¶
View Source
const ( APPLICATION_NAME = "cryptonote.social Monero miner" VERSION_STRING = "0.3.3" STATS_WEBPAGE = "https://cryptonote.social/xmr" DONATE_USERNAME = "donate-getmonero-org" INVALID_EXCLUDE_FORMAT_MESSAGE = "invalid format for exclude specified. Specify XX-YY, e.g. 11-16 for 11:00am to 4:00pm." )
View Source
const ( // Valid machine state changes SCREEN_IDLE = 0 SCREEN_ACTIVE = 1 BATTERY_POWER = 2 AC_POWER = 3 )
Variables ¶
This section is empty.
Functions ¶
func Mine ¶
func Mine(c *MinerConfig) error
func MultiMain ¶
func MultiMain(s MachineStater, agent string)
Types ¶
type MachineState ¶
type MachineState int
type MachineStater ¶
type MachineStater interface { // Returns a channel that produces events when screen state & power state of the machine // changes. GetMachineStateChannel(saver bool) (chan MachineState, error) }
Directories
¶
Path | Synopsis |
---|---|
Package crylog provides functionality for logging.
|
Package crylog provides functionality for logging. |
Package rx provides Go access to various randomx library methods.
|
Package rx provides Go access to various randomx library methods. |
stratum
|
|
client
package client implements a basic stratum client that listens to jobs and can submit shares
|
package client implements a basic stratum client that listens to jobs and can submit shares |
Click to show internal directories.
Click to hide internal directories.