sammy007 / open-ethereum-pool

Open Ethereum Mining Pool
GNU General Public License v3.0
1.4k stars 1.12k forks source link

No worker stats #435

Closed pool2mine closed 5 years ago

pool2mine commented 5 years ago

Hi! I recently installed open-ethereum-pool, got my geth synced and connected miners, everything looks great, I already got one block, but what i cannot get done is for the pool to show me each worker from each miner account. I think i tried everything, Claymore, Ethminer, Sgminer and nothing worked. normally I use Claymore, I tried setting worker name as password, also WALLET.WORKER, WALLET/WORKER, -eworker, etc. but always get "0" workers.

Can you please point me in the right direction?

Thanks in advance!

Screenshot 2019-06-14 20 31 13

mathias7799 commented 5 years ago

Thats offline workers.

pool2mine commented 5 years ago

Ok, you're right about the picture, but I only have one worker shown, I updated the picture below. I am connected over stratum mode on default port 8008, is that ok? i didn't wanted to connect over http because normally it's slower.

Screenshot 2019-06-14 21 14 24

mathias7799 commented 5 years ago

Yep all good.

pool2mine commented 5 years ago

but still no worker names shown

pool2mine commented 5 years ago

hi @sammy007 any fix for this issue? please let me know

pool2mine commented 5 years ago

I found the problem. the pool does not recognize workers with more than 8 characters. all workers were showing together as one under the name of "0". After several days just reduced the length of the name and showed without any problem.

edradev commented 2 years ago

I found the problem. the pool does not recognize workers with more than 8 characters. all workers were showing together as one under the name of "0". After several days just reduced the length of the name and showed without any problem.

where can I change this too?

mathias7799 commented 2 years ago

@edradev

Inside the proxy/handlers.go theres a regex expression "var workerPattern = regexp.MustCompile("^[0-9a-zA-Z-_]{1,8}$")" 1,8 part of it tells whats the min and max chars. But! I don't know if it'll break anything if you change it.

edradev commented 2 years ago

@mathias7799 thanks, I already changed it and works fine.