Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: JerryQ on December 27, 2017, 06:05:08 PM



Title: Stratum Proxy for cryptonight
Post by: JerryQ on December 27, 2017, 06:05:08 PM
Stratum Proxy

    Accumulates the miners.
    Supports auto complexity for miners.
    Configuring the pools in the Web panel.

  • Dynamic diff for each miner
  • Ability to change pool settings in the Web panel
  • Support nicehash (when using my miner)

Quote

config.json
Code:
{

stratum_servers: [

{
bind_address: "0.0.0.0:8888",
share_time: 20,
start_difficulty: 10000,
min_difficulty: 10,
ssl: false,
},

{
bind_address: "0.0.0.0:1443",
share_time: 20,
start_difficulty: 10000,
min_difficulty: 10,

ssl: true,

/**
ssl_options: {
key: "./path-to-key.pem",
cert: "./path-to-cert.pem",
}
*/
},

],

web_server: {
// enable
enable: true,

// bind web server address
bind_address: "0.0.0.0:8000",

// secret key
auth_key: "admin",

// open browser
open_browser: false,
},

}



  • stratum_servers[].bind_address - Address to which to connect miners
  • stratum_servers[].share_time - The time between shares. A proxy server will install it on each miner (by choosing the complexity)
  • stratum_servers[].start_difficulty - The initial difficulty for miners. If the pool sends a job with less complexity, it is set less
  • stratum_servers[].min_difficulty - Minimal difficulty for miners
  • ssl: true - Create an ssl server. For a claymore for example

  • web_server.enable - Enable / disable the web server.
  • web_server.bind_address - The address to open in the browser (showing web statistics, pool management).
  • web_server.auth_key - Access key
  • web_server.open_browser - open the browser at startup

  • The pool settings in the web panel are elementary (set the 'emu nicehash' flag).


If you use third-party miners, set the "Emu nicehash" flag to true
And in the settings of the miner, set the compatibility mode with nicehash


Installation
Quote

    Install nodejs, from here https://nodejs.org
    Install socketio by running the command npm i -g socketio
    Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
    Create a bat file in the src folder @start /b node ./app/
    Run the bat file


Source (https://github.com/JerryWm/Stratum-Proxy-XMR)
win32-portable-build (https://github.com/JerryWm/Stratum-Proxy-XMR/releases)



Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on December 27, 2017, 11:27:06 PM
Added screenshots of the web panel


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on December 30, 2017, 07:43:50 AM
Added the ability to create ssl servers!
 https://github.com/JerryWm/Stratum-Proxy-XMR/releases/ (https://github.com/JerryWm/Stratum-Proxy-XMR/releases/)


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on December 30, 2017, 08:23:00 AM
Added a simplified description.


Title: Re: Stratum Proxy for cryptonight
Post by: bitcoin1126 on December 30, 2017, 08:39:02 AM
simplify


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on December 31, 2017, 10:26:25 AM
simplify
?


Title: Re: Stratum Proxy for cryptonight
Post by: yslyung on December 31, 2017, 02:39:48 PM
wont be using it ... just be careful especially those who have no idea what they are doing.


Title: Re: Stratum Proxy for cryptonight
Post by: MATTX on December 31, 2017, 03:57:08 PM
Can any one explain, what is benefit of using it.


Title: Re: Stratum Proxy for cryptonight
Post by: NameTaken on December 31, 2017, 04:00:37 PM
Can any one explain, what is benefit of using it.
If you have tens, hundreds or thousands of miners then point them at a proxy so you can just update the proxy's config to change pool instead of manually for every individual miner.


Title: Re: Stratum Proxy for cryptonight
Post by: twizztid on December 31, 2017, 05:20:02 PM
wont be using it ... just be careful especially those who have no idea what they are doing.


What would yo suggest using? I am new to all of this, and would like to start mining.

Thanks!


Title: Re: Stratum Proxy for cryptonight
Post by: MATTX on December 31, 2017, 05:30:32 PM
Can any one explain, what is benefit of using it.
If you have tens, hundreds or thousands of miners then point them at a proxy so you can just update the proxy's config to change pool instead of manually for every individual miner.

Got it :)  I am just small miner so never needed such software. It is useful software for numerous miners.


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 01, 2018, 11:15:08 AM
Can any one explain, what is benefit of using it.
The proxy shows the actual level of hashrate of each miner (miners can deceive on this), the total number of shares / hashes and the hashrate of the entire system (you can check the dashboard pool).
It is also convenient to change the settings of the pool in 1-2 clicks.


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 01, 2018, 11:22:57 AM
Can any one explain, what is benefit of using it.
If you have tens, hundreds or thousands of miners then point them at a proxy so you can just update the proxy's config to change pool instead of manually for every individual miner.

Got it :)  I am just small miner so never needed such software. It is useful software for numerous miners.

