[0.8] How do I mine a block? (Scrypt/SHA-256)

applies to Scrypt and SHA-256
branch 0.8

updated July 30, 2019, 3:59 pm

Open your wallet, and make sure your wallet is connected with a node.
Your wallet is connected when you see the icon Wallet connections in the lower right corner of your wallet.

The message “No block source available” will disappear once you mine your first block.

Go to Help.
Click Debug Window.
This is the console where you will execute all commands.

Type this command to start mining your first block:

setgenerate true -1

If you want to use a specific number of CPU cores, instead of -1, type the number of cores.

You can type the following command to see the status of generation.

getmininginfo

It will take about +/- 30 minutes to mine your first block, depending on your computer hardware.

Share