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?
Pool A <---+ +-------------+ Rig1 / PC1
(Active) | |
| +-------------+ Rig2 / PC2
| |
Pool B <---+-----StratumProxy <-----+-------------+ Rig3 / PC3
(FailOver) |
+-------------+ Rig4 / PC4
|
+-------------+ Leaserigs
Miner start command like:
./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-proxyHow 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
Windowshttps://bitcointalksearch.org/topic/m.8331755ToDo* Automatically failover via proxy, also for non-supported miners (ccminer)
* Restartless after config change
RequirementsWorks 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 developmentXMR = 466KoUjvbFE2SduDyiZQUb5QviKo6qnbyDGDB46C6UcTDi5XmVtSXuRYJDmgd6mhYPU92xJHsTQyrSj
LbsxdzKQc3Z1PZQM
FAQIs 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.
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.
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
#LOGFILE = "logfile.log"