Difference between revisions of "Mining"

From Ravencoin Wiki
Jump to navigationJump to search
m (added miners sub menu)
 
(106 intermediate revisions by 8 users not shown)
Line 1: Line 1:
There's a number of useful videos on how to mine Ravencoin. Possibly two of the best are:
+
{{#seo:
 +
|title=Ravencoin Wiki: Mining
 +
|keywords=Ravencoin mining
 +
|description=Help on how to get started mining Ravencoin, including links and configuration information for various mining software.
 +
}}
  
*[https://www.youtube.com/watch?v=Yg3ssmZfX4U Crypto Explorer - setting up wallet and starting mining]
+
This page provides guidance on mining Ravencoin with the KAWPOW algorithm. Keep yourself and your software up to date by [https://ravencoin.org/community/ joining the community.] Subscribe to the [https://ravencoin.org/updates/ Ravencoin Updates mailing list.] Join [https://discord.gg/jn6uhur the Discord] or [https://t.me/RavencoinDev the Telegram server] and request mining help. Pass on your expertise where you can. This is your community too. The following information is current and accurate as of May 5th, 2020.
*[https://www.youtube.com/watch?v=gMpW1nehe54 BitsBeTripping - So what is x16r Algo, how can you mine it? Ravencoin Deep Dive]
 
  
 +
=== Quick Start ===
  
== Get started: ==
+
# Download the latest Ravencoin wallet from [https://github.com/RavenProject/Ravencoin/releases Ravencoin github] or [https://ravencoin.org/wallet/ Ravencoin official website]. Install it and get a receiving address. Be sure to [[FAQ#How_do_I_backup_my_wallet.dat_file.3F|back up your wallet]]. Remember to check the '''[[Mining#Best_Practices | Best Practices]]''' page to keep your coins safe. Note: do not use special characters for your passphrase when encrypting the wallet.
 +
# Select a pool from the '''[[Pools]]''' page. Broadly speaking, your mining rewards should average out over time, whether you join a large pool or a small one. Please consider pointing your miner(s) at smaller pools so as to distribute the hashrate and improve network health/security. You can [https://ravencoin.network/pools check pool sizes here]. Choosing a pool near your geographic location is suggested.
 +
# Download a GPU miner. Several are available, but for the purposes of this quick start guide, we are going to use '''Ravencoin Community open-source miner [https://github.com/RavenCommunity/kawpowminer/releases kawpowminer] (Nvidia+AMD)'''.
 +
# Extract the kawpowminer folder, there is no .bat file included, so we'll have to make one ourselves. Create a text-file, and rename it to RVN.bat (make sure it's not RVN.bat.txt - you may have to [https://www.howtogeek.com/205086/beginner-how-to-make-windows-show-file-extensions/ disable "hide extensions for known file types"] on Windows). Edit the newly created .bat (right click the file and select edit).
 +
kawpowminer -U -P stratum+tcp://<WALLET_ADDR><.WORKER><:PASSWORD>@HOSTNAME:PORT
 +
pause
 +
Replace values in <> with yours. Worker and password are optional. For AMD use -P instead of -U. Use the hostname and port that your pool provided you.
 +
# Double-click "RVN.bat" in the kawpowminer folder. After a brief delay, text should begin scrolling (and your GPU(s) will begin generating a bit of heat and noise). If your configuration is correct, you will see your hashrate displayed in Megahash per second (MHs). Otherwise, any errors will display and you may need to reconfigure appropriately.
 +
# If you cannot resolve these issues through your own research/trial and error, consider reaching out to the community of miners on our Discord or Telegram servers (linked above).
  
=== Quick start ===
+
=== Miners ===
# Download the wallet from [https://github.com/RavenProject/Ravencoin/releases Ravencoin github], install and get a receiving address, be sure to [[FAQ#How_do_I_backup_my_wallet.dat_file.3F|Backup wallet]]. Remember to check '''[[Best practices]]''' page to keep your coins safe.
 
# Select a pool from the '''[[Pools]]''' page - or find one on the [https://bitcointalk.org/index.php?topic=2752467.0 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 [https://www.rvnstats.info/d/TcDzUYmmz/x16r-ravencoin-mining-pool-statistics-v1-3 rvnstats].
 
# Download the GPU miner from GitHub links below. There is a side by side test in our [[FAQ#Which_miner_is_best.3F|FAQ: Which miner is best]]
 
# Unzip, and edit config to include the pool you want to mine on and your wallet address .....'''go mining.'''
 
'''Additional info:'''
 
# Remember starting out with power limit at 65% to 85% and stock settings on core and memory. x16r spikes in power draw, be sure to have headroom on your PSU and connect your [https://www.gpuminingresources.com/p/psu-cables.html risers correctly]
 
# Ccminer(and forks) does not like to many cards in each instance, split up the cards with -d 0,1,2,3 in first bat file and -d 4,5,6,7 in next, and so on. Some are successful with running 6 cards in each instance, but 4 cards seems to be stable in almost every scenario.
 
# Once stability is reached try raising core in +10 or +25 steps and recheck for stability. Memory OC does little on x16r and is commonly set to default or -500 for a bit more headroom.
 
# To get miner to auto start on reboot press ' win + r ' and type in ' shell:startup ' then copy shortcut of your bat file into startup folder.
 
  
 +
''Nvidia and AMD''
 +
*[https://github.com/RavenCommunity/kawpowminer/releases kawpowminer] '''Ravencoin Community open-source miner (no devfee)'''
 +
*[https://github.com/NebuTech/NBMiner/releases NBMiner] (2% devfee)
 +
*[https://github.com/nanopool/nanominer/releases nanominer] (2% devfee)
  
If it is not working try our '''[[Troubleshoot]]''' page.
+
''Nvidia only''
 +
*[https://bitcointalk.org/index.php?topic=5025783.0 TT-Miner] (no devfee)
 +
*[https://github.com/trexminer/t-rex/releases T-Rex] (1% devfee)
 +
*[https://github.com/develsoftware/GMinerRelease/releases GMiner] (2% devfee)
 +
*[https://github.com/zealot-rvn/z-enemy/releases z-enemy] (1% devfee)
  
 +
''AMD only''
 +
*[https://github.com/todxx/teamredminer/releases/ TeamRedMiner] (2% devfee)
 +
*[https://github.com/andru-kun/wildrig-multi/releases/ WildRig] (1% devfee)
  
Please '''DO NOT MINE''' with your payout address set to an exchange. The extra miner traffic is causing system issues for DEXs.
+
Please note that all of those alternative miners are closed source and should be used at your own risk. Best practice: do not use closed source mining software on a machine containing personal or sensitive data.
  
 +
=== Overclocking ===
  
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 to Ravencoin, MSFTserver and Brian's miners have been used by lots in the community and are generally trusted
+
''Optimization NVIDIA''
  
 +
Most miners use graphics card overclocking software to optimize their power and hashrate. One such program is [https://www.msi.com/page/afterburner MSI's Afterburner], which will let you adjust your power, memory, core, and other settings. Install this software, and consider using the following settings as a stable and efficient starting point:
 +
*Power Limit: 70%
 +
*Core: +30
 +
*Memory: +100
  
=== Common flags for both sgminer & ccminer ===
+
''Optimization AMD (outdated)''
-u login/wallet
+
*Memory: Stock or 1500
On pools with registration ie Suprnova.cc we use our register account here with the following syntax;
+
*Voltage drop allowed: 800-950. Seal recommends 850. Experiment to find what is stable for you.
-u LOGIN.workername
+
*Core: As high as possible. Experiment for stability with voltage and Mhz.
Pools were we use our wallet as login, the syntax is similar
+
*Power limit: stock (+0%)
-u WALLET.rigname
+
*Stock BIOS or mem/voltage adjusted BIOS are recommended. Ethash BIO Swith low core voltage are ''not'' recommended.
It is considered best practices to only use letters and numbers, no white space or special chars.
 
  
  
-p x
+
''Radeon Wattman''
password/options, on pools with registered users this is your password field ie Suprnova.cc. Pools with wallet as user name, we can often set options her, like c=RVN specifies coin, d=16 sets stratum (start on some)difficulty, and rigname. Separate the different options with a comma.
 
-p c=RVN,d=28,titanv
 
It is considered best practices to only use letters and numbers, no white space or special chars.
 
  
 +
Set GPU Workload to compute
  
== Nvidia cards ccminer flags ==
+
Set P7 state as first and last.
=== Nvidia miners ===
+
Keep an eye on your temperatures. High heat will reduce performance. Try to stay in the 65 degree range.
*'''Nevermore''' [https://github.com/brian112358/nevermore-miner/releases brian112358] (Optimized '''25% faster''' version of original ccminer 2.2.5. Compiled version includes a 1% dev fee).
+
Your mileage may vary.  
*Suprminer [https://github.com/ocminer/suprminer/releases ocminer]. Fork of Nevermore, no devfee.
 
*ccminer 2.2.5 [https://github.com/tpruvot/ccminer/releases tpruvot's main release]. An updated version with x16r included in tpruvot's main release.
 
Legacy:
 
*ccminer 2.2.5 [https://github.com/MSFTserver/ccminer/releases/tag/2.2.5-rvn hosted by MSFTserver]. This was the first full GPU miner for x16r, it is superseded by the miners above.
 
  
 +
''Additional info:''
 +
# To get your miner to auto start on reboot, press ' win + r ' and type in ' shell:startup ' then create a shortcut of your bat file in the startup folder. Set your BIOS to reboot automatically after a power outage. This will minimize downtime due to power interruption or reboot.
 +
# Use the failover option in your RVN.bat file to select a backup stratum for your first choice mining pool (you can add multiple pools via multiple -P options).
 +
# Likewise, use the failover option to select a second pool you are registered with. These steps will keep you mining if/when your chosen stratum/pool go down
  
=== Example for nvidia cards ===
 
Wallet is dev fund donation,updated
 
ccminer -a x16r -o stratum+tcp://miningpanda.site:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -N 600
 
common flags:
 
-N 600 , --statsavg number of samples used to display hashrate (default: 30) Gives a better display of average 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).
 
[https://github.com/brian112358/nevermore-miner/blob/linux/README.txt All the flags for ccminer/nevermore]
 
  
  
=== Failover Nvidia script ===
+
Make sure you're downloading software from trusted sources. There have been reports of some miners possibly including malware. Malware comes in different forms. Be skeptical and vigilant.
:MINE
 
ccminer -a x16r -o stratum+tcp://miningpanda.site:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -r 3 -N 600
 
ccminer -a x16r -o stratum+tcp://cryptopool.party:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -r 3 -N 600
 
ccminer -a x16r -o stratum+tcp://yiimp.eu:3666 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -r 3 -N 600
 
GOTO :MINE
 
  
or in one line:
+
=== Pool Provided Mining Guides===
ccminer -a x16r -o stratum+tcp://miningpanda.site:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -o stratum+tcp://cryptopool.party:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -o stratum+tcp://yiimp.eu:3666 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -N 600
+
Many pools provide brief guides and example configuration files to mine Ravencoin with the kawpow algorithm on their pool. Some examples follow.
  
 +
*[https://medium.com/@bsodpool/how-to-mine-ravencoin-3463445fff1f BSOD.PW]
 +
*[https://minermore.com/docs/help/ravencoin_fork/ MinerMore]
 +
*[https://2miners.com/blog/how-to-mine-ravencoin/ 2miners]
 +
*[https://medium.com/@Woolypooly_com/how-to-mine-raven-rvn-69a873a4f304 WoolyPooly]
 +
*[https://rvn.suprnova.cc/index.php?page=gettingstarted Suprnova]
 +
*[https://herominers.medium.com/how-to-mine-ravencoin-rvn-complete-beginners-guide-e4c8f186207 HeroMiners]
  
Seal Clubber's [https://cdn.discordapp.com/attachments/405866260379992064/421768350201544725/PoolFailover_V1.0.bat failover script]
 
  
== AMD cards sgminer flags ==
 
=== AMD miners ===
 
*'''Avermore 1.0''' [https://github.com/brian112358/avermore-miner/releases Brian's Avermore] Avermore initial release. Initial tests show 10% speedup over ace's sgminer-gm-x16r. Optimized x16r / x16s kernels.
 
*sgminer 5.5.5-gm-a [https://github.com/aceneun/sgminer-gm-x16r/releases acenine].
 
*sgminer 5.5.6-brianmct [https://github.com/brian112358/sgminer-x16r/releases brian112358].
 
  
 +
== Setting up Ubuntu for NVIDIA mining ==
 +
[[Ubuntu Mining | A complete guide to set up Ubuntu 18.04 with NVIDIA CUDA drivers can be found here.]] (outdated)
  
=== Example for amd cards ===
 
Wallet is dev fund donation
 
sgminer -k x16r -o stratum+tcp://miningpanda.site:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.VegaFrontier -p C=RVN -X 256
 
common flags:
 
--gpu-platform 1 , Sets GPU platform. --gpu-platform 2 for only amd cards. Try platform 0 if system has no IGPU.
 
-X 512 , Argument: one value or a comma (,) delimited list GPU Xintensity between 1 and 9999. Shader based intensity of GPU scanning. Overridden by rawintensity and overrides intensity. Thanks to wolf0 for update on flags to use.
 
-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.
 
RX 4x0 and 5x0 series cards seems to run good with -X 256 to 384, some good reports on 512 as well. To high for the card and performance goes down.
 
  
Outdated flags:
 
--thread-concurrency 1024 , '''Outdated''', use -X instead. Number of concurrent threads per GPU for mining. One value or a comma (,) delimited list.
 
-I N , Do NOT use, '''use -X instead'''. Intensity of GPU scanning. A lower value, will free up resources if you want to use your GPU for other tasks as well.
 
  
[https://github.com/sgminer-dev/sgminer/blob/master/doc/configuration.md#config-file-and-cli-options Github has all the flags]
+
== Troubleshoot ==
 
+
If it is not working try our '''[[Mining#Troubleshooting | Troubleshoot]]''' reach out to the community of miners on our Discord or Telegram servers (linked above).
 
 
BBT Carter shows us how to get RX 580s to 8 MH/s [https://www.youtube.com/watch?v=_iWneKiCYMY BitsBeTrippin Youtube]
 
 
 
 
 
=== Failover AMD ===
 
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": "Mining Panda",
 
      "nfactor": "10",
 
      "algorithm": "x16r",
 
      "quota": "1;stratum+tcp://miningpanda.site:3636",
 
      "user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.VegaFrontier",
 
      "pass": "c=RVN,titanV"
 
    },
 
    {
 
      "name": "Raven Yiimp",
 
      "nfactor": "10",
 
      "algorithm": "x16r",
 
      "quota": "1;stratum+tcp://yiimp.eu:3666",
 
      "user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.VegaFrontier",
 
      "pass": "c=RVN,titanV"
 
    },
 
    {
 
      "name": "Raven minepool",
 
      "nfactor": "10",
 
      "algorithm": "x16r",
 
      "quota": "1;stratum+tcp://minepool.com:3636",
 
      "user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.VegaFrontier",
 
      "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 -X 256
 
 
 
== Helpful links: ==
 
 
 
Brian has wiki pages on github for his miners.
 
* nevermore wiki [https://github.com/brian112358/nevermore-miner/wiki Nevermore-wiki]
 
* sgminer wiki [https://github.com/brian112358/sgminer-x16r/wiki/Getting-Started Sgminer-wiki-Get-Started]
 
* How to solomine with Nevermore, available from version 0.2 [https://github.com/brian112358/nevermore-miner/wiki/Solo-mining Solo wiki] Network hash / your hash = average mins to find a block. Not recommended unless you have at least 0,5% of network hash.
 
 
 
If it is not working try our '''[[Troubleshoot]]''' page.
 
  
 
=== Earning calculators ===
 
=== Earning calculators ===
  
[https://whattomine.com/coins/234-rvn-x16r whattomine.com] Ravencoin calculator
+
[[Tools#Profit_Calculator| Profit Calculators on Tools Page]]
  
Ravencoin  [http://www.ravencalc.xyz/ calculator]
 
  
Excel sheet for calculating how many coins pr MH/s [https://cdn.discordapp.com/attachments/405866260379992064/419588490247012363/RavenCoinHashrateCalculatorDatasheet.xlsx Seal Clubber's xlsx]
+
=== More information ===
  
((hashrate*10^6)*5000*60*60*24)/(netdiff*(2^32)) = average coins pr day
+
[https://www.youtube.com/watch?v=PRWqSQkqXoQ Why mine Ravencoin]
  
=== Getting started guides ===
+
[https://www.youtube.com/playlist?list=PLVJfzZDDWzP_BGAjjxm3QHZMsswXkiUD2 Ravencoin Youtube playlist] by [https://www.youtube.com/channel/UCG_W03xpXHUlAlvISgiWTSg Crypto Explorer] how to get started and beyond with Ravencoin
  
There is a [https://virtopia.ca/how-to-mine-ravencoin-rvn/ comprehensive article on virtopia.ca] to help you get started mining Ravencoin.
+
[[Explorers|Ravencoin Explorers]]
  
[https://gist.github.com/synergyethos/51512fd9b6eef563f4bff23cff207c8a headless linux nvidia] set up guide (miner software in guide unknown to me)
+
== Donate ==
 
+
Want to help fund the development?
1stminingrig has a [https://1stminingrig.com/how-to-mine-ravencoin-rvn-with-amd-nvidia-gpu-and-cpu/ Guide to mine Ravencoin].
+
Donation Address: <code>RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT</code>
  
Guide for AWS -EC2 compatible Ubuntu 16.04 [https://gist.github.com/underdarkskies/6b918323e20584d60b37a03abcfa9e3d Ubuntu multi miner]
 
  
There are some great guides on [https://ravenforum.org Ravencoin Forum]:
+
== Best Practices ==
 +
* Only run software from known reputable developers, preferably peer reviewed and audited code.
 +
* Download only from the links provided by the developer, preferably from the developers own site or their own github repo.
 +
* The inherent danger of a malicious miner app is that by design it already has all the tools needed to be very harmful, including upload and download capabilities, there will not necessarily be anything we can detect immediately, as a malicious miner app can be triggered by something as simple as a specific network block number being reached or other delayed mechanisms.
 +
* Any computer on our network(subnet) could be a potential threat towards our hot wallet.
 +
* There is no way to know if our wallet.dat/private keys are compromised, unless we always keep them safe guarded.
 +
* The above holds true for any software we download and use.
  
[https://ravenforum.org/topic/15/mine-raven-with-awesome-miner https://ravenforum.org/topic/15/mine-raven-with-awesome-miner]
+
== Troubleshooting ==
 +
===All miners===
  
[https://ravenforum.org/topic/17/sgminer-a-troubleshooting-guide https://ravenforum.org/topic/17/sgminer-a-troubleshooting-guide]
+
====Crash on startup.====
 +
Check if Antivirus/Windows defender has deleted your miner.exe file, check if the .exe file is still in your folder. Fix by setting an exception.
 +
Make sure you have latest drivers installed.
  
 +
====Crash/reboot after some time====
 +
Check the power limit for the cards, 65% - 85% is common. Remember that the TDP for a card is an average draw of the card and in short spikes the total draw can be much higher. This is why the GPU manufacturers recommends much higher watt PSU than the TDP listed wattage of the cards would otherwise suggest.
  
=== More information ===
+
====Naming Your Rig on the pool====
 +
Most pools usually set name by WALLET.rigname like:
 +
<code><USERNAME/WALLET_ADDR><.RIGNAME></code>
 +
A comma is used to separate arguments, try not to use special character or spaces in your rig name.
 +
If that doesn't work, check pool specific information about setting rig name.
  
[https://www.youtube.com/watch?v=PRWqSQkqXoQ Why mine Ravencoin]
 
  
[https://www.youtube.com/playlist?list=PLVJfzZDDWzP_BGAjjxm3QHZMsswXkiUD2 Ravencoin Youtube playlist] by [https://www.youtube.com/channel/UCG_W03xpXHUlAlvISgiWTSg Crypto Explorer] how to get started and beyond with Ravencoin
+
When troubleshooting it is helpful to have pause at the end of our bat file, so you can see the errors from console.
 +
kawpowminer -U -P stratum+tcp://RQZS8LBvv2VWuAEWF5BXoRikoG6MRp5asH.test:x@HOSTNAME:PORT
 +
pause
  
[https://www.youtube.com/watch?v=gMpW1nehe54 BitsBeTrippin - So what is x16r Algo, how can you mine it? Ravencoin Deep Dive]
+
====A certain pool gives error on launch====
 +
Check that you have created a worker on pool website and supplied a password, if required, ask a question to support of that pool.
  
[https://www.youtube.com/watch?v=6wzwNix0f2E BitsBeTrippin - SGMiner for x16r Ravencoin RVN - Testing a RX Vega 64]
+
====Getting a lot of "rejected" shares====
 +
A rejected share means 2 possibilities:
  
[https://www.rvnstats.info Ravencoin Stats]
+
1. The submitted share was invalid (bad hash of good data). This is caused by a GPU error on your end.
  
[https://threeeyed.info Ravencoin Explorer]
+
2. The submitted share was stale (good hash of bad data).  This is caused by latency or lost data over the network between you and the pool.
  
== Donate Script ==
+
If you're tweaking your GPU a lot (customizing power/frequency/voltage/etc.) then try backing down a bit and see if you get less errors. You should also check to make sure connected to the closest pool possible (e.g., don't connect to a pool in Europe if you live in the USA).
Want to help fund the development?
 
@echo off
 
rem || User Options!
 
set Pool=stratum+tcp://pool.threeeyed.info:3333
 
set User=your-address
 
set ExtraOptions=rigname,stats
 
set YourTime=3600
 
set DonationTime=300
 
set DonationAddress=RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT
 
:Start
 
ccminer.exe -a x16r -o %Pool% -u %User% -p %ExtraOptions% --time-limit %YourTime%
 
ping localhost -n 2 >nul
 
ccminer.exe -a x16r -o %Pool% -u %DonationAddress% -p %ExtraOptions% --time-limit %DonationTime%
 
goto Start
 
@pause
 

Latest revision as of 23:03, 7 January 2022


This page provides guidance on mining Ravencoin with the KAWPOW algorithm. Keep yourself and your software up to date by joining the community. Subscribe to the Ravencoin Updates mailing list. Join the Discord or the Telegram server and request mining help. Pass on your expertise where you can. This is your community too. The following information is current and accurate as of May 5th, 2020.

Quick Start

  1. Download the latest Ravencoin wallet from Ravencoin github or Ravencoin official website. Install it and get a receiving address. Be sure to back up your wallet. Remember to check the Best Practices page to keep your coins safe. Note: do not use special characters for your passphrase when encrypting the wallet.
  2. Select a pool from the Pools page. Broadly speaking, your mining rewards should average out over time, whether you join a large pool or a small one. Please consider pointing your miner(s) at smaller pools so as to distribute the hashrate and improve network health/security. You can check pool sizes here. Choosing a pool near your geographic location is suggested.
  3. Download a GPU miner. Several are available, but for the purposes of this quick start guide, we are going to use Ravencoin Community open-source miner kawpowminer (Nvidia+AMD).
  4. Extract the kawpowminer folder, there is no .bat file included, so we'll have to make one ourselves. Create a text-file, and rename it to RVN.bat (make sure it's not RVN.bat.txt - you may have to disable "hide extensions for known file types" on Windows). Edit the newly created .bat (right click the file and select edit).
kawpowminer -U -P stratum+tcp://<WALLET_ADDR><.WORKER><:PASSWORD>@HOSTNAME:PORT
pause 

Replace values in <> with yours. Worker and password are optional. For AMD use -P instead of -U. Use the hostname and port that your pool provided you.

  1. Double-click "RVN.bat" in the kawpowminer folder. After a brief delay, text should begin scrolling (and your GPU(s) will begin generating a bit of heat and noise). If your configuration is correct, you will see your hashrate displayed in Megahash per second (MHs). Otherwise, any errors will display and you may need to reconfigure appropriately.
  2. If you cannot resolve these issues through your own research/trial and error, consider reaching out to the community of miners on our Discord or Telegram servers (linked above).

Miners

Nvidia and AMD

Nvidia only

AMD only

Please note that all of those alternative miners are closed source and should be used at your own risk. Best practice: do not use closed source mining software on a machine containing personal or sensitive data.

Overclocking

Optimization NVIDIA

Most miners use graphics card overclocking software to optimize their power and hashrate. One such program is MSI's Afterburner, which will let you adjust your power, memory, core, and other settings. Install this software, and consider using the following settings as a stable and efficient starting point:

  • Power Limit: 70%
  • Core: +30
  • Memory: +100

Optimization AMD (outdated)

  • Memory: Stock or 1500
  • Voltage drop allowed: 800-950. Seal recommends 850. Experiment to find what is stable for you.
  • Core: As high as possible. Experiment for stability with voltage and Mhz.
  • Power limit: stock (+0%)
  • Stock BIOS or mem/voltage adjusted BIOS are recommended. Ethash BIO Swith low core voltage are not recommended.


Radeon Wattman

Set GPU Workload to compute

Set P7 state as first and last. Keep an eye on your temperatures. High heat will reduce performance. Try to stay in the 65 degree range. Your mileage may vary.

Additional info:

  1. To get your miner to auto start on reboot, press ' win + r ' and type in ' shell:startup ' then create a shortcut of your bat file in the startup folder. Set your BIOS to reboot automatically after a power outage. This will minimize downtime due to power interruption or reboot.
  2. Use the failover option in your RVN.bat file to select a backup stratum for your first choice mining pool (you can add multiple pools via multiple -P options).
  3. Likewise, use the failover option to select a second pool you are registered with. These steps will keep you mining if/when your chosen stratum/pool go down


Make sure you're downloading software from trusted sources. There have been reports of some miners possibly including malware. Malware comes in different forms. Be skeptical and vigilant.

Pool Provided Mining Guides

Many pools provide brief guides and example configuration files to mine Ravencoin with the kawpow algorithm on their pool. Some examples follow.


Setting up Ubuntu for NVIDIA mining

A complete guide to set up Ubuntu 18.04 with NVIDIA CUDA drivers can be found here. (outdated)


Troubleshoot

If it is not working try our Troubleshoot reach out to the community of miners on our Discord or Telegram servers (linked above).

Earning calculators

Profit Calculators on Tools Page


More information

Why mine Ravencoin

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

Ravencoin Explorers

Want to help fund the development? Donation Address: RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT


Best Practices

  • Only run software from known reputable developers, preferably peer reviewed and audited code.
  • Download only from the links provided by the developer, preferably from the developers own site or their own github repo.
  • The inherent danger of a malicious miner app is that by design it already has all the tools needed to be very harmful, including upload and download capabilities, there will not necessarily be anything we can detect immediately, as a malicious miner app can be triggered by something as simple as a specific network block number being reached or other delayed mechanisms.
  • Any computer on our network(subnet) could be a potential threat towards our hot wallet.
  • There is no way to know if our wallet.dat/private keys are compromised, unless we always keep them safe guarded.
  • The above holds true for any software we download and use.

Troubleshooting

All miners

Crash on startup.

Check if Antivirus/Windows defender has deleted your miner.exe file, check if the .exe file is still in your folder. Fix by setting an exception. Make sure you have latest drivers installed.

Crash/reboot after some time

Check the power limit for the cards, 65% - 85% is common. Remember that the TDP for a card is an average draw of the card and in short spikes the total draw can be much higher. This is why the GPU manufacturers recommends much higher watt PSU than the TDP listed wattage of the cards would otherwise suggest.

Naming Your Rig on the pool

Most pools usually set name by WALLET.rigname like: <USERNAME/WALLET_ADDR><.RIGNAME> A comma is used to separate arguments, try not to use special character or spaces in your rig name. If that doesn't work, check pool specific information about setting rig name.


When troubleshooting it is helpful to have pause at the end of our bat file, so you can see the errors from console.

kawpowminer -U -P stratum+tcp://RQZS8LBvv2VWuAEWF5BXoRikoG6MRp5asH.test:x@HOSTNAME:PORT
pause

A certain pool gives error on launch

Check that you have created a worker on pool website and supplied a password, if required, ask a question to support of that pool.

Getting a lot of "rejected" shares

A rejected share means 2 possibilities:

1. The submitted share was invalid (bad hash of good data). This is caused by a GPU error on your end.

2. The submitted share was stale (good hash of bad data). This is caused by latency or lost data over the network between you and the pool.

If you're tweaking your GPU a lot (customizing power/frequency/voltage/etc.) then try backing down a bit and see if you get less errors. You should also check to make sure connected to the closest pool possible (e.g., don't connect to a pool in Europe if you live in the USA).