Even if you have 1 miner (for example, a cpu), changing the pool is more convenient on the web panel. Cpu miners lose [a large page of memory] during a reboot due to the inability to find non-interruptible physical memory (memory is already fragmented).


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 02, 2018, 09:40:34 PM
How to run this on ubuntu. ???
What specifically does not work out?
I think something like this is necessary (although I do not have Linux).

Code:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm

npm i -g socketio

 Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
 Create a sh file in the src folder
Code:
node ./app/


Title: Re: Stratum Proxy for cryptonight
Post by: vacarosie200 on January 02, 2018, 09:50:32 PM
i'm not sure and i have to ask: it will just bypass share and jobs and count miners activity, or reduce dificullty according to miners? if not i'm not sure if i can use it on nicehash , i have 4 rigs of 15kh/s total, nicehash wil give me 800k diff and that is not acceptable


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 02, 2018, 10:08:02 PM
How to run this on ubuntu. ???
What specifically does not work out?
I think something like this is necessary (although I do not have Linux).

Code:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm

npm i -g socketio

 Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
 Create a sh file in the src folder
Code:
node ./app/

Code:
module.js:557
    throw err;
    ^

Error: Cannot find module './paths'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/ubuntu/Stratum-Proxy-XMR-master/src/app/main.js:4:15)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)

i get this error..
i will try in dif linux os

OK. In the app/main.js file, modify
Code:
const Paths = require('./paths');
on
Code:
const Paths = require('./Paths');



Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 02, 2018, 10:11:48 PM
i'm not sure and i have to ask: it will just bypass share and jobs and count miners activity, or reduce dificullty according to miners? if not i'm not sure if i can use it on nicehash , i have 4 rigs of 15kh/s total, nicehash wil give me 800k diff and that is not acceptable
On nicehash only works 1 to 1. nicehash itself is a proxy.
I already responded to similar you can see here https://github.com/JerryWm/Stratum-Proxy-XMR/issues/2
If you dig on any other pool other than Nicehash then the proxy will collect up to 256 marquees in a single worker pool


Title: Re: Stratum Proxy for cryptonight
Post by: Bitoken on January 08, 2018, 03:07:42 AM
Interesting project, i am looking for solomining cryptonight coins.
Is it possible with your app ?


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 15, 2018, 02:24:59 AM
Interesting project, i am looking for solomining cryptonight coins.
Is it possible with your app ?
This is for the pool. You are connecting to a proxy, the proxy is connected to the pool.


Title: Re: Stratum Proxy for cryptonight
Post by: Brenning on January 18, 2018, 06:36:58 AM
Anyone tried this?


Title: Re: Stratum Proxy for cryptonight
Post by: cryptoyes on January 21, 2018, 07:33:37 AM
This is new, but a welcome alternative to the older (but tried!) xmr-node-proxy and xmrig-proxy ... both which have given me issues with nicehash and with miningrigrentals.

Thank you.

@JerryQ - I have a few questions:

