Skip to content

Latest commit

 

History

History
81 lines (67 loc) · 2.94 KB

c29.md

File metadata and controls

81 lines (67 loc) · 2.94 KB

Usage example with SwapReferenceMiner/MoneroVMiner on Linux (for c29 algo)

  • Get SwapReferenceMiner and MoneroVMiner:
wget https://github.com/swap-dev/SwapReferenceMiner/releases/download/1.2.0/SwapReferenceMiner-1.2.0-linux-self_contained.tar.gz
tar xf SwapReferenceMiner-1.2.0-linux-self_contained.tar.gz
wget https://github.com/xmvdev/MoneroVMiner/releases/download/v1.0/monerovMiner-linux64.tar.gz
tar xf monerovMiner-linux64.tar.gz
mv SwapReferenceMiner-1.2.0-linux-self_contained SwapReferenceMiner
mv monerovMiner-linux64 MoneroVMiner
  • Configure SwapReferenceMinerCLI this way (put your Monero wallet address):
SwapReferenceMiner/SwapReferenceMinerCLI
No config file found, it will be generated now....
Autodetecting GPUs...
Detected 0 suitable nvidia devices
Detected 1 suitable AMD devices
Enter your mining pool stratum address:
localhost:3333
Use TLS? (y/n)         [Note that the pool:port must support TLS]
n
Enter your pool login:
89TxfrUmqJJcb1V124WsUzA78Xa3UYHt7Bg8RGMhXVeZYPN8cE5CZEk58Y1m23ZMLHN7wYeJ9da5n5MXharEjrm41hSnWHL
Enter your pool password:
x
  • Configure MoneroVMiner this way (put your Monero wallet address):
MoneroVMiner/bin/MoneroVMiner
Starting MoneroV Miner ...
No config file found, it will be generated now....
Autodetecting GPUs...
Detected 0 suitable nvidia devices
Detected 1 suitable AMD devices
Enter your mining pool stratum address (IP:PORT) :
localhost:3333
Enter your MoneroV Wallet-Address:
89TxfrUmqJJcb1V124WsUzA78Xa3UYHt7Bg8RGMhXVeZYPN8cE5CZEk58Y1m23ZMLHN7wYeJ9da5n5MXharEjrm41hSnWHL
Enter your Rig Name:
x

Created new config.xml in (./config.xml).
<CTRL+C>
  • Enable debug output to get hashrate (you can return it to INFO later):
sed -i 's/<ConsoleMinimumLogLevel>.\+<\/ConsoleMinimumLogLevel>/<ConsoleMinimumLogLevel>DEBUG<\/ConsoleMinimumLogLevel>/' SwapReferenceMiner/config.xml
  • Configure xmrig for OpenCL mining (optional, just for example here)
wget https://github.com/xmrig/xmrig/releases/download/v5.4.0/xmrig-5.4.0-xenial-x64.tar.gz
tar xf xmrig-5.4.0-xenial-x64.tar.gz
cp xmrig-5.4.0/* .
sed -i '/^ *"cpu":/,/^ *[^:]*:/s/"enabled": true/"enabled": false/' config.json
sed -i '/^ *"opencl":/,/^ *[^:]*:/s/"enabled": false/"enabled": true/' config.json
sed -i 's/"url": *"[^"]*",/"url": "localhost:3333",/' config.json
sed -i 's/"user": *"[^"]*",/"user": "89TxfrUmqJJcb1V124WsUzA78Xa3UYHt7Bg8RGMhXVeZYPN8cE5CZEk58Y1m23ZMLHN7wYeJ9da5n5MXharEjrm41hSnWHL",/' config.json
  • Run Meta Miner (adding xmrig for OpenCL for example):
./mm.js -p=gulf.moneroocean.stream:10001 --c29s="./SwapReferenceMiner/SwapReferenceMinerCLI mode=rolling" --c29v="./MoneroVMiner/bin/MoneroVMiner" -m="./xmrig --config=config.json"
  • Please note that your c29 miner reports hashrate in graphs per second (gps), while algo_perf in mm.js will have it in hps, which is gps divided by 32 for c29s algo, gps divided by 16 for c29v algo and gps divided by 40 for c29b algo.