Bitmark Mining Guide

The reference node/wallet is capable of solo mining. Use the following syntax:

setgenerate true <num_cpus> <num_algo>

Proof-of-Work Algorithms

There are 8 Proof-of-Work (PoW) algorithms that mine Bitmark and add blocks to the blockchain:

Proof of Work Algorithm pow_algo_id Merge-Mineable with … cpuminer-multi name
SCrypt 0 Digibyte scrypt
SHA256d 1 Bitcoin sha256d
Yescrypt 2 Unitus yescrypt
Argon2d 3 Argentum, Unitus ar2
X17 4 Verge x17
Lyra2REv2 5 Unitus lyra2REv2
EquiHash 6 ZCash equihash / *special executable needed*
CryptoNight 7 cryptonight

Difficulty Adjustment

Each algorithm’s mining difficulty is independently governed by DGWv3 to target a 16-minute block time. This ensures all 8 algorithms contribute fairly to the blockchain:

Target block time per algo ≈ 960 seconds (16 minutes)

Setting the Mining Algorithm

To manually set the mining algorithm on the reference node:

bitmark-cli setminingalgo 3

Alternatively, set it via the configuration file at ~/.bitmark.conf:

miningalgo = 3

Note: The config file only recognizes the numeric code (pow_algo_id) for algorithms.