I have a Private Ethereum Network. I just want to do Ethash CPU mining using ethminer. I know that to have a smaller foot-print it is recommended to use GPU or openCL but for private networks, I only have few nodes on the network and all are CPU nodes. I just want my CPU node able to mine.
- For small private networks, I believe mining with CPU nodes, where all nodes are also CPU nodes in the network, will be no problem.
With the current model, if we have a Parity node there is no way for us to mine using a CPU node. And I am not sure why Parity forces users to mine with only GPU node. Since I do not have any GPU machine on my small private network, I am unable to use Parity node to do mining, it forces me to switch to geth node to do mining.
See more: Ethereum cpu mining
git clone -recursive nftgamef.com/ethereum/nftgamef.com cd cpp-ethereum
cmake -H. -Bbuild cmake -build build
After the build; ethminer used to exist under build folder on older versions git-tag:(untagged-1d50efdb2f43825a1810).
After I build, ethminer does not exist under build. So I was not able to find ethminer binary.
[$]~/cpp-ethereum/build$ ls _3rdParty deps libdevcore libethereum libwhisper nftgamef.com eth libdevcrypto libevm Makefile CMakeFiles ethkey libethash libp2p rlp nftgamef.com ethvm libethashseal libweb3jsonrpc test nftgamef.com include libethcore libwebthree utils
This line to work for CPU mining: ./ethminer -F http://localhost:8545
The error I am facing with the current/latest ethminer:
./ethminer ✘ 11:20:06|ethminer No OpenCL platforms found
[Q] Is there any way to prevent this error and force ethminer to mine on CPU platform? I guess we have find an older ethminer client that accepts -C/CPU flag.
I have also tried: Genoil/cpp-ethereum and it says.
./ethminer CPU mining is no longer supported in this miner. Use -G (opencl) or -U (cuda) flag to select GPU platform.
Thank you for your valuable time and help.
Note: Two bounties did not return any answer. I opened an issue under github’s ethereum-mining/ethminer hoping it will reach someone. You can follow from nftgamef.com/ethereum-mining/ethminer/issues/382.