Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.
/ xmrigCC-amd Public archive
forked from xmrig/xmrig-amd

Cryptonight / -lite / -heavy AMD GPU (OpenCL) miner with Command&Control (CC) Server and Monitoring

License

Notifications You must be signed in to change notification settings

Bendr0id/xmrigCC-amd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XMRigCC-amd (OpenCL)

⚠️⚠️ This repo is outdated PLEASE use the latest unified miner available here: XMRigCC⚠️⚠️

⚠️ Confused by all the forks? Check the Coin Configuration guide.

💡 This is the AMD GPU (OpenCL) variant of XMRigCC, if you're looking for the CPU variant click here.

GitHub release Github downloads latest Github downloads total GitHub stars

XMRigCC Logo

About XMRigCC-amd (OpenCL)

XMRigCC-amd is a fork of XMRig-amd which adds the ability to remote control your XMRig-amd instances via a Webfrontend and REST api. This fork is based on XMRig-amd and adds a "Command and Control" (C&C) server, a daemon to reload the miner on config changes and modifications in XMRig-amd to send the current status to the C&C Server. The modified version can also handle commands like "update config", "start/stop mining" or "restart/shutdown" which can be send from the C&C-Server.

GPU mining part based on Wolf9466 and psychocrypt code.

⚠️ Suggested values for GPU auto configuration can be not optimal or not working, you may need tweak your threads options. Please fell free open an issue if auto configuration suggest wrong values.

Find Help/Howto

XMRigCC Daemon(miner)

Screenshot of XMRig Daemon (miner)

XMRigCC Server

Screenshot of XMRigCC Server

XMRigCC Dashboard

Screenshot of XMRigCC Dashboard

Download

Usage

Basic example xmrigCCServer

xmrigCCServer --cc-port=3344 --cc-user=admin --cc-pass=pass --cc-access-token=SECRET_TOKEN_TO_ACCESS_CC_SERVER

Options xmrigCCServer

        --cc-user=USERNAME                CC Server admin user
        --cc-pass=PASSWORD                CC Server admin pass
        --cc-access-token=T               CC Server access token for CC Client
        --cc-port=N                       CC Server
        --cc-use-tls                      enable tls encryption for CC communication
        --cc-cert-file=FILE               when tls is turned on, use this to point to the right cert file (default: server.pem) 
        --cc-key-file=FILE                when tls is turned on, use this to point to the right key file (default: server.key) 
        --cc-client-config-folder=FOLDER  Folder contains the client config files
        --cc-custom-dashboard=FILE        loads a custom dashboard and serve it to '/'
        --no-color                        disable colored output
        --cc-client-log-lines-history=N   maximum lines of log history kept per miner (default: 100)
    -S, --syslog                          use system log for output messages
    -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
    -h, --help                            display this help and exit
    -V, --version                         output version information and exit

Also you can use configuration via config file, default config_cc.json. You can load multiple config files and combine it with command line options.

Basic example xmrigDaemon

xmrigDaemon -o pool.minemonero.pro:5555 -u YOUR_WALLET -p x -k --cc-url=IP_OF_CC_SERVER:PORT --cc-access-token=SECRET_TOKEN_TO_ACCESS_CC_SERVER --cc-worker-id=OPTIONAL_WORKER_NAME

Options xmrigDaemon

  -a, --algo=ALGO               cryptonight (default) or cryptonight-lite
  -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
  -k, --keepalive               send keepalived for prevent timeout (need pool support)
  -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)
      --opencl-devices=N        list of OpenCL devices to use.
      --opencl-launch=IxW       list of launch config, intensity and worksize
      --opencl-affinity=N       affine GPU threads to a CPU
      --opencl-platform=N       OpenCL platform index
      --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
      --nicehash                enable nicehash support
      --print-time=N            print hashrate report every N seconds
      --api-port=N              port for the miner API
      --api-access-token=T      access token for API
      --api-worker-id=ID        custom worker-id for API
      --cc-url=URL              url of the CC Server
      --cc-use-tls              enable tls encryption for CC communication
      --cc-access-token=T       access token for CC Server
      --cc-worker-id=ID         custom worker-id for CC Server
      --cc-update-interval-s=N  status update interval in seconds (default: 10 min: 1)
  -h, --help                    display this help and exit
  -V, --version                 output version information and exit

Also you can use configuration via config file, default config.json. You can load multiple config files and combine it with command line options.

Common Issues

XMRigMiner

  • XMRigMiner is just the worker, it is not designed to work standalone. Please start XMRigDaemon instead.

Windows only: DLL error on starting

  • Make sure that you installed latest Visual C++ Redistributable for Visual Studio 2015. Can be downloaded here: microsoft.com

Donations

  • Default donation 5% (5 minutes in 100 minutes) can be reduced to 1% via command line option --donate-level.
BenDroid (xmrigCC):

XMR: 4BEn3sSa2SsHBcwa9dNdKnGvvbyHPABr2JzoY7omn7DA2hPv84pVFvwDrcwMCWgz3dQVcrkw3gE9aTC9Mi5HxzkfF9ev1eH

AEON: Wmtm4S2cQ8uEBBAVjvbiaVAPv2d6gA1mAUmBmjna4VF7VixLxLRUYag5cvsym3WnuzdJ9zvhQ3Xwa8gWxPDPRfcQ3AUkYra3W

BTC: 3Gwq9tveCZtLAiXX7mxhjbrh38GPx1iXdB

xmrig:

XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD

BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT

Contact

About

Cryptonight / -lite / -heavy AMD GPU (OpenCL) miner with Command&Control (CC) Server and Monitoring

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 55.9%
  • C 22.1%
  • Assembly 20.5%
  • CMake 1.4%
  • Common Lisp 0.1%