Pages:
Author

Topic: [XMR] Monero stratum proxy (open-source) - page 3. (Read 81869 times)

hero member
Activity: 658
Merit: 500
Admin of DwarfPool.com
August 12, 2014, 11:11:24 AM
#7
Does it work on other pools such as http://monero.crypto-pool.fr/

Not now, I'll send patch to zone117x
hero member
Activity: 896
Merit: 1000
August 12, 2014, 11:05:49 AM
#6
Does it work on other pools such as http://monero.crypto-pool.fr/
hero member
Activity: 658
Merit: 500
Admin of DwarfPool.com
August 12, 2014, 10:51:15 AM
#5
Can we use Claymore's GPU miner?
Will it bypass Claymore's fee?

I doesn't know how claymore's miner work. Just test it.

Can it be used in Windows?

I developed and tested it on Linux, windows must works but I can not guarantee it.
If you really need it you can buy 1$-VPS to install it.
hero member
Activity: 896
Merit: 1000
August 12, 2014, 10:03:25 AM
#4

Can we use Claymore's GPU miner?

Will it bypass Claymore's fee?

Can it be used in Windows?
hero member
Activity: 658
Merit: 500
Admin of DwarfPool.com
member
Activity: 104
Merit: 10
August 12, 2014, 09:08:05 AM
#2
Looks nice.
When will this proxy release?
hero member
Activity: 658
Merit: 500
Admin of DwarfPool.com
August 12, 2014, 06:31:26 AM
#1
Hi all, I have released open source Monero stratum proxy.

What is it?

This is Stratum Proxy for Monero-pools (RPCv2) using asynchronous networking written in Python Twisted.
Based on stratum protocol and proxy by Slush0 (RPCv1 for all non cryptonight-coins)

Features
  • Central Wallet configuration, miners doesn't need wallet as username
  • Support mining to exchange
  • Support monitoring via email
  • Bypass worker_id for detailed statistic and per rig monitoring
  • Only one connection to the pool
  • Individually Vardiff for workers.

How it works and Who need it?

Code:

   Pool A <---+                        +-------------+ Rig1 / PC1
 (Active)      |                       |                                                
               |                       +-------------+ Rig2 / PC2
               |                       |                                                
  Pool B <---+-----StratumProxy  <-----+-------------+ Rig3 / PC3
(FailOver)                             |                                                
                                       +-------------+ Rig4 / PC4
                                       |                                                
                                       +-------------+ Leaserigs

Miner start command like:
Code:
   ./minerd -a cryptonight -o stratum+tcp://127.0.0.1:8080 -u 123456 -p 1

Use of case:

 - you have a lot of rigs or corporate PCs, you can install proxy on one PC with internet connection, and all miners can be inside of intranet

 - you have some geo-distributed miners, so via proxy installed on 1$VPS you can easy to control them

 - on one windows-machine if you use two miners (cpu+gpu) or if you want to control your miner fully and absolutely.


Where to find?

https://github.com/Atrides/xmr-proxy

How to install?

* Tested only on Linux, you need python-twisted
* Clone git
* Put your wallet in config.py and configure other settings
* Start xmr-proxy.py

How to install on Windows
https://bitcointalksearch.org/topic/m.8331755

ToDo

* Automatically failover via proxy, also for non-supported miners (ccminer)
* Restartless after config change

Requirements
Works only with pools which support stratum-proxy.
Patch to node-cryptonote-pool by zone117x will be available soon.
Currently works on both DwarfPool servers.

Support
[email protected]

Donation for development
XMR = 466KoUjvbFE2SduDyiZQUb5QviKo6qnbyDGDB46C6UcTDi5XmVtSXuRYJDmgd6mhYPU92xJHsTQyrSj LbsxdzKQc3Z1PZQM


FAQ

Quote
Is it possible to give a more detailed description of the principle of the proxy?
If I have 6 rigs, will it use much less bandwidth with the proxy? Does the proxy get a very high difficulty work from the pool and then divide/distribute it to the rigs? If so, how does it divide the work?

For your rigs this proxy looks like a pool.

Proxy set only one connection to the pool (socket) so than inside this physical connection makes virtual login-connections to the pool for every Rig/PC. Therefore every rig get its own difficulty from the pool.

It doesn't reduce the traffic (anyway it's insufficient), but you have better control (wallet and pool settings in one place).
Just put to your miner the proxy as a pool, any number as username and password. Your miners don't need any changes more and forever. Your miners never need changes anymore.
If you want to change the wallets or other settings, you change it in config.py of proxy and restart it. Miners will be reconnected automatically. In the next version I'll make it without restart, on the fly.

Quote
I notice that my rigs usually get 100001 difficulty work from pools, not Dwarf. Is this the maximum a pool will send out? What is the maximum difficulty Dwarf will send out to the proxy?

DwarfPool has currently vardiff from 5000 up to 100000. 100k is very rare )) because the pool creates the personally vardiff for each.

Quote
The log file grows too fast. Is it possible to disable saving to the file?
Can we disable it totally?

Yes, just comment it like here

Code:
#LOGFILE = "logfile.log"

Pages:
Jump to: