Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StratumServer = cli.StringFlag{ Name: "server", Usage: "stratum server address,(host:port)", } MinerName = cli.StringFlag{ Name: "name", Usage: "miner name registered to the stratum server", Value: hostname, } StratumPassword = cli.StringFlag{ Name: "password", Usage: "stratum protocol password, default: no password", } Verbosity = cli.IntFlag{ Name: "verbosity", Usage: "Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3)", Value: 3, } CPUs = cli.IntFlag{ Name: "cpu", Usage: "Sets the maximum number of CPUs that can be executing simultaneously", Value: runtime.NumCPU(), } MinerThreads = cli.IntFlag{ Name: "threads", Usage: "Number of CPU threads to use for mining", Value: runtime.NumCPU(), } )
View Source
var (
CommandHelpTemplate = `` /* 399-byte string literal not displayed */
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.