New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cryptonight rework #1577
Cryptonight rework #1577
Conversation
Hello. I changed the files but something is not working properly. Can you check what I did wrong? |
The change to cryptonightv7 seems to be working on nicehash. I to am getting the same error as reported by @unikon2450 it looks like some part of the code cant find a property. It looks like its parsing the '-' in cryptonight-lite as a parameter. |
Thank you for your valuable feedback! I've made some changes which hopefully fix the reported issue. Please try again and report back. TIA! |
I still have a problem with MPH. MPM does not work on this pool. MPM does not even begin to test miners in cryptonight. |
@UselessGuru So far I have not been getting the error that it can't find file that @unikon2450 mentioned when mining nicehash, I have all the tests of Claymore going, and they have all passed and appear to work correctly. I can confirm @unikon2450 that MPM is not even testing benchmarks for cryptonight on MultiPoolHub. It appears it isn't matching that it is an option on that pool. |
@UselessGuru it appears changing the -eq to -Like so it will take advantage of the wildcard was the intent of the change. |
Thanks @station384 - looks like you are correct, I've made those changes and the algorithms show up now. Seeing a lot of failed connection issues on the miners though - not sure if pool issues or it's not setting the pool parameters properly. |
It looks like the miners are trying to use the URL of us-east.hub.miningpoolhub.com:20580 instead of us-east.cryptonight-hub.miningpoolhub.com:20580 |
MPH / MPHC send inconsistent data through API for cryptonight / monero... I fixed the pool files accordingly - see if it works... :-) |
MPH / MPHC send wrong data through it API for cryptonight / monero... API says: 'host: hub.miningpoolhub.com' Web page says: [location].cryptonight-hub.miningpoolhub.com
i think u forgot about "monero7" for xmr-stak. |
Why? According to documentation this should be sufficient:
Does it not work? Note that not all pools expose the coin/currency name :( |
US should be us-east.cryptonight-hub.miningpoolhub.com:20580 and not us.cryptonight-hub.miningpoolhub.com. |
I had to change FireiceCpu.ps1 to reflect what MPH is looking for in the currency / coin field (Without this change MPH kept rejecting submissions from xmr-stak) : Additionally I modified Miningpoolhub.ps1 to reflect the host properly: I'm aware that this is a hard coded fix and isn't ideal, it was late at night and I just wanted to get it working before I went to bed. Seemed to work well and it continued to mine as expected all evening. Here's some of the log shown by xmr-stak.exe onscreen with those changes (I took out lines that weren't relevant) :
|
- Fix URL - Fix Coinname for MPH
Yet another try fixing the cryptonight mess :)
Fixed. For Fireice (Xmr-Stak) currency (e.g. monero7) will be set if pool sends coin by API. If no coin name is available through API the algorithm will be used instead (e.g.
Fixed. Changed MPH / MPHC url for cryptonight I am interested how (if???) cryptonight mining is working on nicehash - nicehash lists cryptonight AND cryptonight7 as available algorithms, but does not say what currency they are mining with. |
based on algorithm.txt and past ccminer "algo" , (eg. poly, polytimos) |
seems to work but after awhile pwsh.exe takes 100% system memory.. didnt do it on the main branch. |
this doesn't seems to work. My vega 64 are a lot better for cryptonight v7 and the benchmark select ETH+pasc |
I cannot think of one. That cryptonight stuff is a total mess... I am not happy with where we are now :-( |
@UselessGuru i added algo into algorigthm.txt. and do not have include.ps1 as urs here. |
I'm testing this. Not done yet, but have some questions/comments already:
|
KlausT has a Cryptonight only miner out. Posting just FYI. |
Prospector uses XMR as it's name, so this needed to be updated for Prospector to run at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, it works. Ready to merge.
I've been able to confirm that all of the updated miners are working properly with the new algorithms and reporting successful shares to the pool - Cast, ClaymoreAmd, ClaymoreCpu, FireiceNvidia, FireiceAmd, FireiceCpu, XMrigAmd, and XMrigNvidia all work perfectly for me. Prospector crashes and doesn't seem to like my hardware very much, but does get a valid configuration and seem to work. Both MiningPoolHub and Nicehash work fine. Those seem to be the only pools that support CryptoNightV7. There are probably other miners that have added support for CryptoNightV7, but they can be added later in a separate PR. |
Please test - I cannot test myself at the moment!!!
This PR enables all 4 cryptonight algorithms
This whole monero / Cryptonight fork is a mess! See here:
xmrig/xmrig#482
There are now 4 different cryptonight algorithms:
Cryptonight (old)
CryptonightLite
CryptonightHeavy
CryptonightV7
And it all depends on the coin name. Grr...
Only two MPM supported pools allow mining cryptonight: Nicehash & MPH/MPHC
Currently only NiceHash properly list CryptonightV7 as new algorithm.
MPH / MPHC send inconsistent data through the API which differs from what it says on the web page.