-2

I have setup a private Peercoin network with two nodes on virtual box. Both clients are able to connect and i am able to start a separate private blockchain. I have started mining using the setgenerate true.

Now i want to achieve similar thing using the latest client. I am able to connect two nodes with no outside connections. Now i want to start mining just like the older version, but seems like they have removed the setgenerate command.

How can i start CPU mining on the new client?

SpYdEr
  • 1
  • 3

1 Answers1

-1

Get a mining program like cgminer that supports peercoin and supports talking to a local full node over RPC. Configure your mining program to talk to one of your clients.

David Schwartz
  • 179,497
  • 17
  • 214
  • 278
  • When i run... `cgminer -o http://192.168.56.101:2332 -u user -p password --btc-address PK8x3CDKyoCP8PuEHFF8zL7qRYiGgAj7v8` i get error `No Stratum, GBT or Solo support in pool 0 http://192.168.56.101:2332 unable to use` – SpYdEr Jan 14 '20 at 12:31
  • Do you have "server=1 listen=1 daemon=1" in your client configuration? Do you have RPC set to allow a connection from whatever local IP address the mining machine has? Is cgminer using the write kernel, such as poclbm? – David Schwartz Jan 14 '20 at 18:00
  • I tried all these, and also rechecked my source code and recompiled. But the error is still here.. `The requested URL returned error: 500 Internal Server Error` – SpYdEr Jan 20 '20 at 10:37