all: Add GPU mining, disabled by default

This commit is contained in:
Gustav Simonsson
2015-06-12 07:45:23 +02:00
parent 8b865fa9bf
commit ec6a548ee3
42 changed files with 6764 additions and 42 deletions

View File

@ -149,6 +149,12 @@ var (
}
// miner settings
// TODO: refactor CPU vs GPU mining flags
MiningGPUFlag = cli.StringFlag{
Name: "minegpu",
Usage: "Mine with given GPUs. '--minegpu 0,1' will mine with the first two GPUs found.",
}
MinerThreadsFlag = cli.IntFlag{
Name: "minerthreads",
Usage: "Number of miner threads",