Post
Topic
Board Mining (Altcoins)
Re: PhoenixMiner 2.6: fastest Ethereum/Ethash miner with lowest devfee (Windows)
by
janding
on 02/03/2018, 19:27:16 UTC
Hey , cool miner , the difference in fee is pretty cool.  Smiley
But still a problem, I can connect to claymore miner with TCP/ip connection but don't work on your Phoenix , any idea ?  Huh

whats your config

You mean the .bat ?

-cdm 2 -cdmpass passhere

When I try to send a command to the miner with my program , my program freeze (look like this append when trying to receive data) and when I close it the miner display "Unable to read CDM request".
With the Claymore monitoring app it work.
My program work perfectly with claymore miner.

I made it work.
Can you show the command you're sending ?
There is one issue that PhoenixMiner makes you add an extra "\n" (newline  character) at the end of
a request to get stats.

Don't know if that'a what happening to you.
Clip out that command and paste it here.





$data  ='{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}'."\n\n";


                using (var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp))
                {
                    socket.Connect("192.xxx.x.xx", Port("{\"id\":0,\"jsonrpc\":\"2.0\",\"psw\":\"password\",\"method\":\"miner_getstat1\"}" + "\n"));
                    socket.Receive(receiveMinerStats, receiveMinerStats.Length, SocketFlags.None);
                    ParseStats(Encoding.ASCII.GetString(receiveMinerStats));
                }

Notice the EXTRA + "\n"  I had to add
That makes it work.