-
Notifications
You must be signed in to change notification settings - Fork 3
Home
XMRig is a high performance RandomX and CryptoNight miner,and his is the CPU-mining version.Since the pow hash algorithm used by our BigBang is cryptonight, so xmrig can also be used for mining of it.
System:ubuntu 16.04
CPU:Inter core i3
Memory:4GB
Hard disk:20G
Bandwidth:200Kbps
address:https://github.com/bigbangcore/miner
download:git clone https://github.com/bigbangcore/miner.git
sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
git clone https://github.com/bigbangcore/miner.git
cd xmrig && mkdir build && cd build
cmake ..
make
address:https://github.com/bigbangcore/miner/releases
The preferred way to start mining is to use the configuration file JSON config file, which is more flexible and user-friendly. Although you can start a program using the command line,but it does not cover all features. For example, setting configuration files for different algorithms, and important options can be completed by modifying the configuration files or executing API calls during program running without restarting miner. The contents of the configuration file are as follows:
{
"autosave": false,
"background": false,
"colors": true,
"retries": 5,
"retry-pause": 5,
"syslog": false,
"log-file": null,
"print-time": 60,
"av": 0,
"safe": false,
"max-cpu-usage": 85,
"cpu-priority": 3,
"pools": [
{
"algo": "cn/bbc",
"url": "bbc01.bbcpool.io:3333",//this is the pool address you will connect to
"user": "1dtxf4e89n52eyttgnwhrjwgesez3edk8k9gfcjfq94yas0qb4j67vqz7",//this is your wallet address
"pass": "x",
"rig-id": "yourName",//this is your name
"nicehash": true,
"keepalive": true,
"enabled": true,
"tls": false,//set it as ture if you will be using the port 9999
"tls-fingerprint": null
}
],
"threads": 1,
"api": {
"port": 0,
"access-token": null,
"worker-id": null
}
}
-a, --algo=ALGO specify the algorithm to use
cn/r, cn/2, cn/1, cn/0, cn/double, cn/half, cn/fast,
cn/rwz, cn/zls, cn/xao, cn/rto, cn/gpu,
cn-lite/1,
cn-heavy/xhv, cn-heavy/tube, cn-heavy/0,
cn-pico,
rx/wow, rx/loki
-o, --url=URL URL of mining server
-O, --userpass=U:P username:password pair for mining server
-u, --user=USERNAME username for mining server
-p, --pass=PASSWORD password for mining server
--rig-id=ID rig identifier for pool-side statistics (needs pool support)
-t, --threads=N number of miner threads
-v, --av=N algorithm variation, 0 auto select
-k, --keepalive send keepalived packet for prevent timeout (needs pool support)
--nicehash enable nicehash.com support
--tls enable SSL/TLS support (needs pool support)
--tls-fingerprint=F pool TLS certificate fingerprint, if set enable strict certificate pinning
--daemon use daemon RPC instead of pool for solo mining
--daemon-poll-interval=N daemon poll interval in milliseconds (default: 1000)
-r, --retries=N number of times to retry before switch to backup server (default: 5)
-R, --retry-pause=N time to pause between retries (default: 5)
--cpu-affinity set process affinity to CPU core(s), mask 0x3 for cores 0 and 1
--cpu-priority set process priority (0 idle, 2 normal to 5 highest)
--no-huge-pages disable huge pages support
--no-color disable colored output
--donate-level=N donate level, default 5% (5 minutes in 100 minutes)
--user-agent set custom user-agent string for pool
-B, --background run the miner in the background
-c, --config=FILE load a JSON-format configuration file
-l, --log-file=FILE log all output to a file
--asm=ASM ASM optimizations, possible values: auto, none, intel, ryzen, bulldozer.
--print-time=N print hashrate report every N seconds
--api-worker-id=ID custom worker-id for API
--api-id=ID custom instance ID for API
--http-enabled enable HTTP API
--http-host=HOST bind host for HTTP API (default: 127.0.0.1)
--http-port=N bind port for HTTP API
--http-access-token=T access token for HTTP API
--http-no-restricted enable full remote access to HTTP API (only if access token set)
--randomx-init=N threads count to initialize RandomX dataset
--randomx-no-numa disable NUMA support for RandomX
--export-topology export hwloc topology to a XML file and exit
--dry-run test configuration and exit
-h, --help display this help and exit
-V, --version output version information and exit
If your profile is in the same directory as the executable program,you should start work like this:
./xmrig -c config.json
You can click here log in to the pool, select worker statistics, and then enter your wallet address, your can view the data of rewards.