Open PSLLSP opened 2 years ago
Debug communication, it looks like the pool doesn't like "hello" message... Like eth_submitLogin is not expected.
$ sh test-etp-sp.sh --log_stratum 1
...
11:38:38 Nvidia Driver: 470.86
11:38:38 Connected to etp.sandpool.org:8008 [89.38.98.143]
11:38:38 <<<{"id":1,"method":"eth_submitLogin","worker":"eth1.0","params":["MWHLJTawEecdiz8xBK98GB6MGD1qzYRmrP.TEST1","x"],"jsonrpc":"2.0"}
11:38:38 >>>{"id":1,"jsonrpc":"2.0","result":null,"error":{"code":-1,"message":"Invalid login"}}
11:38:38 Authorization on Stratum Server Failed: Invalid login
$ sh test-etp-2m.sh --log_stratum 1
...
11:39:09 Nvidia Driver: 470.86
11:39:10 Connected to etp.2miners.com:9292 [51.89.96.115]
11:39:10 <<<{"id":1,"method":"eth_submitLogin","worker":"eth1.0","params":["MWHLJTawEecdiz8xBK98GB6MGD1qzYRmrP.TEST3","x"],"jsonrpc":"2.0"}
11:39:10 >>>{"id":1,"jsonrpc":"2.0","result":true,"error":null}
11:39:10 Authorized on Stratum Server
11:39:10 <<<{"id":2,"method":"eth_getWork","params":[],"jsonrpc":"2.0"}
11:39:10 >>>{"id":2,"jsonrpc":"2.0","result":["0xffa5a31941c01bc94eab0aeff0b6e2b7415f0f265272459324b589d4fc9d8126","0x6475dd15a6baef221154af2b85dff79a86a0cf20fb27dab062b60c93191bd403","0x7e00000007e00000007e00000007e00000007e00000007e00000007e"],"error":null}
11:39:10 New Job: ffa5a319 Epoch: #203 Diff: 8.726G
I have found the solution. Command line parameter --worker
has to be used. The pool doesn't accept user as WALLET.WORKER, it has to be only WALLET. Worker can be passed with parameter --worker
. nanonminer
is smarter, when it is rejected with user WALLET.WORKER, it tries again with user WALLET...
This config works:
$ cat test-etp-sp1.sh
#!/bin/sh
# ETP@SANDPOOL - Metaverse
POOL="etp.sandpool.org:8008"
#POOL="etp.sandpool.org:8009"
HOST="TEST4"
#USER="MWHLJTawEecdiz8xBK98GB6MGD1qzYRmrP.$HOST"
USER="MWHLJTawEecdiz8xBK98GB6MGD1qzYRmrP"
PASS="x"
OPTS="--worker $HOST"
./miner --algo ethash --server "$POOL" --user "$USER" --pass "$PASS" $OPTS "$@"
Debug communication:
$ sh test-etp-sp1.sh --log_stratum 1
...
12:23:39 Nvidia Driver: 470.86
12:23:39 Connected to etp.sandpool.org:8008 [89.38.98.143]
12:23:39 <<<{"id":1,"method":"eth_submitLogin","worker":"TEST4","params":["MWHLJTawEecdiz8xBK98GB6MGD1qzYRmrP","x"],"jsonrpc":"2.0"}
12:23:39 >>>{"id":1,"jsonrpc":"2.0","result":true}
12:23:39 Authorized on Stratum Server
12:23:39 <<<{"id":2,"method":"eth_getWork","params":[],"jsonrpc":"2.0"}
12:23:39 >>>{"id":2,"jsonrpc":"2.0","result":["0xee459b72bb6cac2ae12f5e9d22cd6b11341dc4c86c39bc2f014b487053a1581a","0x6475dd15a6baef221154af2b85dff79a86a0cf20fb27dab062b60c93191bd403","0x0225c17d04dad2965cc5a02a23e254c0c3f75d9178046aeb27ce1ca574"]}
12:23:39 New Job: ee459b72 Epoch: #203 Diff: 2.000G
gminer 2.74, Linux
gminer
cannot mine ETP (ethash) at pool etp.sandpool.org. Error isConnection Error: Connection closed
. It looks like a compatibility problem.miniZ
andnanominer
can mine ETP at that pool without an issue...nanominer
config for reference, it works OK...gminer
can mine ETP at other pool, like 2miners: