Mining

From Ravencoin Wiki
Revision as of 09:22, 28 March 2018 by MrsDelish (talk | contribs)
Jump to navigationJump to search

There's a number of useful videos on how to mine Ravencoin. Possibly two of the best are:


Get started:

  1. Download the wallet from Ravencoin github, install and get a receiving address, be sure to backup wallet.
  2. Select a pool from the Pools page - or find one on the BitCoinTalk ANN Small or Big pool does not matter, it will average out over time. Help the network by spreading the hash to a small or medium pool. Check pool sizes on rvnstats.
  3. Download the GPU miner from GitHub links below.
  4. Unzip, and edit config to include the pool you want to mine on and your wallet address .....go mining.
  5. Remember starting out with power limit at 65% to 85% and stock settings on core and memory.

Nvidia cards ccminer:

  • ccminer 2.2.5 MSFTserver.
  • nevermore brian112358 (Optimised 20% faster version of original ccminer. Compiled version includes a 1% dev fee, alpha release at time of writing).


Example for nvidia cards (wallet is dev fund donation):

ccminer -a x16r -o stratum+tcp://stratum.threeeyed.info:3333 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p C=RVN

common flags:

-N 300 , --statsavg number of samples used to display hashrate (default: 30) Gives a better display average of hashrate.
-q , --quiet disable per-thread hashmeter output
-r 5 , --retries=N       number of times to retry if a network call fails (default: retry indefinitely) Needed for simple failover script.
-i 20 , --intensity=N[,N] GPU threads per call 8-25 (2^N + F, default: 0=auto) Decimals and multiple values are allowed for fine tuning
-d 0,1,2,3 , --devices         gives a comma separated list of CUDA device IDs to operate on. Device IDs start counting from 0! Alternatively give string names of your card like gtx780ti or gt640#2 (matching 2nd gt640 in the PC).

Failover script:

:MINE
ccminer -a x16r -o stratum+tcp://stratum.threeeyed.info:3333 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,,titanv -i 20 -r 5 
ccminer -a x16r -o stratum+tcp://miningpanda.site:3636 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,,titanv -i 20 -r 3
ccminer -a x16r -o stratum+tcp://cryptopool.party:3636 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,,titanv -r 3 
ccminer -a x16r -o stratum+tcp://yiimp.eu:3666 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,titanv -i 20 -r 3
GOTO :MINE

or in one line:

ccminer -a x16r -o stratum+tcp://stratum.threeeyed.info:3333 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,titanv -o stratum+tcp://miningpanda.site:3636 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,titanv -i 20 -o stratum+tcp://cryptopool.party:3636 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,titanv -o stratum+tcp://yiimp.eu:3666 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p c=RVN,titanv


AMD cards sgminer:


Example for amd cards (wallet is dev fund donation):

sgminer -k x16r -o stratum+tcp://stratum.threeeyed.info:3333 -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV -p C=RVN 

common flags:

--gpu-platform 1 , Sets GPU platform
-I 20 , Intensity
-g 2 ,or --g 2 , set threads pr gpu, can give higher hashrate if your cpu can handle it.
-d 0,1,2,3 , Devices specify what cards to use.
--config failover.conf  load a config file

Failover config, make a file named failover.conf in the same folder as the bat file, with the following format, remember to add ' --config failover.conf ' in bat file :

{
 "pools": [
   {
     "name": "Raven three eyed",
     "nfactor": "10",
     "algorithm": "x16r",
     "quota": "1;stratum+tcp://stratum.threeeyed.info:3333",
     "user": "RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV",
     "pass": "c=RVN,titanV"
   },
   {
     "name": "Raven Yiimp",
     "nfactor": "10",
     "algorithm": "x16r",
     "quota": "1;stratum+tcp://yiimp.eu:3666",
     "user": "RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV",
     "pass": "c=RVN,titanV"
   },
   {
     "name": "Raven minepool",
     "nfactor": "10",
     "algorithm": "x16r",
     "quota": "1;stratum+tcp://minepool.com:3636",
     "user": "RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH.titanV",
     "pass": "c=RVN,titanV"
   }
 ],
 "api-port": "4028",
 "failover-only": true
}

Example bat file with configured failover:

sgminer --config failover.conf --gpu-platform 1 -g 2 -I 19

Helpful links:

Brian has wiki pages on github for his miners.


If it is not working try our Troubleshoot page.

There is a comprehensive article on virtopia.ca to help you get started mining Ravencoin.

1stminingrig has a Guide to mine Ravencoin.


Make sure you're downloading software from trusted sources. There have been reports of some miners possibly including malware, whilst this isn't confirmed it's down to you to exercise caution installing anything on your machines. The GitHub links in the steps above to Ravencoin, MSFTserver and the AMD miners have been used by lots in the community and are generally trusted.

There's some great guides on Ravencoin Forum:

https://ravenforum.org/topic/15/mine-raven-with-awesome-miner

https://ravenforum.org/topic/17/sgminer-a-troubleshooting-guide


More information:

Why mine Ravencoin

Ravencoin Youtube playlist by Crypto Explorer how to get started and beyond with Ravencoin

BitsBeTripping - So what is x16r Algo, how can you mine it? Ravencoin Deep Dive

BitsBeTripping - SGMiner for x16r Ravencoin RVN - Testing a RX Vega 64

Ravencoin Stats

Ravencoin Explorer