Changes

From Ravencoin Wiki
Jump to navigationJump to search
7,862 bytes removed ,  13:26, 26 May 2020
→‎Miners: add trm and wildrig
}}
This page provides guidance on mining Ravencoin with the x16rv2 KAWPOW 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 9May 5th, 2020.
=== Quick Start (For NVidia Cards)===
# 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_Practises 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 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, we are going to use '''official open-source miner [https://github.com/trexminerRavenCommunity/t-rexkawpowminer/releases T-Rex, is linkedkawpowminer](Nvidia+AMD)'''. 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]# Extract the kawpowminer folder, but will require compiling. This there is beyond the scope of this articleno . Furthermorebat file included, the open source miner performs poorly compared so we'll have to T-Rex or Zenemy minersmake one ourselves.#For this example, we will point our hashrate at Minermore. The TCreate a text-Rex software is more or less pre-configured for thisfile, and will require only a few inputsrename it to RVN.bat (make sure it's not RVN.bat. Minermore requires txt - you may have to [https://minermorewww.howtogeek.com/register.php register a username], so do that now before continuing.# Extract the T205086/beginner-how-to-make-windows-show-file-Rex folder, open the extensions/ disable "config_examplehide extensions for known file types" file, and change ] on Windows). Edit the appropriate information newly created .bat (right click the file and select a program like notepad or notepad++edit). For <code>"user" kawpowminer -U -P stratum+tcp: "RQVg3n5nH7uFeyTV8sz5yCTMPREsJXTsY5"//</codeWALLET_ADDR>, replace the quoted Ravencoin address with your mining address (generated earlier). For <code>"CHANGETHIS.worker"</codeWORKER>, replace <code:PASSWORD>CHANGETHIS@HOSTNAME:PORT pause Replace values in </code> with the username you generated in the previous stepyours. Minermore does not require a Worker and password for are optional. For AMD use -P instead of -U. Use the hostname and port that your worker, so pool provided you may disregard this in your configuration file.# Open Double-click "RVN-minermore.bat" in the T-Rex 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).
=== Miners ===
''OptimizationNvidia and AMD''*[https://github.com/RavenCommunity/kawpowminer/releases kawpowminer] '''Official Raven open-source miner (no devfee)'''*[https://github.com/NebuTech/NBMiner/releases NBMiner] (2% devfee)
Most miners use graphics card overclocking software to optimize their power and hashrate''Nvidia only''*[https://bitcointalk.org/index.php?topic=5025783. One such program is 0 TT-Miner] (no devfee)*[https://www.msigithub.com/pagetrexminer/afterburner MSI's Afterburnert-rex/releases T-Rex], 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:(1% devfee)*Core[https: +100//github.com/develsoftware/GMinerRelease/releases GMiner] (2% devfee)*Memory[https: //github.com/zealot-502*Power: 80rvn/z-enemy/releases z-enemy] (1%devfee)
Your mileage may vary''AMD only''*[https://github. com/nanopool/nanominer/releases nanominer] (2% devfee)*[https://github.com/todxx/teamredminer/releases/ TeamRedMiner] (2% devfee)*[https://github.com/andru-kun/wildrig-multi/releases/ WildRig] (1% devfee)
''Additional info:''# To get your miner to auto start on reboot, press ' win + r ' Please note that all of those alternative miners are closed source and type in ' shell:startup ' then create a shortcut of should be used at your bat file in the startup folderown risk. Set your BIOS to reboot automatically after Best practice: do not use closed source mining software on a power outage. This will minimize downtime due to power interruption machine containing personal 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 withsensitive data. These steps will keep you mining if/when your chosen stratum/pool go down
=== Overclocking ===
If it is not working try our ''Optimization NVIDIA'[[Mining#Troubleshooting | Troubleshoot]]''' section or [[#Avermore & Nevermore Wikis|Avermore & Nevermore Wikis]]
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
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 x16rv2 algorithm on their pool. Some examples follow.'Optimization AMD (outdated)''*[httpsMemory://minermore.com/docs/help/ravencoin/ Minermore]Stock or 1500*[httpsVoltage drop allowed://blog.f2pool.com/en/mining-tutorial800-en/rvn_en F2Pool]*[https://rvn950.suprnovaSeal recommends 850.cc/indexExperiment to find what is stable for you.php?page=gettingstarted suprnova]*[httpsCore://helpAs high as possible.nanopoolExperiment for stability with voltage and Mhz.org/article/73-help nanopool]*[httpsPower limit://ravencoin.miningpoolhub.com/ miningpoolhub]stock (+0%)*[https:/Stock BIOS or mem/rvn.2miners.com/en/help 2miners]   == Setting up Ubuntu for NVIDIA mining ==[[Ubuntu Mining | A complete guide to set up Ubuntu 18voltage adjusted BIOS are recommended.04 with NVIDIA CUDA drivers can be found here.]] ===AMD X16Rv2 Teamredminer Guide===Ethash BIO Swith low core voltage are ''By Seal Clubber#4158 and Hrafnagaldrnot'' 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 filerecommended.
==Settings==
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 adjusted mem voltage bios, ethash bios with low core voltage are not reccomended.''Radeon Wattman''
==Radeon Wattman==set 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.Your mileage may vary.
== AMD cards sgminer flags ===== AMD miners ===*''Additional info:''Avermore 1.0# To get your miner to auto start on reboot, press 'win + r 'and type in ' [httpsshell://github.com/brian112358/avermore-miner/releases Brianmctstartup 's Avermore] Avermore initial releasethen create a shortcut of your bat file in the startup folder. Initial tests show 10% speedup over ace's sgminer-gm-x16rSet your BIOS to reboot automatically after a power outage. Optimized x16r / x16s kernelsThis will minimize downtime due to power interruption or reboot.*sgminer 5.5# Use the failover option in your RVN.5-gm-bat file to select a [https://github.com/aceneun/sgminerbackup stratum for your first choice mining pool (you can add multiple pools via multiple -gm-x16r/releases acenine]P options).*sgminer 5.5.6-brianmct [https://github# Likewise, use the failover option to select a second pool you are registered with.comThese steps will keep you mining if/brian112358when your chosen stratum/sgminer-x16r/releases brian112358].pool go down
=== 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 sgminer flags ===
--gpu-platform 1 , Sets GPU platform. --gpu-platform 2 for only amd cards. Try platform 0 if system has no IGPU.
-X 256 , 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. With Polaris cards a good start value is -X 256 -g 2 , if not using -g 2 try -X 1024.
-g 2 ,or --gpu-threads 2 , set threads pr gpu, can give higher hashrate if your cpu can handle it. Keep it under 13 threads total, or sgminer might crash on boot. default is 1. Argument: one value or (,) delimited list GPU threads.
-w 256 , Sets worksize. Amount of work handled by GPUs per work request. Try different values on older cards,64, 128 or 256.
-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''Make sure you', use -X insteadre downloading software from trusted sources. Number There have been reports of concurrent threads per GPU for mining. One value or a comma (,) delimited list. -I N , Do NOT use, '''use -X instead'''some miners possibly including malware. Intensity of GPU scanningMalware comes in different forms. A lower value, will free up resources if you want to use your GPU for other tasks as wellBe skeptical and vigilant.
[https://github=== Pool Provided Mining Guides===Many pools provide brief guides and example configuration files to mine Ravencoin with the kawpow algorithm on their pool.com/sgminer-dev/sgminer/blob/master/doc/configurationSome examples follow.md#config-file-and-cli-options Github has all the flags]
*[https://githubmedium.com/brian112358@bsodpool/avermorehow-minerto-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/wiki@Woolypooly_com/Optimizinghow-to-mine-raven-rvn-Hashrate Brianmct has a dedicated 69a873a4f304 WoolyPooly]*[https://rvn.suprnova.cc/index.php?page for '''Optimization'''=gettingstarted Suprnova]
BBT Carter shows us how to get RX 580s to 8 MH/s [https://www.youtube.com/watch?v=_iWneKiCYMY BitsBeTrippin Youtube] (using "old" -I flag).
=== Failover AMD =Setting up Ubuntu for NVIDIA mining ==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": "[Ubuntu Mining Panda", "nfactor": "10", "algorithm": "x16r", "quota": "1;stratum+tcp://miningpanda| A complete guide to set up Ubuntu 18.site:3636", "user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT04 with NVIDIA CUDA drivers can be found here.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] (outdated)
== Additional info ==
=== Avermore & Nevermore Wikis ===
Brianmct has wiki pages on github for his miners.
* Avermore [https://github.com/brian112358/avermore-miner/wiki wiki]
* Avermore [https://github.com/brian112358/avermore-miner/wiki/Getting-Started Getting started]
* Avermore [https://github.com/brian112358/avermore-miner/wiki/Optimizing-Hashrate Optimizing Hashrate]
* Avermore [https://github.com/brian112358/avermore-miner/wiki/Troubleshooting Troubleshooting]
* Nevermore [https://github.com/brian112358/nevermore-miner/wiki Nevermore-wiki]
* Nevermore [https://github.com/brian112358/nevermore-miner/wiki/Nevermore-on-ethOS-Linux Nevermore on ethOS Linux]
* 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.
=== Troubleshoot ===
If it is not working try our '''[[Mining#Troubleshooting | Troubleshoot]]''' section.
Avermore == Troubleshoot ==If it is not working try our '''[https://github.com/brian112358/avermore-miner/wiki/Troubleshooting [Mining#Troubleshooting| Troubleshoot]]''' reach out to the community of miners on our Discord or Telegram servers (linked above).
=== 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]:
 
[https://ravenforum.org/topic/15/mine-raven-with-awesome-miner https://ravenforum.org/topic/15/mine-raven-with-awesome-miner]
 
[https://ravenforum.org/topic/17/sgminer-a-troubleshooting-guide https://ravenforum.org/topic/17/sgminer-a-troubleshooting-guide]
=== 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
[https://www.youtube.com/watch?v=gMpW1nehe54 BitsBeTrippin - So what is x16r Algo, how can you mine it? [Explorers|Ravencoin Deep DiveExplorers]]
[https://www.youtube.com/watch?v=6wzwNix0f2E BitsBeTrippin - SGMiner for x16r Ravencoin RVN - Testing a RX Vega 64]= Donate ==Want to help fund the development?[httpsDonation Address:<code>RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT<//www.rvnstats.info Ravencoin Stats] [https://threeeyed.info Ravencoin Explorer]code>
== Donate Script ==
Want to help fund the development?
@echo off
rem || User Options!
set Pool=stratum+tcp://miningpanda.site:3636
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
== Best Practices ==
===All miners===
Symptoms:
====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. 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 Most pools you can use the password field usually set name by WALLET.rigname like: -p c=RVN,TitanV <code><USERNAME/WALLET_ADDR><.RIGNAME></code>,a A comma is used to separate arguments, do try not to use special character or spaces in your rig name. Other pools usually set If that doesn't work, check pool specific information about setting rig 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.
ccminer kawpowminer -a x16r U -o P stratum+tcp://miningpandaRQZS8LBvv2VWuAEWF5BXoRikoG6MRp5asH.sitetest:3636 -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -N 600x@HOSTNAME:PORT
pause
====Suprnova A certain pool gives error on launch====Check that you have created a worker on their webpage pool website 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 blockif required, determined by the last 16 bytes of the last block. We need to look at a 2-3 hour averages at least to get ask a better average hash rate question to compare, try adding ' -N 600 ' at the end support of your bat file, it increases the average reporting time (default is 30)that pool.
====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===
 
Symptoms:
====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===
 
Symptoms:
====Crash on startup====
try adding
--gpu-platform 1
or
--gpu-platform 2
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.
Write
23

edits

Navigation menu