eXtremal-ik7 / pool_frontend_zcash

ZCash mining pool/solo mining suite
50 stars 46 forks source link

miner connected, but it doesn't receive jobs. #12

Closed EternityTula closed 7 years ago

EternityTula commented 7 years ago

Hi eXtremal!

I've started a pool and can change minimal payout in the web interface, miner is connected, but it doesn't receive jobs. How can I identify the cause?

Thank you very much for the pool software.

romanick commented 7 years ago

Hi! I have this bug too!

Used nhqeminer ./nheqminer -l 10.10.8.253:13301 -u t1dGyd2hroeewXau9szDmtgJwkudFCGhrZg -t 4 -d 0

romanick commented 7 years ago

I tried use xpmclient, but no result:

user@user-desktop:~/soft/zcashclient-0.2.4$ ./zcashgpuclient madPrimeMiner-v1.1 ClientName = 'test1' ClientID = 4129959555 InstanceID = 3999553940 Address = 't1dGyd2hroeewXau9szDmtgJwkudFCGhrZg' found platform[0] name = 'NVIDIA CUDA'

found 1 devices Using device 0 as GPU 0 OpenCL: alloc 196 bytes OpenCL: alloc 117440512 bytes OpenCL: alloc 117440512 bytes OpenCL: alloc 524288 bytes OpenCL: alloc 16384 bytes OpenCL: alloc 4 bytes OpenCL: alloc 196 bytes OpenCL: alloc 117440512 bytes OpenCL: alloc 117440512 bytes OpenCL: alloc 524288 bytes OpenCL: alloc 16384 bytes OpenCL: alloc 4 bytes threads: 8192, work size: 256 Connecting to frontend: 10.10.8.253:13301 ... ZCash GPU miner thread 0 started

Pool output:

clients: 0, workers: 0, cpus: 0, gpus: 0, asics: 0, other: 0, latency: 0, power: 0 - new block signal: 11349, diff=61992102.81046, approximate shares per block: 7749042 - new block signal: 11350, diff=63048766.18338, approximate shares per block: 7881125 - new block signal: 11351, diff=63549832.87414, approximate shares per block: 7943759 clients: 0, workers: 0, cpus: 0, gpus: 0, asics: 0, other: 0, latency: 0, power: 0 accounting: balance=0.00 req/balance=0.00 req/queue=0.00 immature=0.00 users=0.00 queued=0.00, net=0.00 clients: 0, workers: 0, cpus: 0, gpus: 0, asics: 0, other: 0, latency: 0, power: 0
nginnever commented 7 years ago

Also having an issue with optiminer saying waiting for work from pool

however Silentarmy seems to work just fine.

romanick commented 7 years ago

I resolved the problem. Why no place where specified valid port for miners? It's 3357! Just connect to port 3357 - all work!

nginnever commented 7 years ago

The problem I was having with optminer not connect is because of this line https://github.com/eXtremal-ik7/pool_frontend_zcash/blob/master/src/stratum.cpp#L140

Optiminer only sends one argument it seems [0] = '/optimner/0.3.4/zcash

Sending the correct connection info in place of it missing from the miner arguments was my workaround.

EternityTula commented 7 years ago

romanick, thank you very much! createListener(base, 3357, stratumProc, 0, &context);