Skip to content

leugan/qitmeer-miner

 
 

Repository files navigation

Qitmeer Miner

The Miner of Qitmeer

Build Status

Enviroment

$ go version >= 1.12

Compile

$ git clone git@github.com:Qitmeer/qitmeer-miner.git
  • Ubuntu ENV
$ sudo apt-get install beignet-dev nvidia-cuda-dev nvidia-cuda-toolkit
$ go build 
  • Centos ENV
$ sudo yum install opencl-headers
$ sudo yum install ocl-icd
$ sudo ln -s /usr/lib64/libOpenCL.so.1 /usr/lib/libOpenCL.so
$ go build
  • MAC
go build
  • Windows ENV
$ go build 
Any questions see issues or create

Run

$ cp qitmeer.conf.example 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 (/Users/fanxu/www/go/src/qitmeer-miner/miner.log)

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 (debug)

Help Options:
  -h, --help          Show this help message
Usage to see  ./qitmeer-miner -h

About

The miner of Qitmeer

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.8%
  • Shell 0.2%