Pages:
Author

Topic: New stratum/getwork proxy with Web-based GUI and pools management - page 33. (Read 120841 times)

sr. member
Activity: 434
Merit: 250
Good job, but yep we need something for nvidia cards also.
legendary
Activity: 1400
Merit: 1050
wohoo a new stratum for slow miner only  Grin

I know I shouldn't feed the troll... Sad

Quick response: Load the proxy with high number of connections and hashing power  and share your result. I will be happy to improve performance if needed  Tongue
I mean, why not developing something for nvidia cards ? (that's what I meant)
full member
Activity: 217
Merit: 100
wohoo a new stratum for slow miner only  Grin

I know I shouldn't feed the troll... Sad

Quick response: Load the proxy with high number of connections and hashing power  and share your result. I will be happy to improve performance if needed  Tongue
hero member
Activity: 708
Merit: 502
Hi,

Thank you for using the proxy.

You need to have the same numbers of users and passwords as the numbers of pools on the command line. In your command line, you should have java -jar stratum.jar --pool-connection-retry-delay 1 --pool-hashrate-sampling-period 60  --stratum-listen-port 19999 -h eu.com:4440 us.com:4444 west01.us.trademybit.com:4444 -p x x x -u user.7 user.7 user.7 if the usernames and passwords are the same for each pools.

The usernames and passwords have to be in the same orders as the pools.

I will add a more explicit message when this kinf of error happens.


Ok done, it`s now working - will get more detailed feedback today!
Thank you
legendary
Activity: 1400
Merit: 1050
wohoo a new stratum for slow miner only  Grin
full member
Activity: 217
Merit: 100
Hi,

Thank you for using the proxy.

You need to have the same numbers of users and passwords as the numbers of pools on the command line. In your command line, you should have java -jar stratum.jar --pool-connection-retry-delay 1 --pool-hashrate-sampling-period 60  --stratum-listen-port 19999 -h eu.com:4440 us.com:4444 west01.us.trademybit.com:4444 -p x x x -u user.7 user.7 user.7 if the usernames and passwords are the same for each pools.

The usernames and passwords have to be in the same orders as the pools.

I will add a more explicit message when this kinf of error happens.
hero member
Activity: 708
Merit: 502
Hi. So I installed this proxy here is what I got after first attempt to start it:

xxx@Stratum:~/java_stratum/target#  java -jar stratum.jar --pool-connection-retry-delay 1 --pool-hashrate-sampling-period 60  --stratum-listen-port 19999 -h eu.com:4440 us.com:4444 west01.us.trademybit.com:4444 -p x -u user.7
Log directory not set or available. Use the tmp OS directory.
2014-05-20 22:11:39,268 INFO     [main]:strat.mining.stratum.proxy.Launcher - LogLevel not set, using INFO.
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at strat.mining.stratum.proxy.cli.CommandLineOptions.getPools(CommandLineOptions.java:134)
        at strat.mining.stratum.proxy.Launcher.initProxyManager(Launcher.java:129)
        at strat.mining.stratum.proxy.Launcher.main(Launcher.java:92)
2014-05-20 22:11:39,320 INFO     [Thread-0]:strat.mining.stratum.proxy.Launcher$1 - User requested shutdown... Gracefuly kill all connections...
2014-05-20 22:11:39,320 INFO     [Thread-0]:strat.mining.stratum.proxy.Launcher$1 - Shutdown !

Please advise.

Thank you.
full member
Activity: 217
Merit: 100
Hi all,

I have released a new Stratum proxy implemented in Java (Windows/Linux/Mac... just install a JVM).

Here after are the main functionnalities:

-Several pool switching strategies (PriorityFailover, WeightedRoundRobin and more to come)
-Up to 256 workers at the same time (stratum and getwork)
-REST API (pool monitoring, change pool priority, workers stats and much more)
-Friendly Web-Based client with hashrate graphs.
-Support Extranonce notification to avoid disconnection when switching pool.

This proxy may be used to centralize the pool management in a single place. No need to configure pools on each workers, just configure the pools on the proxy and connect your workers to the proxy.

It may be useful if you rent some hashing power on sites like betarigs, leaserig or nicehash to monitor what is really happening. Just connect the leased rigs to the proxy and the proxy to the pools(s) (take care of your bandwith to avoid rejects).

And many things I haven't thought about...

  Pool A <---+                               +-------------+ Rig1                                        
 (Active)     |                                |                                                
                 |                                +-------------+ Rig2                      
                 |                                |                                                
  Pool B <---+ StratumProxy  <------+-------------+ Rig3                                  
(FailOver)    |                                |                                                
                 |                                +-------------+ Rig4                    
                 |                                |                                                
  Pool C <---+                               +-------------+ NiceHash
(FailOver)                                     |
                                                  +-------------+ betarigs
                                                  |
                                                  +-------------+ leaserig


Source code : https://github.com/Stratehm/stratum-proxy
Binaries: https://github.com/Stratehm/stratum-proxy/releases

It has been tested with SHA256, Scrypt, X11 and X13 pools (but should work with all algorithm supporting stratum).

/!\ This proxy does not work with cryptoNight pools. The pool mining protocol of cryptoNight pools is stratum-like but not stratum.

Thank you for testing and your feedback...

WARN: CGMiner 3.7.2 is not compatible with Stratum proxies (this one and others)  due to a bug on the extranonce2 size management. You can use sgminer instead or some forks of cgminer which include the fix. If using cgminer 3.7.2, you will have 100% rejects  (generally with message Share above target).
This bug has been fixed in later version of cgminer, but it no more supports scrypt mining.
EDIT: You can use the Getwork protocol instead of stratum with CGminer 3.7.2.

Client example:
Pages:
Jump to: