qitmeer-miner is the miner tool for qitmeer network , it can get reward by generate block.
Update Go to version at least 1.12 (required >= 1.12)
Check your golang version
$ go version >= 1.12
$ cargo >= 1.36.0 (c4fcfb725 2019-05-15)
$ git clone git@github.com:Qitmeer/qitmeer-miner.git
$ cd lib/cuckoo
$ cargo build --release
$ sudo apt-get install beignet-dev nvidia-cuda-dev nvidia-cuda-toolkit
$ go build
$ sudo yum install opencl-headers
$ sudo yum install ocl-icd
$ sudo ln -s /usr/lib64/libOpenCL.so.1 /usr/lib/libOpenCL.so
$ go build
go build
$ go build
$ cp qitmeer.conf.example qitmeer.conf
qitmeer.conf
- 1.run with the config file `qitmeer.conf`
- 2.run with command
$ ./qitmeer-miner -h
Usage:
qitmeer-miner [OPTIONS]
Debug Command:
-l, --listdevices List number of devices.
The Config File Options:
-C, --configfile= Path to configuration file
--minerlog= Write miner log file
The Necessary Config Options:
-P, --pow= blake2bd|cuckaroo|cuckatoo (blake2bd)
-S, --symbol= Symbol (PMEER)
-N, --network= network privnet|testnet|mainnet (mainnet)
The Solo Config Option:
-M, --mineraddress= Miner Address
-s, --rpcserver= RPC server to connect to (127.0.0.1)
-u, --rpcuser= RPC username
-p, --rpcpass= RPC password
--randstr= Rand String,Your Unique Marking. (Come from Qitmeer!)
--notls Do not verify tls certificates (true)
--rpccert= RPC server certificate chain for validation
The pool Config Option:
-o, --pool= Pool to connect to (e.g.stratum+tcp://pool:port)
-m, --pooluser= Pool username
-n, --poolpass= Pool password
The Optional Config Option:
--cpuminer CPUMiner (false)
--proxy= Connect via SOCKS5 proxy (eg. 127.0.0.1:9050)
--proxyuser= Username for proxy server
--proxypass= Password for proxy server
--trimmerTimes= the cuckaroo trimmer times (40)
--intensity= Intensities (the work size is 2^intensity) per device. Single global value or a comma
separated list. (24)
--worksize= The explicitly declared sizes of the work to do per device (overrides intensity). Single
global value or a comma separated list. (256)
--timeout= rpc timeout. (60)
--use_devices= all gpu devices,you can use ./qitmeer-miner -l to see. examples:0,1 use the #0 device
and #1 device
--max_tx_count= max pack tx count (1000)
--max_sig_count= max sign tx count (5000)
--log_level= info|debug|error|warn|trace (debug)
--stats_server= stats web server (127.0.0.1:1235)
--edge_bits= edge bits (24)
--local_size= local size (4096)
--group_size= work group size (256)
Help Options:
-h, --help Show this help message
stats_server=127.0.0.1:1235
in qitmeer.conf© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License