Please, consider re-enabling CPU mining for ethminer. (How to do Ethash CPU mine using ethminer?) #382
Comments
Have you considered using geth? The go implementation has CPU-mining built in |
geth does not have warp sync and a GUI like Parity. I guess only solution is to use both based on my needs :(@MariusVanDerWijden |
Ah ok, yes I can see your problem... Oh i missread Sgminer is only for scrypt-based cryptocurrencies |
Another solution would be: I can use geth for mining and use parity whenever I won't do any mining. It might be inefficient that will require to store same blockchain for parity and geth nodes. I wish |
Parity never had this feature. |
Which feature? @5chdn . The problem is on the |
Have you considered a different coin/hash? |
This is about mining private chains or testnets. |
As @5chdn mention this issue was about mining private chains or testnets, that may have a small network only having few miners, which are CPU-node. @bmatthewshea |
Same point. Better off with a different hash/algo. But, if you can find an ethash that uses CPU - good luck. |
The way to go for new networks if obviously Proof-of-Authority. But this is about existing networks. 🙄 |
Is this a wont-fix? |
no, this was never a feature, and it seems it won't be one in the future |
I remember mining with ethminer on CPU several years ago, so it used to be a feature. I was surprised when I found out it was removed :) |
There was a future and I used it, please double check the features that were implemented before. @MariusVanDerWijden Please see following guide (https://ethereum.stackexchange.com/a/33722/4575): First, since it will create new DAG do on the home directory: Dependencies: Linux-based:
macOS:
Install:
Build:
To Mine with your private Ethereum-chain: Please note that This line will use full horse power:
|
Why not just use geth since it appears you already have it running on |
@bmatthewshea we are moving in circles here. please, scroll up :) |
@5chdn |
I would also appreciate this as I'm working with a private network and a stratum pool. It doesn't seem geth works with stratum so using it is not an option. |
How to init the private chain with this solution? I have create that by "eth --private "customChain" --genesis-json genesis.json --db-path data" this command. |
@avatar-lavventura, I was looking for a CPU-based miner - to use with private chains - and found yours. Thanks, great job. One question though, if you fork does not include stratum support, right? |
@rodneymo : Unfortunetly I am using private chain as well, but I completely switch to If you do not want to deal with CPU-mining, you can freely use my on going Proof-of-Authorithy chain please see (https://github.com/ebloc/eblocPOA) for the setup. |
@avatar-lavventura , thanks! Geth won't work for me as I am doing pool development and need a miner to talk to the pool via stratum. Probably need to find an older version of ethminer that has both CPU and stratum enabled. |
Have a look to one I have shared. Hope it has a support for stratum. |
Where did you share it? |
Check out my following command: #382 (comment) Repository:
|
I am currently using that one ;-) |
I found a stratum proxy, which together with your ethminer fork, solved my issue. I leave the link here in case others have similar needs: https://github.com/Atrides/eth-proxy |
@rodneymo: Great! I'm glad I could help. |
I keep coming back here every year it seems. Is this still considered a won't-fix? 😞 @avatar-lavventura your fork no longer compiles on Arch Linux :(
|
I want to mine on my Sega Dreamcast. Whats the point though? I guess with some answers to those problems the importance of supporting pointless-on-the-mainchain devices could be reprioritized. Or do a bounty for it. There is no donation income from private chains or testnets either, so I doubt anyone but those who might benefit from (or even use) the feature maintaining any code for the feature... Otherwise a feature that maybe 5 users want, out of some many thousands of 'normal' users, is not going to happen, for sure. That's like the definition of "wontfix" |
Same issue is on the ethereum.stackoverflow and have some demand for a solution: https://ethereum.stackexchange.com/questions/28062/how-to-do-ethash-cpu-mine-using-ethminer
We have tried to reach on following issue but we couldn't reach anyone related to it: #50 (comment)
Overall: "Please, consider re-enabling CPU mining for ethminer."
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.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 whyParity
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 useParity
node to do mining, it forces me to switch togeth
node to do mining.I have followed https://github.com/ethereum/cpp-ethereum .
Install:
Build:
After the build;
ethminer
used to exist underbuild
folder on older versions git-tag:(untagged-1d50efdb2f43825a1810
).After I build,
ethminer
does not exist underbuild
. So I was not able to findethminer
binary.So I have followed https://github.com/ethereum-mining/ethminer to install
ethminer
.This line to work for CPU mining:
./ethminer -F http://localhost:8545
The error I am facing with the current/latest
ethminer
:[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.Thank you for your valuable time and help.
The text was updated successfully, but these errors were encountered: