I forked bitcoin (0.17 version), changed the ports, generated the Genesis block and hardcoded it chainparams.cpp.
Then i tried to create new blocks in regtest mode and i succeeded.
Now i have switched to mainnet. But i don’t understand how to start mining.
- for mining, do I need to connect a second identical node to the first node?
- is there any way to do mining this from the console?
Now i am trying this: altcoin-cli generate 10 999999999, it has been working for a long time, but i doubt its success
When i write: altcoin-cli generate 10 in debug log i see:
CreateNewBlock(): block weight: 900 txs: 0 fees: 0 sigops 400