Skip to content

Commit 897ee38

Browse files
readme & help text
1 parent bffc9df commit 897ee38

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
## MVis-ethminer
22

3-
This is a fork of Genoil's ethminer-0.9.41-genoil-1.x.x, which was a fork of the Ethereum Foundation ethminer. It is part of the [Mining Visualizer](https://github.com/mining-visualizer/Mining-Visualizer) suite of programs.
3+
This is a fork of Genoil's ethminer-0.9.41-genoil-1.x.x, which was a fork of the Ethereum Foundation ethminer. It is part of the [Mining Visualizer](https://github.com/mining-visualizer/Mining-Visualizer) suite of programs, and as such the main emphasis is on solo mining. Pool mining is currently not supported.
44

55
**Platform support** : Windows, Linux
66

77
### Distinguishing Features
88

99
* Correct hash rate reporting. The original ethminer, and Genoil's as well (I don't think he made any significant changes to this part of the code), was really bad at calculating and displaying hash rates. The numbers would jump all over the place when in fact the actual underlying hash rate was much more constant.
1010
* Best hash: the miner keeps track of the best hash found since mining the last block. In other words, it shows the closest you have come to mining a new block.
11-
* Close hits: in a similar vein, the miner tracks hashes found that were within a certain range of the target. In other words, you *almost* mined a block. These are not actually displayed by the miner, but passed on to Mining Visualizer to be displayed in the desktop widgets and the web app.
12-
* Work Units: identical to Close Hits, but set at a much lower difficulty level (on average, about 1 every 10 minutes). You could also compare these to the 'shares' you get with pool mining, except there is no reward. The purpose of this is to simply show that the miner is actually working.
13-
* GPU throttling: if any of the GPUs get too hot, the miner will start inserting pauses in the hashing algorithm to keep the temperature down. If the GPUs stay hot, the whole mining rig shuts down after a specified period of time.
14-
* Positioned screen output: instead of continuously scrolling screen output, this miner displays useful data in a statically positioned fashion. ([Screenshot](https://github.com/mining-visualizer/Mining-Visualizer/wiki/Miner#screen-output))
15-
* Temperature & fan speed reporting. Currently this is Windows only, but hopefully it will be available soon on Linux.
16-
* Hash faults: every kernel run, the CPU verifies one of the hashes computed by the GPU for correctness. Note that his is a **much higher frequency** of checking than the original ethminer, so don't be surprised if you see higher numbers.
11+
* Close hits: in a similar vein, the miner tracks hashes found that were within a certain range of the target. These are not actually displayed by the miner, but passed on to Mining Visualizer to be displayed in the desktop widgets and the web app.
12+
* Work Units: identical to Close Hits, but set at a much lower difficulty level (on average, about 1 every 10 minutes). You could compare these to the *shares* you get with pool mining, except there is no reward. The purpose of this is simply to show that the miner is actually working.
13+
* GPU throttling: if any of the GPUs get too hot, the miner will start inserting pauses in the hashing algorithm to keep the temperature down. If that proves ineffective, the whole mining rig shuts down after a specified period of time.
14+
* Positioned screen output: as opposed to continuously scrolling screen output. ([Screenshot](https://github.com/mining-visualizer/Mining-Visualizer/wiki/Miner#screen-output))
15+
* Temperature & fan speed reporting. Currently this is available only on Windows, but support for Linux should be coming soon.
16+
* Hash faults: every kernel run, the CPU verifies one of the hashes computed by the GPU for correctness. Note that this is a **much higher frequency** of checking than the original ethminer, so don't be surprised if you see higher numbers.
17+
* MinerRPC: a RPC-UDP protocol was implemented to allow the miner to talk to Mining Visualizer.
1718
* A few bug fixes and optimizations which might result in slightly higher hash rate.
1819

1920

ethminer/MinerAux.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,9 @@ class MinerCLI
580580
<< " Mining configuration:" << endl
581581
<< " -C,--cpu CPU mining" << endl
582582
<< " -G,--opencl When mining use the GPU via OpenCL." << endl
583+
<< " --cl-local-work <n> Set the OpenCL local work size. Default is " << toString(ethash_cl_miner::c_defaultLocalWorkSize) << endl
584+
<< " --cl-work-multiplier <n> This setting times cl-local-work equals the number of hashes computed per kernel run (ie. global " << endl
585+
<< " work size). (Default: " << toString(ethash_cl_miner::c_defaultWorkSizeMultiplier) << ")" << endl
583586
#if ETH_ETHASHCUDA
584587
<< " -U,--cuda When mining use the GPU via CUDA." << endl
585588
<< " -X,--cuda-opencl Use OpenCL + CUDA in a system with mixed AMD/Nvidia cards. May require setting --opencl-platform 1" << endl
@@ -595,9 +598,6 @@ class MinerCLI
595598
<< " sequential - load DAG on GPUs one after another. Use this when the miner crashes during DAG generation" << endl
596599
<< " single <n> - generate DAG on device n, then copy to other devices" << endl
597600
<< " --cl-extragpu-mem <n> Set the memory (in MB) you believe your GPU requires for stuff other than mining. default: 0" << endl
598-
<< " --cl-local-work <n> Set the OpenCL local work size. Default is " << toString(ethash_cl_miner::c_defaultLocalWorkSize) << endl
599-
<< " --cl-work-multiplier <n> This setting times cl-local-work equals the number of hashes computed per kernel run (ie. global " << endl
600-
<< " work size). (Default: " << toString(ethash_cl_miner::c_defaultWorkSizeMultiplier) << ")" << endl
601601
#if ETH_ETHASHCUDA
602602
<< " --cuda-extragpu-mem Set the memory (in MB) you believe your GPU requires for stuff other than mining. Windows rendering e.t.c.." << endl
603603
<< " --cuda-block-size Set the CUDA block work size. Default is " << toString(ethash_cuda_miner::c_defaultBlockSize) << endl
@@ -616,7 +616,7 @@ class MinerCLI
616616
<< " --verify-dag - Spot check DAG entries " << endl
617617
<< " --config <FileSpec> - Full path to an INI file containing program options. Windows default: %LocalAppData%/ethminer/ethminer.ini " << endl
618618
<< " Linux default: $HOME/.config/ethminer/ethminer.ini. If this option is specified, it must appear before " << endl
619-
<< " all others."
619+
<< " all others." << endl
620620
;
621621
} // streamHelp
622622

ethminer/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ void help()
9393
<< " Options:" << endl << endl;
9494
MinerCLI::streamHelp(cout);
9595
cout
96+
<< endl
9697
<< " General Options:" << endl
9798
<< " -V,--version Show the version and exit." << endl
9899
<< " -h,--help Show this help message and exit." << endl

0 commit comments

Comments
 (0)