This page provides guidance on mining Ravencoin with the
x16rv2 algorithm . Be aware that another, more ASIC-resistant algorithm is currently in development. Blockchain and mining code change often. This information can and will change. 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 January 9, 2020.
=== Quick Start
(For NVidia Cards)===
# Download the latest Ravencoin wallet from [https://github.com/RavenProject/Ravencoin/releases Ravencoin github]. 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_Practises | 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 or find one on the [https://bitcointalk.org/index.php?topic=2752467.0 BitCoinTalk ANN]. 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, one of the most popular miners, [https://github.com/trexminer/t-rex/releases T-Rex, is linked]. Please note that this software is 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 . [https://github.com/RitoProject/ccminer Open source code is available here], but will require compiling. This is beyond the scope of this article. Furthermore, the open source miner performs poorly compared to T-Rex or Zenemy miners.#For this example, we will point our hashrate at Minermore. The T-Rex software is more or less pre- configured for this, and will require only a few inputs. Minermore requires you to [https:// minermore.com/ register.php register a username], so do that now before continuing. # Extract the T- Rex folder, open the " config_example" file, and change the appropriate information (right click the file and select a program like notepad or notepad++). For <code>"user": "RQVg3n5nH7uFeyTV8sz5yCTMPREsJXTsY5"< /code> , replace the quoted Ravencoin address with your mining address (generated earlier). For < code>"CHANGETHIS. worker"</code> , replace < code> CHANGETHIS< /code> with the username you generated in the previous step. Minermore does not require a password for your worker, so you may disregard this in your configuration file.# Open "RVN -minermore" in the T-Rex 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).
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:
-502 *Power: 80%
Your mileage may vary.
# 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
T-Rex configuration file to select a backup stratum for your first choice mining pool.
# 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
If it is not working try our '''[[Mining#Troubleshooting | Troubleshoot]]''' section or [[#Avermore & Nevermore Wikis|Avermore & Nevermore Wikis]]
=== Pool Provided Mining Guides===
Many pools provide brief guides and example configuration files to mine Ravencoin with the
x16rv2 algorithm on their pool. Some examples follow.
minermore.com/ docs/help/ravencoin / Minermore] *[https://blog.f2pool.com/en/mining- tutorial-en/rvn_en F2Pool] *[https://rvn.suprnova.cc/index. php?page=gettingstarted suprnova]*[https:// help. nanopool.org/ article/ 73-help nanopool] *[https:// ravencoin.miningpoolhub.com/ miningpoolhub]*[https:// rvn.2miners.com/ en/ help 2miners]
== 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.]]
==AMD X16Rv2 Teamredminer Guide==
''By Seal Clubber#4158 and Hrafnagaldr''
To mine Ravencoin using the x16rv2 algorithm on AMD cards, first download [https://github.com/todxx/teamredminer/releases Teamredminer]
In the folder containing your teamredminer.exe file, create a new text file and save it with the file extension .bat. Within the text file, fill in the following:
<code>teamredminer.exe -a x16rv2 -o stratum+tcp://<pool address>:<pool port> -u <pool username/wallet> -p <pool password></code>
Substitute your information where appropriate. For example, using minermore:
<code>teamredminer.exe -a x16rv2 -o stratum+tcp://eu.rvn.minermore.com:4501 -u RKLKAkx2VDgjuLjyniyB76gF8XsCmWkNUw.rigname -p x</code>
If you would like to see an estimation of your hashrate in the cmd window, add <code>-hash_order=0123456789abcdef</code> to your bat file.
*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 BIOSwith low core voltage are ''not'' recommended.
Set GPU Workload to compute
Set P7 state as first and last.
Keep an eye on your temperatures, since x16rv2 is core heavy. High heat will reduce performance. Try to stay in the 65 degree range.
== Troubleshoot ==
If it is not working try our '''[[Mining#Troubleshooting | Troubleshoot]]'''
=== Earning calculators ===
[[Tools#Profit_Calculator| Profit Calculators on Tools Page]]
=== Getting started guides ===
There is a [https://virtopia.ca/how-to-mine-ravencoin-rvn/ comprehensive article on virtopia.ca] to help you get started mining Ravencoin.
MinerMore has a [https://minermore.com/docs/help/ravencoin/ Ravencoin mining tutorial] for the t-rex miner.
[https://gist.github.com/synergyethos/51512fd9b6eef563f4bff23cff207c8a headless linux nvidia] set up guide (miner software in guide unknown to me)
1stminingrig has a [https://1stminingrig.com/how-to-mine-ravencoin-rvn-with-amd-nvidia-gpu-and-cpu/ Guide to mine Ravencoin].
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]:
=== More information ===
[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
www. youtube.com/ watch?v=gMpW1nehe54 BitsBeTrippin - So what is x16r Algo, how can you mine it? Ravencoin Deep Dive]
[https://www.youtube.com/watch?v= 6wzwNix0f2E BitsBeTrippin - SGMiner for x16r Ravencoin RVN - Testing a RX Vega 64] [https:/ /www.rvnstats.info Ravencoin Stats] [https://threeeyed.info Ravencoin Explorer]
== Donate Script ==
Want to help fund the development?
rem || User Options!
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%
== Best Practices ==
====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.
====Crash/reboot after some time====
Check the power limit for the cards, 65% - 85% is common
. x16r algo spikes the power draw so we need headroom in available wattage. 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====
On yiimp type pools you can use the password field like: -p c=RVN,TitanV ,a comma is used to separate arguments, do not use special character or spaces in your rig name. Other pools usually set name by WALLET.rigname like: -u RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH. titanV
When troubleshooting it is helpful to have pause at the end of our bat file, so you can see the errors from console.
3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT
titanV -p c=RVN,titanv -i 20 -N 600
Suprnova gives error on launch====Check that you have created a worker on their webpage and supplied a password .' -u LOGIN.worker -p x ', also check their getting started on rvn.suprnova.cc start page. ====Hash rate is changing/low==== This is normal as the x16r algo is changing 16 times in each block, determined by the last 16 bytes of the last block. We need to look at a 2-3 hour averages at least to get a better average hash rate to compare, try adding ' -N 600 ' at the end of your bat file, it increases the average reporting time (default is 30).
====Getting a lot of "rejected" shares====
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).
===Nevermore / ccminer===
====Crash on startup====
Check .bat file that name miner at the start is the same as the miner in your folder. Nevermore uses 'ccminer' 2.2.5 might be 'ccminer-x64'.
===Sgminer / Avermore===
====Crash on startup====
Brianmct has a good Getting started wiki on [https://github.com/brian112358/sgminer-x16r/wiki/Getting-Started github]
====Long startup time====
First time sgminer starts it compiles a kernel for all the cards, it can take several minutes.