|
cryptonit
Legendary
Offline
Activity: 3052
Merit: 1053
bit.diamonds | uNiq.diamonds
|
|
May 13, 2014, 08:41:07 AM |
|
groestlcoin did choose using regarding transactions sha256 instead of sha256d which most coins uses diamond did stay on the established standard of sha256d at solomining this doesnt matter because transactions are handled inside wallet at stratum mining block have to be prepared by miner + stratum the right way to be accepted by the wallet
|
|
|
|
pallas
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
May 13, 2014, 08:43:54 AM |
|
groestlcoin did choose using regarding transactions sha256 instead of sha256d which most coins uses diamond did stay on the established standard of sha256d at solomining this doesnt matter because transactions are handled inside wallet at stratum mining block have to be prepared by miner + stratum the right way to be accepted by the wallet could you point me to the related change in the commits? many thanks!
|
|
|
|
cryptonit
Legendary
Offline
Activity: 3052
Merit: 1053
bit.diamonds | uNiq.diamonds
|
|
May 13, 2014, 08:45:38 AM |
|
http://dmdchain.cyber.si/ is the block explorer as stated on first page of this ANN thread website is going through a relaunch info's there not up to date for cryptsy deposit and withdrawal troubles please get in touch with their support it seems they still didn't finish their wallet upgrade
|
|
|
|
cryptonit
Legendary
Offline
Activity: 3052
Merit: 1053
bit.diamonds | uNiq.diamonds
|
|
May 13, 2014, 08:47:17 AM |
|
could you point me to the related change in the commits? many thanks!
these answer i have to leave for danbi i dont work with code
|
|
|
|
srcxxx
|
|
May 13, 2014, 08:56:58 AM |
|
could you point me to the related change in the commits? many thanks!
these answer i have to leave for danbi i dont work with code This is the most important code: if (gpus[0].kernel == KL_FUGUECOIN || gpus[0].kernel == KL_GROESTLCOIN || gpus[0].kernel == KL_TWECOIN) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
As you can see, Groestlcoin will go into sha256(), while Diamondcoin will go into gen_hash()
|
|
|
|
danbi
|
|
May 13, 2014, 09:08:58 AM |
|
could you point me to the related change in the commits? many thanks!
these answer i have to leave for danbi i dont work with code This is the most important code: if (gpus[0].kernel == KL_FUGUECOIN || gpus[0].kernel == KL_GROESTLCOIN || gpus[0].kernel == KL_TWECOIN) sha256(pool->coinbase, pool->swork.cb_len, merkle_root); else gen_hash(pool->coinbase, merkle_root, pool->swork.cb_len);
As you can see, Groestlcoin will go into sha256(), while Diamondcoin will go into gen_hash() Correct. It took me a lot of time to realize the solution is *that* simple, but I eventually went for adding the full support for a new kernel, 'diamond'. The reason is that at some future time GroestlCoin might change something and we will end up with non functional miner by depending on their algorithm/special case. I also skimmed by not cloning the groestl function processing as well, but will likely do it at later date (add diamond specific hasing functions), so again, if GroestlCoin spec is changed, we don't suffer. Since all these changes are rather trivial, I would expect other mining software to adapt. I modified only this miner, because it's what I use. If theer is interest, I can look at the code of other miners as well. Just don't ask me to compile on Windows!
|
BTC: 15cJkRupKAkGr6sTxj1Uzb6uHbvuRyK1GL DMD: dJZEqNcjiUiMMd8DKBFS9oMWtArAD2GCHr
|
|
|
pallas
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
May 13, 2014, 09:18:27 AM |
|
thanks danbi, srcxxx and cryptonit for the information, very helpful! :-)
|
|
|
|
Jarski
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 13, 2014, 09:42:22 AM Last edit: May 13, 2014, 12:51:46 PM by Jarski |
|
I compiled windows sgminer from the source. Tested and works with stratum with diamond kernel! Enjoy!] https://mega.co.nz/#!bEVQFYCQ!99KjGDsNMWpXKqlfWdaWQxaRto-XxE-jj9liEs9ojTM Any DMD tips can be sent here: daVzPCTzZFytFGmjHERfzXiEpQYevnwxpq Change your sgminer.conf "kernel" : "groelstcoin" to "kernel" : "diamond" If share difficulty too high (16) add: "difficulty-multiplier" : "0.00390625"
|
|
|
|
srcxxx
|
|
May 13, 2014, 10:14:15 AM |
|
I compiled windows sgminer from the source. Tested and works with stratum with diamond kernel! Enjoy!] https://mega.co.nz/#!bEVQFYCQ!99KjGDsNMWpXKqlfWdaWQxaRto-XxE-jj9liEs9ojTM Any DMD tips can be sent here: daVzPCTzZFytFGmjHERfzXiEpQYevnwxpq Doesn't work for me. Says "waiting for work to be available from pools" for some time and then that no pools can connect. Tried 3 times. Pool URL is correct, internet works ok. Perhaps missing some library/dll ? Thanks
|
|
|
|
srcxxx
|
|
May 13, 2014, 10:24:35 AM Last edit: May 13, 2014, 12:01:37 PM by srcxxx |
|
could you point me to the related change in the commits? many thanks!
these answer i have to leave for danbi i dont work with code Hi! Is there an updated daemon for unix? I've been troubleshooting why my pool doesn't work and here's what I see: 2014-05-12 12:16:50 [Pool] [diamondcoin] (Thread 1) rpc error with daemon instance 0 when submitting block with submitblock {"code":-2,"message":"Safe mode: WARNING: Invalid checkpoint found! Displayed transactions may not be correct! You may need to upgrade, or notify developers."}
Thanks! Update: recompiled version 2.0.1 from source. Hopefully, it'll fix all problems.
|
|
|
|
djm34
Legendary
Offline
Activity: 1400
Merit: 1050
|
|
May 13, 2014, 10:25:51 AM |
|
For people interested, you can find also a modified version of ccminer (nvidia card) working with DMD stratum. https://bitcointalk.org/index.php?topic=167229.msg6695779#msg6695779The modification is similar to the one applied to the sgminer. btw: Can we know which pool are working or not ? What about Dwarfpool ? may-be Atrides should be recontacted so he can implement the mod to his pool
|
djm34 facebook pageBTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
|
|
|
Jarski
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 13, 2014, 10:40:06 AM |
|
I compiled windows sgminer from the source. Tested and works with stratum with diamond kernel! Enjoy!] https://mega.co.nz/#!bEVQFYCQ!99KjGDsNMWpXKqlfWdaWQxaRto-XxE-jj9liEs9ojTM Any DMD tips can be sent here: daVzPCTzZFytFGmjHERfzXiEpQYevnwxpq Doesn't work for me. Says "waiting for work to be available from pools" for some time and then that no pools can connect. Tried 3 times. Pool URL is correct, internet works ok. Perhaps missing some library/dll ? Thanks It only works on danbi's pool I think: http://dmdpool.digsys.bg/index.phpI am currently mining there with stratum. Remember to use stratum port 3333 instead of 3345.
|
|
|
|
Semedisenape
|
|
May 13, 2014, 11:21:34 AM |
|
So it's stratum+tcp://dmdpool.digsys.bg:3333 ? Cause I can't with it on Xubuntu
|
|
|
|
NoxX
|
|
May 13, 2014, 12:18:00 PM |
|
Are you sure it actually generates accepted shares? For me it does run with stratum+tcp and port 3333, but I don't get any accepted shares...
|
|
|
|
pallas
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
May 13, 2014, 12:21:06 PM |
|
Are you sure it actually generates accepted shares? For me it does run with stratum+tcp and port 3333, but I don't get any accepted shares... I'm on ubuntu and it's working with the latest miner from danbi (git clone, autogen, configure, make)
|
|
|
|
johndec2
|
|
May 13, 2014, 12:24:30 PM |
|
Did you change the -k parameter in your bat file from groestlcoin to diamond? Caught me out at first. Mining like crazy but no accepts. Changed it and all good! Are you sure it actually generates accepted shares? For me it does run with stratum+tcp and port 3333, but I don't get any accepted shares...
|
|
|
|
Semedisenape
|
|
May 13, 2014, 12:35:36 PM |
|
Did you change the -k parameter in your bat file from groestlcoin to diamond? Caught me out at first. Mining like crazy but no accepts. Changed it and all good! Are you sure it actually generates accepted shares? For me it does run with stratum+tcp and port 3333, but I don't get any accepted shares... I have kernel groestlcoin in sgminer.conf. Must I change in diamond?
|
|
|
|
johndec2
|
|
May 13, 2014, 12:40:53 PM |
|
If you are using Jarski's windows stratum miner, yes.
|
|
|
|
Jarski
Newbie
Offline
Activity: 16
Merit: 0
|
|
May 13, 2014, 12:48:06 PM |
|
Did you change the -k parameter in your bat file from groestlcoin to diamond? Caught me out at first. Mining like crazy but no accepts. Changed it and all good! Are you sure it actually generates accepted shares? For me it does run with stratum+tcp and port 3333, but I don't get any accepted shares... I have kernel groestlcoin in sgminer.conf. Must I change in diamond? Yes you should use diamond kernel. "kernel" : "diamond" Also if you have share difficulty 16, which is too high, use this: "difficulty-multiplier" : "0.00390625" Happy mining!
|
|
|
|
|