I am trying to connect a few miners to the pool with this proxy, I can get one miner to connect but the others never seems to connect.
https://github.com/slush0/stratum-mining-proxyC:\Users\>cd Desktop
C:\Users\Desktop>mining_proxy.exe -o de.ckpool.org -p 3333
2018-01-31 11:55:40,365 INFO proxy jobs. # C extension for midstate not available. Using default implementation instead.
2018-01-31 11:55:40,365 WARNING proxy mining_proxy.main # Stratum proxy version: 1.5.5
2018-01-31 11:55:40,381 WARNING proxy mining_proxy.test_update # Checking for updates...
2018-01-31 11:55:41,381 WARNING proxy mining_proxy.main # Trying to connect to Stratum pool at de.ckpool.org:3333
2018-01-31 11:55:41,678 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2018-01-31 11:55:41,678 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at de.ckpool.org:3333
2018-01-31 11:55:41,678 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2018-01-31 11:55:41,851 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2018-01-31 11:55:41,851 WARNING proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 3333 (stratum) AND 8332 (getwork)
2018-01-31 11:55:41,851 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2018-01-31 11:55:41,851 INFO proxy client_service.handle_event # Setting new difficulty: 4000
2018-01-31 11:56:04,246 INFO stats stats.print_stats # 2 peers connected, state changed 1 times
2018-01-31 11:56:04,246 ERROR proxy stratum_listener._finish_after_subscribe # Template not ready yet
2018-01-31 11:56:04,418 INFO proxy client_service.handle_event # New job 5a71009a00000330 for prevhash a825cc32, clean_jobs=True
2018-01-31 11:56:04,418 INFO proxy client_service.handle_event # Setting new difficulty: 4000
2018-01-31 11:56:11,091 INFO proxy stratum_listener.submit # [172ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
2018-01-31 11:56:34,957 INFO proxy client_service.handle_event # New job 5a71009a00000331 for prevhash a825cc32, clean_jobs=False
2018-01-31 11:57:06,454 INFO stats stats.print_stats # 3 peers connected, state changed 1 times
2018-01-31 11:57:15,994 INFO stats stats.print_stats # 4 peers connected, state changed 1 times
2018-01-31 11:57:17,010 INFO stats stats.print_stats # 5 peers connected, state changed 1 times
2018-01-31 12:01:06,464 INFO stats stats.print_stats # 4 peers connected, state changed 1 times
2018-01-31 12:01:09,809 INFO proxy stratum_listener.submit # [171ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
2018-01-31 12:01:13,934 INFO stats stats.print_stats # 3 peers connected, state changed 1 times
2018-01-31 12:01:28,056 INFO proxy client_service.handle_event # New job 5a71009a00000337 for prevhash 32f68c23, clean_jobs=False
2018-01-31 12:01:38,940 INFO stats stats.print_stats # 2 peers connected, state changed 1 times
2018-01-31 12:02:27,285 INFO proxy client_service.handle_event # New job 5a71009a00000338 for prevhash 32f68c23, clean_jobs=False
2018-01-31 12:02:39,645 INFO proxy stratum_listener.submit # [171ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
2018-01-31 12:03:03,272 INFO proxy stratum_listener.submit # [173ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
2018-01-31 12:03:06,467 INFO stats stats.print_stats # 3 peers connected, state changed 1 times
2018-01-31 12:03:21,003 INFO stats stats.print_stats # 4 peers connected, state changed 1 times
2018-01-31 12:03:25,015 INFO stats stats.print_stats # 5 peers connected, state changed 1 times
2018-01-31 12:03:26,038 INFO proxy client_service.handle_event # New job 5a71009a00000339 for prevhash 32f68c23, clean_jobs=False
2018-01-31 12:03:31,788 INFO proxy stratum_listener.submit # [172ms] Share from '16Ev9GsHwwv5ycdvkWdHuDHCQmLuPzpqRk' accepted, diff 4000
2018-01-31 12:04:06,476 INFO stats stats.print_stats # 4 peers connected, state changed 1 times
2018-01-31 12:04:21,002 INFO stats stats.print_stats # 3 peers connected, state changed 1 times
I can get one miner to connect but when I point additional miners at the proxy ip they show no connection in cgminer or on the proxy.
I have attempted to put different btc address for each miner but still not connecting.
It show 5 peers connected, but other miners in cgminer do not show connection.
Is there something missing from my options on proxy?
I Start with mining_proxy.exe -o de.ckpool.org -p 3333
Edit:
After some test i got 2 miners to connect but still others do not connect i check with tcp view and process explorer but other miners would not show.
I added the argument mining_proxy.exe -o de.ckpool.org -p 3333 -sh localhost -sp 3333
In logs it seems to show peers and status change but no work submitted from cgminer to proxy.
-o HOST, --host HOST Hostname of Stratum mining pool
-p PORT, --port PORT Port of Stratum mining pool
-sh STRATUM_HOST, --stratum-host STRATUM_HOST
On which network interface listen for stratum miners.
Use "localhost" for listening on internal IP only.
-sp STRATUM_PORT, --stratum-port STRATUM_PORT
Port on which port listen for stratum miners.
INFO stats stats.print_stats # 3 peers connected, state changed 1 times
INFO stats stats.print_stats # 4 peers connected, state changed 1 times
INFO stats stats.print_stats # 5 peers connected, state changed 1 times
Is there solution for this?
another question can I point the miners at the same BTC address without worker names? Is there limit to this?
When I do this all the workers are on different Diff's when use proxy to consolidate miners they work together on work?