1

For training purposes, I am trying to connect to a private node using the cpuminer-multi but it fails.

Is this command line correct? cpuminer -a cryptonight -o stratum+tcp://xxx.xxx.xxx.xxx:18080 -u wallet -p x -t 3 --userpass A:B

Daemon runs as: ./monerod --rpi-login A:B

The node ran and synchronized and I made sure that port 18080 is open on the client, i am trying to connect to the node but I get : Signature mismatch and [2017-12-27 15:33:53] stratum_recv_line failed [2017-12-27 15:33:53] ...retry after 10 seconds

On the node, I get Signature mismatch, connection will be closed

Is there something missing?

user36303
  • 34,858
  • 2
  • 57
  • 123

1 Answers1

1

That command is not correct.

You are connecting a cpuminer, which talks pool language by default, to a daemon's P2P port, which speaks monero P2P.

You need to change two things:

  • connect to the RPC port (18081 by default)
  • tell the cpuminer to not talk pool language but dameon RPC language using daemon+tcp instead of stratum+tcp

Not all miners know how to talk to the daemon instead of to a pool, so yours may not be able to. If not, use another miner (or use a more recent version).

For more information, see Solo GPU mining (partly applies to solo CPU mining).

user36303
  • 34,858
  • 2
  • 57
  • 123