Skip to content

CPU Mine BLOC on Windows with XMRig

XMRig uses separate miners for CPU and GPU, you need to download a CPU and GPU miner separately and run two separate instances on your computer.

BLOC Mining Network

You can find a complete list of the BLOC mining pools available on the BLOC MINING section of our website.

Make sure you have a wallet

If you have not yet downloaded and ran the BLOC software to sync the blockchain and create a wallet, you need to create your wallet before start mining.

Choose your mining pool

You can find a complete list of the BLOC mining pools available on the BLOC MINING section of our website. We suggest you to select the nearest mining pool following your location for the best mining experience and results.

Default Developer Donation

By default, the XMRIG will donate 5% of the hashpower (5 minutes in 100 minutes) to XMRIG developers pool. If you want to change that, edit config.json before you start mining. We strongly recommend to leave this donation fee at least 1% to help the XMRIG developers by providing regular updates.

Downloading and Installing for Windows

Download and install for CPU mining only

You can directly use the pre-built binaries for XMRig CPU. Download the Windows file here.

Run the file using ./xmrig.

GPU Mining

XMRig needs to be compiled for nVidia and AMD. Instructions for compiling are linked below(Ubuntu):

XMRig Setup and Configuration

  1. Unzip the file and extract the files into a new folder (Make sure your anti-virus doesn't delete the files)
  2. Open the config.json file with Notepad
  3. Find and change the following lines:

    • "algo: "cryptonight-lite" Change to: cryptonight-heavy

    • "url: "donate.v2.xmrig.com:3333" Change to: [pooladdress:port]. You'll need to choose a pool to mine towards. You can check the full list here. Make sure to keep the "s!

    • "user: "YOUR_WALLET_ADDRESS" Instead of [wallet address], simply paste your BLOC wallet's address. Make sure to keep the "!

    • "variant": -1
      Change to: "xhv" Make sure to ADD the "

    • "donate-level": 5, Change to: 1. Changing this to 0 will set the default donate-level to 5

  4. Save the file

Start mining

if you want to mine with both your CPU and your GPU you must have both programs open at the same time!

  • start xmrig.exe if you're mining with your CPU,
  • xmrig-amd.exe. if you're mining with an AMD GPU,
  • or xmrig-nvidia.exe if you're mining with a nVidia GPU.

xmrig should start by default using the config.json placed near the xmrig binary.

You can build different config files following different configuration and then start xmrig like this:

`xmrig.exe --config=my-config.json`

How to check hashrate and results in xmrig

To check the hashrate and results in xmrig you have 2 options. Command line option and HTML reports.

Command Line option

  • Type h in the command line window to display your hashrate

hashrate

  • Type p to pause the mining.

pause

  • Type r to resume mining.

resume

HTTP API

If you build miner from source, libmicrohttpd dependency is added. If you want use API you need to choose a port where the internal HTTP server will listen for incoming connections.

Exemple code to add in the config.json

"api": {
    "port": 16000,
    "access-token": "Optional Bearer Token used for authorization",
    "worker-id": "Optional miner name"
}
If you prefer use command line options instead of config file, you can use options:

--api-port, --api-access-token and --api-worker-id.

Make sure you check the API details from the official XMRig Github repository.

Let's take the port number as 16000 and your IP address as 88.20.105.14 as an example.

To check the hashrate, enter in the address bar of your web browser, `<88.20.105.14>:<16000>`.
It should show a page with your rig's hashrate.  
If you are checking from the same IP address, you can alternatively enter, `localhost:<16000>`

Make sure to enter your own IP address if you enable this feature. You can choose any port you want!

This is how it looks :

hashrate

How to check your payouts

You get paid out based upon what the pool sets the min payout amount. A pool’s min payout amount can vary from pool to pool. Visit the mining pool you are mining from to checkout your actual payouts.

Example if you are mining from BLOC-MINING Pool Europe

BLOC WEB MINER

  • Enter your BLOC address
  • Click search
  • All your payments will be displayed here

BLOC WEB MINER

Custom config file

Use config.xmrig.com to generate, edit or share configurations.

Mining with XMRIG

XMRIG gives too many options for tuning to get the best results out of your hardware. By default the miner creates config file for CPU, NVIDIA and AMD GPU. You can edit the values within these text files to customize your mining options.

For more information on XMRIG make sure you visit the Official XMRIG Github repository