xmr-node-proxy icon indicating copy to clipboard operation
xmr-node-proxy copied to clipboard

multi-pool with different algo miner type

Open MrCook1es opened this issue 7 years ago • 6 comments

Hi, i'm using XNP fork from MO and works great. The forks has no problem, and after the update all works fine.

The question is: can I have in the config.json file 2 pool, the first pool with "cryptonight/2", the second pool with "cryptonight/1". And than have 10 updated CN2 miner on the first pool, and other 10 old miner CN1 connected on the second pool? (setting different port is not a problem)

MrCook1es avatar Oct 22 '18 14:10 MrCook1es

something like:

POOLS pool1 cryptonightv7.eu.nicehash.com:3363 -> "cryptonight/1" pool2 supportxmr.com:5555 -> "cryptonight/2"

LISTENING PORTS - miner side on pool1 i have old miner with cn/1 on port 8080 on pool2 i have updated miner with cn/2 on port 3333

is it possible? How can i setup the config file correctly?

MrCook1es avatar Oct 22 '18 15:10 MrCook1es

No it is not possible at this moment. Proxy can not divide miners based on their algo support between pools.

MoneroOcean avatar Oct 22 '18 16:10 MoneroOcean

Thanks for the reply

MrCook1es avatar Oct 23 '18 08:10 MrCook1es

I'd like to use two pools but based on port number so two different groups of rigs can mine to different wallets. I suppose I need two instances of xmr-node-proxy if I can figure out how to do that.

sothcott avatar Dec 02 '18 20:12 sothcott

Not tested, you can tweak by copying xmr.js to xmr2.js and then you can use coin : “xmr2” for the second group of workers as you wish.

bobbieltd avatar Dec 02 '18 20:12 bobbieltd

I've done it using docker. First one is in PM2 second one in docker with different config.json docker create -p 3334:3333 -p 8181:8080 -p 8444:8443 --name xnp1 xmr-node-proxy

a bit rough and ready but working. I expect docker would allow multiple xmr-node-proxy instances all with different config files but I'm not that skilled yet.

sothcott avatar Dec 02 '18 22:12 sothcott