- can this cope with 800-1000 miners?
- does it work with miningrigrentals.com?
- does it work with nicehash.com?
- does it support SSL for miners (server) and pool (client)?
- do you charge a fee by default? (I know it's open source)

Also, I'm on headless machines so no access to web gui. Care to share a full example and/or spec of the config file so I can run it in command line?


Title: Re: Stratum Proxy for cryptonight
Post by: JerryQ on January 22, 2018, 07:55:39 AM

- can this cope with 800-1000 miners?
I don't know exactly. Must.

- does it work with miningrigrentals.com?
In proxy mode, 1 to 1 will work everywhere.

- does it work with miningrigrentals.com?
Yes it works. Set in the config miner (nicehash_nonce = true), in the proxy settings (Emu nicehash = false, Max workers = 1). There will be a 1 to 1 proxy mode.

- does it support SSL for miners (server) and pool (client)?
Yes. Full support (read the description).

- do you charge a fee by default? (I know it's open source)
There is no commission. Perhaps in the next version I will add (but this is not accurate).

Also, I'm on headless machines so no access to web gui. Care to share a full example and/or spec of the config file so I can run it in command line?
Configure pools only through the Web panel. (You can manually in the config)


Title: Re: Stratum Proxy for cryptonight
Post by: Oakey22 on January 22, 2018, 08:23:50 AM
This is a good bit of software for botnets, who else has hundreds if not thousands of miners pointing at xmr.

It's not really needed for those with just a few miners.


Title: Re: Stratum Proxy for cryptonight
Post by: cryptoyes on January 22, 2018, 05:55:24 PM
No, please don't add a fee to the proxy - keep the proxy free, and add a fee to your miner only. You will attract more people to use your software. Otherwise you will only push them away with too many fees.

You said I can manually edit pools in the config file - can you please post a full example (with and without ssl)?

Like I said, I'm on a headless (no monitor) machine and cannot access the GUI. It's best not to force the user to use web GUIs. Many of us have headless machines, which are only accessible via ssh.

EDIT: Also, you should add clear install instructions for everyone on github (step by step) and also a full config.json file example which can be edited so that accessing the GUI is not needed.


Title: Re: Stratum Proxy for cryptonight
Post by: cryptoyes on January 22, 2018, 06:22:32 PM
I managed to get to the GUI (via an ssh tunnels, yuck). The "max workers" is the number of connections the proxy makes to the pool, or the number of miners that can connect to the proxy?

Some questions:

- how can I connect to an SSL pool? Does stratum+ssl:// work?
- Can I make the retry count infinite? Does making "retry_count_connect": 0 mean infinite?
- I entered 10 seconds keep-alive, but the pools.json file wrote 20 (could have been my mistake)
- I entered 1000 max workers, but the pools.json file entered 256 (I imagine you forced this as a maximum and that it's the number of connections to the pool, not miners to proxy)

For others who don't want to deal with the GUI: you need to create a file called pools.json in /src with the following contents

Code:
[
    {
        "pool_address": "stratum+tcp://<pool1_address>:<pool1_port>",
        "wallet_address": "<your_coin_wallet_address>",
        "pool_password": "proxy",
        "keepalive": 10,
        "emu_nicehash": true,
        "max_workers": 10,
        "retry_count_connect": 999
    },
    {
        "pool_address": "stratum+tcp://<pool2_address>:<pool2_port>",
        "wallet_address": "<your_coin_wallet_address>",
        "pool_password": "proxy",
        "keepalive": 10,
        "emu_nicehash": true,
        "max_workers": 10,
        "retry_count_connect": 999
    }
]

Please include this pools.json as an example in the package so that we don't have to hassle with GUIs.


Title: Re: Stratum Proxy for cryptonight
Post by: cryptoyes on January 22, 2018, 06:49:33 PM
Ok, I gave this a go and it doesn't really work ... it disconnects most of my miners immediately after they connect to the proxy (they all run xmr-stak).

Here's an example with 2 miners. The first one (yyy.yyy.yyy.yyy) connected fine. The second one (xxx.xxx.xxx.xxx) is being disconnected all the time. If I add more miners, they all keep being disconnected and the screen is flooded with "SUCCESS/ERROR Client disconnected messages"

xmr-stak reports:

Code:
[2018-01-22 19:21:39] : Fast-connecting to PROXYHOST:33333 pool ...
[2018-01-22 19:21:39] : Pool PROXYHOST:33333 connected. Logging in...
[2018-01-22 19:21:39] : SOCKET ERROR - [PROXYHOST:33333] PARSE error: Job error 3

I have multiple xmr-stak processes per machine (each machine runs 2-3 identical xmr-stak processes). Works fine with xmr-node-proxy and xmrig-proxy.

I'm using this config file for xmr-stak:

NOTE: I also tried with "use_nicehash" : true, "emu_nicehash": true, "use_tls" : true, and other combinations and got the same result.  It just disconnects all my miners.

Code:
"pool_list" :
[
{"pool_address" : "HOST:33333", "wallet_address" : "<mywallet>", "pool_password" : "prx", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 },
],
"currency" : "monero",
"call_timeout" : 120,
"retry_time" : 10,
"giveup_limit" : 0,
"verbose_level" : 0,
"print_motd" : true,
"h_print_time" : 10,
"aes_override" : null,
"use_slow_memory" : "warn",
"tls_secure_algo" : false,
"daemon_mode" : true,
"flush_stdout" : true,
"output_file" : "",
"httpd_port" : 0,
"http_login" : "",
"http_pass" : "",
"prefer_ipv4" : true,

Same config works fine for the other proxies like xmr-node-proxy or xmrig-proxy.

Any ideas?

Code:
[2018-1-22 18:40:27] [APP] [SUCCESS] Web server is powered on
[2018-1-22 18:40:27] [APP] [WEB-SERVER] [NOTICE] Attempting opened server on "0.0.0.0:8008"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-SERVER #1] [NOTICE] Attempting opened server on [SSL OFF] "0.0.0.0:33333"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [NOTICE] Attempting opened server on [SSL ON] "0.0.0.0:30443"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Attempting to connect to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:40:27] [APP] [WEB-SERVER] [SUCCESS] Opened server on "0.0.0.0:8008"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-SERVER #1] [SUCCESS] Opened server on [SSL OFF] "0.0.0.0:33333"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [SUCCESS] Opened server on [SSL ON] "0.0.0.0:30443"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [SUCCESS] Connected to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [WARNING] Set difficulty to 200007.79
[2018-1-22 18:40:27] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #6Bv12zLsMBPZQdUV/h8x2V9CoWGO difficulty 200007.79
[2018-1-22 18:40:54] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #5] [NOTICE] Accepted worker
[2018-1-22 18:40:54] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #5] [SUCCESS] xxx.xxx.xxx.xxx:39874 / xmr-stak/2.2.0/2...
[2018-1-22 18:41:07] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #TyQf+AKoe1UPoGDb84h3FKrS+tm4 difficulty 200007.79
[2018-1-22 18:41:18] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [WARNING] Set difficulty to 148148.30
[2018-1-22 18:41:18] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #Fm8oqi0p9jVAw/tDA0K4VVS2MtI2 difficulty 148148.30
[2018-1-22 18:41:20] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #yX1P7rEoFmupybm+18L2wsAdM3WY difficulty 148148.30
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #9] [NOTICE] Accepted worker
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Attempting to connect to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #9] [SUCCESS] xxx.xxx.xxx.xxx:34182 / xmr-stak/2.2.0/2...
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #9] [ERROR] Client disconnected
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #9] [NOTICE] Disconnected...
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [SUCCESS] Connected to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [WARNING] Set difficulty to 200007.79
[2018-1-22 18:41:54] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Accepted new job #I05qa/W5ZDz6s7eMMV4OHj8tPkFW difficulty 200007.79
[2018-1-22 18:42:01] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #ApmokZyZ2mmCuorXYcEh0NwUwhBP difficulty 148148.30
[2018-1-22 18:42:01] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Accepted new job #zSyjUHJQqORJmncIYGzJJXnQw99K difficulty 200007.79
[2018-1-22 18:42:02] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #14] [NOTICE] Accepted worker
[2018-1-22 18:42:02] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #14] [SUCCESS] xxx.xxx.xxx.xxx:34184 / xmr-stak/2.2.0/2...
[2018-1-22 18:42:10] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #wvqEUCgftw6+S5nbmxhRZkY+bNZk difficulty 148148.30
[2018-1-22 18:42:10] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Accepted new job #HwqyOaOXc5NO6k9QaQpjRZrFvrmq difficulty 200007.79
[2018-1-22 18:42:19] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [WARNING] Set difficulty to 98766.67
[2018-1-22 18:42:19] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #tEmiEcJRsEvW1N/eYrFwwxjURz/T difficulty 98766.67
[2018-1-22 18:42:25] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #18] [NOTICE] Accepted worker
[2018-1-22 18:42:25] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [NOTICE] Attempting to connect to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:42:25] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #18] [SUCCESS] xxx.xxx.xxx.xxx:34186 / xmr-stak/2.2.0/2...
[2018-1-22 18:42:25] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #18] [ERROR] Client disconnected
[2018-1-22 18:42:25] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #18] [NOTICE] Disconnected...
[2018-1-22 18:42:25] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [SUCCESS] Connected to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:42:26] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [WARNING] Set difficulty to 200007.79
[2018-1-22 18:42:26] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [NOTICE] Accepted new job #7yrXLI2D3P+bAg0zEwJOO0PRtZQ6 difficulty 200007.79
[2018-1-22 18:42:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #MqjUqhJ/kEMJ9x+KK69yY5Zqs9JD difficulty 98766.67
[2018-1-22 18:42:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Accepted new job #wevQLgbL1khqglIgv/67WQNp51OP difficulty 200007.79
[2018-1-22 18:42:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [NOTICE] Accepted new job #uHCOx7IKlR1tgLbZLajGji0ph6/Z difficulty 200007.79
[2018-1-22 18:42:36] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #24] [NOTICE] Accepted worker
[2018-1-22 18:42:36] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #24] [SUCCESS] xxx.xxx.xxx.xxx:34188 / xmr-stak/2.2.0/2...
[2018-1-22 18:42:55] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #41cylKmXHwqw1EaIGTYLMPPui3n7 difficulty 98766.67
[2018-1-22 18:42:55] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [NOTICE] Accepted new job #+YFGBSX9xH/QcAj/5GxwBNjxdjIC difficulty 200007.79
[2018-1-22 18:42:56] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Accepted new job #wfpsrRsbEm3yuSYnINmpv58xuCR5 difficulty 200007.79
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #28] [NOTICE] Accepted worker
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #29] [NOTICE] Attempting to connect to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #28] [SUCCESS] xxx.xxx.xxx.xxx:34196 / xmr-stak/2.2.0/2...
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #28] [ERROR] Client disconnected
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #28] [NOTICE] Disconnected...
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #29] [SUCCESS] Connected to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #29] [WARNING] Set difficulty to 200007.79
[2018-1-22 18:42:57] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #29] [NOTICE] Accepted new job #z57/3Prf8JDcnncLdBXHftMQ1QJE difficulty 200007.79
[2018-1-22 18:43:08] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #31] [NOTICE] Accepted worker
[2018-1-22 18:43:08] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #31] [SUCCESS] xxx.xxx.xxx.xxx:34198 / xmr-stak/2.2.0/2...
[2018-1-22 18:43:20] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [WARNING] Set difficulty to 65843.44
[2018-1-22 18:43:20] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #3] [NOTICE] Accepted new job #ghaFAGHjL/Ia0GHHyS4K6LIfOR4v difficulty 65843.44
[2018-1-22 18:43:21] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [WARNING] Set difficulty to 141179.65
[2018-1-22 18:43:21] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #19] [NOTICE] Accepted new job #VzDwyHIAR4nvqZADWj4/0+wzsZCK difficulty 141179.65
[2018-1-22 18:43:21] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [WARNING] Set difficulty to 102566.38
[2018-1-22 18:43:21] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #10] [NOTICE] Accepted new job #griMCzylKFzvkHSzA09ghdA455RA difficulty 102566.38
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #35] [NOTICE] Accepted worker
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #36] [NOTICE] Attempting to connect to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #35] [SUCCESS] xxx.xxx.xxx.xxx:34202 / xmr-stak/2.2.0/2...
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #35] [ERROR] Client disconnected
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #35] [NOTICE] Disconnected...
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #36] [SUCCESS] Connected to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #36] [WARNING] Set difficulty to 200007.79
[2018-1-22 18:43:29] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #36] [NOTICE] Accepted new job #0IQqzhcm2jO+MlFmzzD44vwgcjFR difficulty 200007.79
[2018-1-22 18:43:37] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #38] [NOTICE] Accepted worker
[2018-1-22 18:43:37] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #38] [SUCCESS] xxx.xxx.xxx.xxx:34204 / xmr-stak/2.2.0/2...
[2018-1-22 18:44:00] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #39] [NOTICE] Accepted worker
[2018-1-22 18:44:00] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #40] [NOTICE] Attempting to connect to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:44:00] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #39] [SUCCESS] xxx.xxx.xxx.xxx:34206 / xmr-stak/2.2.0/2...
[2018-1-22 18:44:00] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #39] [ERROR] Client disconnected
[2018-1-22 18:44:00] [APP] [STRATUM-PROXY] [STRATUM-SERVER #2] [WORKER #39] [NOTICE] Disconnected...
[2018-1-22 18:44:00] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #40] [SUCCESS] Connected to [SSL OFF] [KPALV 20] [RSP TO 30] "pool.electroneum.hashvault.pro:7777"
[2018-1-22 18:44:01] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #40] [WARNING] Set difficulty to 200007.79
[2018-1-22 18:44:01] [APP] [STRATUM-PROXY] [STRATUM-CLIENT #40] [NOTICE] Accepted new job #U7J7vReYeshnAIFthEbNka9Ocscz difficulty 200007.79

config.json
Code:
{
        stratum_servers: [
                {
                        bind_address: "0.0.0.0:33333",
                        share_time: 20,
                        start_difficulty: 1000,
                        min_difficulty: 10,
                        ssl: false,
                },
                {
                        bind_address: "0.0.0.0:30443",
                        share_time: 20,
                        start_difficulty: 1000,
                        min_difficulty: 10,
                        ssl: true,
                        ssl_options: {
                                key: "./cert.key",
                                cert: "./cert.pem",
                        }
                },

        ],
        web_server: {
                //      enable
                enable: true,
                //      bind web server address
                bind_address: "0.0.0.0:8008",
                //      secret key
                auth_key: "2208e4f13f68c885c0625484728e9958",
                // open browser
                open_browser: false,
        },
}

pools.json
Code:
[
        {
                "pool_address": "stratum+tcp://pool.electroneum.hashvault.pro:7777",
                "wallet_address": "<mywallet>",
                "pool_password": "prx",
                "keepalive": 20,
                "emu_nicehash": false,
                "max_workers": 1,
                "retry_count_connect": 999
        }
]


Title: Re: Stratum Proxy for cryptonight
Post by: sevilla404 on January 24, 2018, 08:06:02 AM
Nice work.. Im working with 11 "workers"..

In the config file, whats mean "share_time"? and.. its possible to set the maxium difficult for the workers?


Title: Re: Stratum Proxy for cryptonight
Post by: sevilla404 on January 24, 2018, 11:34:46 PM
Well.. its nice work but, i had to move back again.. i got a poor performance with nicehash (some disconnects from pool),
BTW.. i need change:
DEF_POOL_RESPONSE_TIMEOUT to  DEF_POOL_RESPONSE_TIMEOUT = 6200000000; to avoid constant disconnects from pool.

I think the major problem with me was the diff to my miners (some with 40-120 h/s) and other with (400-800h/s).

i'll follow this projects bcause its works, but need a little work more.!



Title: Re: Stratum Proxy for cryptonight
Post by: cryptoyes on January 25, 2018, 12:09:46 AM
I went back to xmrig-proxy for now. This doesn't work with many (hundreds) miners. I posted above.


Title: Re: Stratum Proxy for cryptonight
Post by: sevilla404 on January 27, 2018, 12:39:12 AM
I went back to xmrig-proxy for now. This doesn't work with many (hundreds) miners. I posted above.

Crypto..! which pools are you using with xmr-proxy ?


Title: Re: Stratum Proxy for cryptonight
Post by: cryptoyes on January 27, 2018, 05:42:40 AM
so far xmrig-proxy has worked with all pools i tried


Title: Re: Stratum Proxy for cryptonight
Post by: NewHeroLT on March 15, 2018, 02:52:52 PM
Proxy support for Monero v7 PoW?


Title: Re: Stratum Proxy for cryptonight
Post by: stanbtc on April 05, 2018, 09:33:05 AM
Hi dev. is this proxy gonna upgrade to support pow7? im trying to mine sumo but my shares get rejected now after there assic imune fork


Title: Re: Stratum Proxy for cryptonight
Post by: stanbtc on April 08, 2018, 07:07:46 AM
ignore the pow7 question lol. i updated my miners that supports the assic imune algo's and its running smooth through the proxy now.  ;D


Title: Re: Stratum Proxy for cryptonight
Post by: BlackKnight1471 on May 12, 2018, 04:29:40 PM

Hi, newbie question, I've installed everything according to the instructions but get this error:


C:\Users\wisew_000\Downloads\Stratum-Proxy-XMR-master\src>@start /b node ./app/

C:\Users\wisew_000\Downloads\Stratum-Proxy-XMR-master\src>module.js:549
    throw err;
    ^

Error: Cannot find module 'socket.io'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\Users\wisew_000\Downloads\Stratum-Proxy-XMR-master\src\app\WebServer.js:5:18)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

I found socketio in ~\AppData\Roaming\npm\node_modules, not in the folder ~\ProgramFiles\nodejs\node_modules. How do I tell the proxy where to find the module?


Title: Re: Stratum Proxy for cryptonight
Post by: Andre100 on February 21, 2019, 04:19:24 PM
ignore the pow7 question lol. i updated my miners that supports the assic imune algo's and its running smooth through the proxy now.  ;D

are toy testing with testnet CryptonightR support ?