Bitcoin Forum
May 27, 2024, 06:41:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ANN] Stratum support for scrypt mining has been added for cgminer/reaper  (Read 5047 times)
tacotime (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
December 20, 2012, 04:36:25 AM
 #1

Stratum mining allows LTC pools to achieve less than 0.5% stales.  The only current pool to implement it is ltcmine.ru.  If you check out their list of miners there, you will see that many are mining with quantities of stales as low as 0.2%.

Latest version of cgminer to support it is 2.10.2
The reaper version that supports stratum is here: https://bitcointalk.org/index.php?topic=92522.msg1372243#msg1372243

I think as a community we work on getting stratum support for more pools, so that you guys pool mining all get more litecoin.  Currently, PoolServerJ supports both litecoin mining and stratum.

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
Nicksasa
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile WWW
December 20, 2012, 10:44:47 AM
 #2

What ? As far as I know, the official poolserverj has no stratum support and scrypt support is still broken.

tacotime (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
December 20, 2012, 04:05:33 PM
 #3

Isn't poolserverj the backend for ltcmine.ru?  Unless I'm mistaken

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
December 21, 2012, 08:19:10 AM
Last edit: December 21, 2012, 09:16:59 AM by Balthazar
 #4

No, we are not using poolserverj for ltc pool.

Don't know about cgminer, but our stratum-mining-proxy fork works fine.

There is a mistake in first post, our reaper fork doesn't support stratum for now, and i recommend to use it in combination with our proxy. But it's planned to implement native support.
Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
December 21, 2012, 10:54:56 AM
Last edit: December 21, 2012, 11:09:24 AM by Balthazar
 #5

Tested cgminer 2.10.2, and it's doesn't work. So, our mining-proxy is the only way to mine through stratum/ltc, for now.

P.S. I've planned some changes in LTC version of stratum protocol, to make it more correct and clear (in terms of difficulty, for example).
-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
December 21, 2012, 11:29:42 AM
 #6

Tested cgminer 2.10.2, and it's doesn't work.
Care to explain why cgminer natively doesn't work? Is the problem in cgminer or the pool's stratum implementation?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
December 21, 2012, 11:34:35 AM
Last edit: December 21, 2012, 02:14:46 PM by Balthazar
 #7

Tested cgminer 2.10.2, and it's doesn't work.
Care to explain why cgminer natively doesn't work? Is the problem in cgminer or the pool's stratum implementation?
I think that cgminer uses 0x00000000ffff0000000000000000000000000000000000000000000000000000 as the maximum target for LTC (instead of 0x0000ffff00000000000000000000000000000000000000000000000000000000) while current target calculation, but it's only my guess. If I'm right, then it's actually working, but sets unreally hard difficulty for shares... And as a result,  miner can't solve it.
Nicksasa
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile WWW
December 21, 2012, 02:49:55 PM
 #8

Tested cgminer 2.10.2, and it's doesn't work.
Care to explain why cgminer natively doesn't work? Is the problem in cgminer or the pool's stratum implementation?
I think that cgminer uses 0x00000000ffff0000000000000000000000000000000000000000000000000000 as the maximum target for LTC (instead of 0x0000ffff00000000000000000000000000000000000000000000000000000000) while current target calculation, but it's only my guess. If I'm right, then it's actually working, but sets unreally hard difficulty for shares... And as a result,  miner can't solve it.
Yep, here's my patch.
http://pastie.org/private/b5jve8ebgynaidu3yv22a
replace set_work_target in cgminer.c with that one, if someone could post a windows build with that it would be nice since I've only compiled this on linux and I have no AMD cards anymore.

Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
December 21, 2012, 04:45:24 PM
 #9

del

// checking in progress  Roll Eyes
Nicksasa
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile WWW
December 21, 2012, 04:51:17 PM
 #10

Tested cgminer 2.10.2, and it's doesn't work.
Care to explain why cgminer natively doesn't work? Is the problem in cgminer or the pool's stratum implementation?
I think that cgminer uses 0x00000000ffff0000000000000000000000000000000000000000000000000000 as the maximum target for LTC (instead of 0x0000ffff00000000000000000000000000000000000000000000000000000000) while current target calculation, but it's only my guess. If I'm right, then it's actually working, but sets unreally hard difficulty for shares... And as a result,  miner can't solve it.
Yep, here's my patch.
http://pastie.org/private/b5jve8ebgynaidu3yv22a
replace set_work_target in cgminer.c with that one, if someone could post a windows build with that it would be nice since I've only compiled this on linux and I have no AMD cards anymore.

It generates 0000000000000000000000000000000000000000000000f0ff0f000000000000 for diff-16 Shocked
Weird, i don't see the problem though

Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
December 21, 2012, 05:06:05 PM
 #11

Unfortunately, I can't check this patch on my current machine, because it have no opencl support and cgminer can't mine scrypt on CPU.  Sad
Nicksasa
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile WWW
December 21, 2012, 05:07:33 PM
 #12

Unfortunately, I can't check this patch on my current machine, because it have no opencl support and cgminer can't mine scrypt on CPU.  Sad
Exactly my problem hehe

-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
December 21, 2012, 09:13:50 PM
 #13

Tested cgminer 2.10.2, and it's doesn't work.
Care to explain why cgminer natively doesn't work? Is the problem in cgminer or the pool's stratum implementation?
I think that cgminer uses 0x00000000ffff0000000000000000000000000000000000000000000000000000 as the maximum target for LTC (instead of 0x0000ffff00000000000000000000000000000000000000000000000000000000) while current target calculation, but it's only my guess. If I'm right, then it's actually working, but sets unreally hard difficulty for shares... And as a result,  miner can't solve it.
Yes that makes sense thanks. I shall fix it.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
penek
Legendary
*
Offline Offline

Activity: 976
Merit: 1003



View Profile
December 22, 2012, 06:52:13 PM
 #14

Yes that makes sense thanks. I shall fix it.
Using cgminer 2.10.2 with fix on ltcmine.ru, work stable, but:
What is it?
Code:
 [2012-12-22 22:44:09] Accepted a911f93f Diff 1/24 GPU 0
 [2012-12-22 22:44:12] Accepted cfd9062f Diff 1/24 GPU 0
 [2012-12-22 22:44:16] Accepted d3ceed4f Diff 1/24 GPU 0
 [2012-12-22 22:44:33] Accepted b5941bf1 Diff 1/65 GPU 0
 [2012-12-22 22:44:45] Accepted b6b60279 Diff 1/65 GPU 0
 [2012-12-22 22:44:59] Accepted 64c15c24 Diff 2/65 GPU 0
 [2012-12-22 22:45:15] Accepted c6d03f24 Diff 1/65 GPU 0
 [2012-12-22 22:45:23] Accepted 55554a31 Diff 2/65 GPU 0
 [2012-12-22 22:45:28] Accepted a686d6ba Diff 1/65 GPU 0
 [2012-12-22 22:45:48] Accepted 6af3a579 Diff 2/65 GPU 0
&&
Code:
 [2012-12-22 18:42:09] Rejected 522c6400 Diff 3/49 GPU 0  (high-hash) 
 [2012-12-22 18:43:16] Rejected 74a2881b Diff 2/35 GPU 0  (non-hexadecimal number found
 [2012-12-22 18:47:12] Rejected 4c821275 Diff 3/48 GPU 0  (non-hexadecimal number found
 [2012-12-22 18:48:22] Rejected bb7fc4ba Diff 1/55 GPU 0  (non-hexadecimal number found
 [2012-12-22 18:49:51] Rejected d912b0f4 Diff 1/55 GPU 0  (high-hash)
 [2012-12-22 19:01:08] Rejected 1f5840db Diff 8/32 GPU 0  (non-hexadecimal number found
 [2012-12-22 19:02:10] Rejected d271655c Diff 1/64 GPU 0  (non-hexadecimal number found
 [2012-12-22 19:10:20] Rejected f98d9a24 Diff 1/38 GPU 0  (non-hexadecimal number found

Фaкт — caмaя yпpямaя в миpe вeщь. © M.A.Бyлгaкoв «Macтep и Mapгapитa»
-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
December 23, 2012, 04:32:01 AM
 #15

Yes that makes sense thanks. I shall fix it.
Using cgminer 2.10.2 with fix on ltcmine.ru, work stable, but:
I haven't posted a release with the fixes yet so not sure what you're using. Only one part of the fix has even made it into git. Other changes need to follow.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
penek
Legendary
*
Offline Offline

Activity: 976
Merit: 1003



View Profile
December 23, 2012, 07:28:28 AM
 #16

Yes that makes sense thanks. I shall fix it.
Using cgminer 2.10.2 with fix on ltcmine.ru, work stable, but:
I haven't posted a release with the fixes yet so not sure what you're using. Only one part of the fix has even made it into git. Other changes need to follow.
I mean that fix. Waiting for new release.

Фaкт — caмaя yпpямaя в миpe вeщь. © M.A.Бyлгaкoв «Macтep и Mapгapитa»
tacotime (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
December 23, 2012, 06:29:23 PM
 #17

Updating the mining guide with more information on how to run stratum correctly with ltcmine.ru

if you are getting high stales make sure you are using the mining proxy!

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
December 23, 2012, 08:15:45 PM
 #18

high stales
It's not a stales. It's just an invalid shares. Roll Eyes
-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
December 25, 2012, 11:57:20 PM
 #19

Updated cgminer and tested it successfully mining on the only stratum ltc pool:
https://bitcointalk.org/index.php?topic=28402.msg1419834#msg1419834
(lots of other new scrypt goodies in this release too).


Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
crazyearner
Legendary
*
Offline Offline

Activity: 1820
Merit: 1001



View Profile
December 26, 2012, 04:44:33 AM
 #20

Updated cgminer and tested it successfully mining on the only stratum ltc pool:
https://bitcointalk.org/index.php?topic=28402.msg1419834#msg1419834
(lots of other new scrypt goodies in this release too).



2.10.3 working fine on here and what is statum anyway care to alterable on this more ?

=
  R E B E L L I O U S 
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  R E B E L L I O U S
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!