0
2
I forked bitocin and created a altcoin.
Now I am running a node of it. There are currently 0 blocks because there are no miners. How can I enable mining on bitcoind?
I tried adding gen=1 with config, but it's not mining.
I believe there was a setgenerate true command, but I am not sure how to use it. How can I make my node mine coins?
1Interesting, I didn't know this worked outside regtest mode, but the code suggests that it does. (Of course it will be very slow and one might wish to use an external cpu miner instead.) – Nate Eldredge – 2018-02-13T03:53:57.937
@NateEldredge yeah I thought the same, but couldn't find any checks in the code and running it on mainnet didn't throw any errors, so unless someone knows something otherwise, I guess it works :) – MeshCollider – 2018-02-13T04:49:39.233