all: Add GPU mining, disabled by default

This commit is contained in:
Gustav Simonsson committed 2015-10-07 13:19:30 +02:00
1 parent 8b865fa9bf
commit ec6a548ee3
42 files changed
+6764 -42

No files matched your search

+6
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",