Bitcoin Forum
December 14, 2024, 01:26:25 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
  Print  
Author Topic: New stratum/getwork proxy with Web-based GUI and pools management  (Read 120895 times)
Delivereath
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
May 25, 2014, 11:20:20 AM
 #21

You're right. It's working now. Thanks.

How do I add pools and configure priority for each ?
Gamer67
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250

тσ ¢σιи σя иσт тσ ¢σιи?


View Profile
May 25, 2014, 11:26:19 AM
 #22

Excellent.

Always good to have more connection options.

"I am not Dorian Nakamoto."
bestsponsor
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
May 25, 2014, 12:04:19 PM
 #23

Is this proxy can work with betarigs.com ?

Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 25, 2014, 12:11:05 PM
 #24

Is this proxy can work with betarigs.com ?

It works between pools and betarigs...never tested between betarigs and miners...but it should work...

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 25, 2014, 12:23:15 PM
 #25

You're right. It's working now. Thanks.

How do I add pools and configure priority for each ?

you can add several pools on the command line (check the usage with "java -jar --usage"). Priority is the order of pools on command line. The first pool has the highest priority (priority 0). When the proxy is already running, you can change the priority through the API. (Check the first page of the github project).

If you compile the latest version of the proxy, you can add/remove pools through the API too. At the moment, I haven't yet developped a front-end for this API so you will have to use this kind of plugins to call the API methods:
https://addons.mozilla.org/fr/firefox/addon/poster/

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
Delivereath
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
May 25, 2014, 06:00:16 PM
 #26

Ok, I tried it once more but I don't really understand I a user and a password are needed for each pool. Can't I use the workers already configured in my rigs ? I still want to have individual workers for each rig.

It would be nice to be have to override the workers with a single user/password or to keep the workers/password already provided by the rig.
Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 25, 2014, 09:13:42 PM
 #27

Ok, I tried it once more but I don't really understand I a user and a password are needed for each pool. Can't I use the workers already configured in my rigs ? I still want to have individual workers for each rig.

It would be nice to be have to override the workers with a single user/password or to keep the workers/password already provided by the rig.

Yes, you have to provide a username and password for each pool. You loose the per worker monitoring of your pool but you can use the worker monitoring of the proxy. It is done like that since the aim of the proxy is to centralize pool configuration so you just have to put the proxy address in your miner (and no failover). Since the proxy manages pools, you configure the usernames and passwords in the proxy.

But you are right, it could be cool to keep the worker monitoring on the pool. I think I will add more options to configure pools like:
--pool-append-worker-names true/false: to append the worker name to the username configured for the pool
--pool-worker-name-separator string: the separator to use to append the worker name

For example, java -jar -h pool1.com pool2.com -u Stratehm Pfool -p x x --pool-append-worker-names true false --pool-worker-name-separator _

will use Stratehm_workerName to submit shares on pool1 and will just use Pfool to submit shares on the failover pool2.

Is it ok for you ?

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
Delivereath
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
May 25, 2014, 09:21:27 PM
 #28

Yes, that would be really nice.

Will this also allow to have a different worker difficulty for each rig ? I've different rig sizes so having the same difficulty for all rigs is not the most efficient strategy.
Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 25, 2014, 09:42:54 PM
 #29

For the difficulty, I think it will not be possible due to the difficulty management in the stratum protocol. (Connection based and not worker based).

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
Delivereath
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
May 25, 2014, 09:52:17 PM
 #30

Then, if really needed, I could run one proxy instance for each rig and have independent difficulty per worker.
Delivereath
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
May 26, 2014, 11:42:27 AM
 #31

Are you planning to add different pool management strategies like failover, loadbalance ?
Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 26, 2014, 11:53:03 AM
 #32

Failover is already available.

For loadbalancing: maybe, one day. It is not the priority. But, feel free to fork the project and to add it...

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
leicas
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
May 26, 2014, 12:59:57 PM
 #33

I have some trouble understanding the way the failover is working.
I have multiple workers set on my stratum, and they don't always switch on my pool with priority 0.
For example, on the following picture, only one worker is on the favorite pool (which is online from some time already).
http://s21.postimg.org/dfox0eehz/Capture.png

Is there a way to fix this ?
Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 26, 2014, 01:10:51 PM
 #34

All workers should be on the same pool everytime. All workers should switch to pool with priority 1 when pool with priority 0 is down. If you have some workers staying on the lower priority pool when higher priority one is UP, it may be a bug. Could you please send me the log file of the proxy ?

(0 is the highest priority)

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 26, 2014, 08:40:58 PM
 #35

0.2.0 version released with following improvements and fixes. The upgrade is highly recommended:

-Fix a bug when using failover pools. Some connections where left on lower priority pools when higher ones came back online.
-Return a JSON status on some API methods
-Update API
-Fix a log display issue when retry connection on pool
-Add pool/add and pool/remove API
-Add user management API methods (Kick, ban, unban, list banned)
-Add --pool-append-worker-names, --pool-worker-name-separator and --pool-use-worker-password options to allow some pools to see the workers through the proxy.
-Improve compatibility with some pools with which do not fully respect the stratum protocol.

https://github.com/Stratehm/stratum-proxy/releases

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
bestsponsor
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
May 27, 2014, 07:38:44 AM
 #36

Is this proxy can work with betarigs.com ?

It works between pools and betarigs...never tested between betarigs and miners...but it should work...
between betarigs and miners
betagigs uses API sgminer for monitoring rigs. You can integrate these API methods?

Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 27, 2014, 08:13:49 AM
 #37

Is this proxy can work with betarigs.com ?

It works between pools and betarigs...never tested between betarigs and miners...but it should work...
between betarigs and miners
betagigs uses API sgminer for monitoring rigs. You can integrate these API methods?

Which API methods are needed ?

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
bestsponsor
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
May 27, 2014, 09:06:13 AM
 #38

I`m not programmer.
Please ask on https://www.betarigs.com

Pfool (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
May 27, 2014, 11:34:20 AM
 #39

I have just tested the proxy between my miners and betarigs and it works fine as is. Betarigs is just a pool like others and it does not use sgminer API (I have seen anything about that on their website). Where have you seen that ?

Thanx Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
bestsponsor
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
May 27, 2014, 11:40:10 AM
 #40

but ccminer with betarigs not working

Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
  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!