From Ravencoin Wiki
Jump to navigationJump to search
10,737 bytes removed ,  22:35, 29 December 2020
HeroMiners Added
This page provides guidance on mining Ravencoin. Blockchain and mining code change often, and this information is subject to change at a moment's noticewith 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 December 3May 5th, 20192020.
=== Quick Start ===
# Download the latest Ravencoin wallet from [ Ravencoin github] or [ 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 [ 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 [ 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 [ 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. [ Open source code is available here]# Extract the kawpowminer folder, but will require compiling. This there is beyond the scope of this articleno . Furtherbat 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 [ 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>"YOURUSERNAME@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).
''Additional info:'''=== Miners ===
# To get miner to auto start on reboot press ' win + r ' Nvidia and type in AMD' shell'*[https:startup // kawpowminer] '''Official Raven open-source miner (no devfee)''' then create a shortcut of your bat file into the startup folder*[ NBMiner] (2% devfee)*[ nanominer] (2% devfee)
''Nvidia only''
*[ TT-Miner] (no devfee)
*[ T-Rex] (1% devfee)
*[ GMiner] (2% devfee)
*[ z-enemy] (1% devfee)
If it is not working try our ''AMD only''*[[Mining#Troubleshooting | Troubleshoot] TeamRedMiner]''' section or [(2% devfee)*[#Avermore & Nevermore Wikis|Avermore & Nevermore Wikis] WildRig](1% devfee)
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.
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 Brianmct's miners have been used by lots in the community and are generally trusted. Malware comes in different forms [ cryptomining campaign returns coal not diamond].=== Overclocking ===
=== Common flags for both sgminer & ccminer === -u login/walletOn pools with registration ie we use our register account here with the following syntax; -u LOGIN.workername Pools were we use our wallet as login, the syntax is similar -u WALLET.rignameIt is considered best practices to only use letters and numbers, no white space or special chars.''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-p x password/options, on pools with registered users this 950. Seal recommends 850. Experiment to find what is your password field ie Suprnovastable for*Core: As high as possible. Pools Experiment for stability with wallet as user name, we can often set options her, like c=RVN specifies coin, d=16 sets stratum (start on some)difficulty, voltage and rigname. Separate the different options with a commaMhz. -p c=RVN,d=28,titanv*Power limit: stock (+0%)It is considered best practices to only use letters and numbers, no white space *Stock BIOS or special charsmem/voltage adjusted BIOS are recommended. Ethash BIO Swith low core voltage are ''not'' recommended.
== Nvidia cards ccminer flags ==
=== Nvidia miners ===
*'''Nevermore''' [ brian112358] (Optimized '''25% faster''' version of original ccminer 2.2.5. Compiled version includes a 1% dev fee).
*Suprminer [ ocminer]. Fork of Nevermore, no devfee.
*ccminer 2.2.5 [ tpruvot's main release]. An updated version with x16r included in tpruvot's main release.
*ccminer 2.2.5 [ hosted by MSFTserver]. This was the first full GPU miner for x16r, it is superseded by the miners above.
''Radeon Wattman''
=== Example for nvidia cards ===Wallet is dev fund donation,updated ccminer -a x16r -o stratum+tcp:// -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -N 600=== Common ccminer 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] Set 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 Workload 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). -c, --config=FILE load a JSON-format configuration file can be from an url with the http:// prefix[ All the flags for ccminer/nevermore]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.
=== Failover Nvidia script === ''Additional info:MINE'' ccminer -a x16r -o stratum# To get your miner to auto start on reboot, press ' win +tcpr ' and type in ' shell://miningpandastartup ' then create a shortcut of your bat file in the startup folder. Set your BIOS to reboot automatically after a power -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhTThis will minimize downtime due to power interruption or reboot.titanV -p c=# Use the failover option in your RVN,titanv -i 20 -r 3 -N 600 ccminer -.bat file to select a x16r -o backup stratum+tcp:// for your first choice mining pool (you can add multiple pools via multiple -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhTP options).titanV -p c=RVN# Likewise,titanv -r 3 -N 600 ccminer -use the failover option to select a x16r -o second pool you are registered with. These steps will keep you mining if/when your chosen stratum+tcp:// -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -r 3 -N 600 GOTO :MINEpool go down
or in one line:
ccminer -a x16r -o stratum+tcp:// -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -o stratum+tcp:// -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -o stratum+tcp:// -u RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.titanV -p c=RVN,titanv -i 20 -N 600
or in a config file:
"_note": "Failover 2 pools",
"pools": [{
"name": "Panda",
"url": "stratum+tcp://",
"user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT",
"pass": "TeslaV100"
"name": "PickAxe",
"url": "stratum+tcp://",
"user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT",
"pass": "TeslaV100"
"algo": "x16r",
"intensity": "19",
"statsavg" : "600",
"api-bind": "",
"api-remote": false
Seal ClubberMake sure you's [https://cdnre downloading software from trusted sources.discordappThere have been reports of some miners possibly including comes in different forms.0Be skeptical and vigilant.bat failover script]
== Setting up Ubuntu for NVIDIA mining = Pool Provided Mining Guides===[[Ubuntu Mining | A complete guide Many pools provide brief guides and example configuration files to set up Ubuntu 18mine Ravencoin with the kawpow algorithm on their pool.04 with NVIDIA CUDA drivers can be found hereSome examples follow.]]
==AMD X16R Wildrig Guide==*[ BSOD.PW]*[ MinerMore]''By Seal Clubber#4158 (discord)''*[ 2miners] *[ WoolyPooly]* [ WildRig Multi is available heregettingstarted Suprnova]* [ Visual C++ Redistributable for Visual Studio 2015 is needed to run WildRig-mine-ravencoin-rvn-complete-beginners-guide-e4c8f186207 HeroMiners]
Dont use the eth bios on x16r. Best to go stock bios.
*Powerlimit: stock. If you want lower power, lowest I would reccomend is -20%.
*Temp limit: 80C.
*Core: As high as possible, make sure the card/miner runs stable (check pool side for recieved shares).
*Mem: stock or 1500
===Miner settings===
.bat file (with amd only rig):
@echo off
wildrig.exe --algo x16r --opencl-threads 2 --opencl-launch 20x64 --url pool:port --user wallet --pass x
timeout /t 5
goto loop
.bat file (with amd and nvidia rig):
@echo off
wildrig.exe --algo x16r --opencl-platform=2 --opencl-threads 2 --opencl-launch 20x64 --url pool:port --user wallet --pass x
timeout /t 5
goto loop
===Miner Optimization===
Adjust the following flag:
Wildrig.exe --opencl-launch '''YY'''x'''ZZ'''
* '''YY''' is intensity (lower end cards need lower intensity where as high end cards can get away with higher. Highest does not mean that it is the best, do some testing).
*'''ZZ''' is workload (you can work with (0 / 32 / 64 / 128 / 256, Higher than 64 is not recommended).
Recommended settings:
* RX460 / RX560: 18x0
* RX470 / RX480 / RX570 / RX 580 / VEGA 64/56: between 20x0 and 20x64
== AMD cards sgminer flags ==
=== AMD miners ===
*'''Avermore 1.0''' [ Brianmct'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 [ acenine].
*sgminer 5.5.6-brianmct [ 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:// -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''', 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.
[ Github has all the flags] [ Brianmct has a dedicated page for '''Optimization'''] BBT Carter shows us how to get RX 580s to 8 MH/s [ BitsBeTrippin Youtube] (using "old" -I flag).  === 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://", "user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.VegaFrontier", "pass": "c=RVN,titanV" }, { "name": "Raven Yiimp", "nfactor": "10", "algorithm": "x16r", "quota": "1;stratum+tcp://", "user": "RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT.VegaFrontier", "pass": "c=RVN,titanV" }, { "name": "Raven minepool", "nfactor": "10", "algorithm": "x16r", "quota": "1;stratum+tcp://", "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 == Additional info ===== Avermore & Nevermore Wikis ===Brianmct has wiki pages on github for his miners.* Avermore [ wiki]* Avermore [ Getting started]* Avermore [ Optimizing Hashrate]* Avermore [ Troubleshooting]* Nevermore [ Nevermore-wiki]* Nevermore [ Nevermore on ethOS Linux]* How to solomine with Nevermore, available from version 0.2 [ 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 [https://githubreach out to the community of miners on our Discord or Telegram servers (linked above).com/brian112358/avermore-miner/wiki/Troubleshooting Troubleshooting]
=== Earning calculators ===
[[Tools#Profit_Calculator| Profit Calculators on Tools Page]]
=== Getting started guides ===
There is a [ comprehensive article on] to help you get started mining Ravencoin.
MinerMore has a [ Ravencoin mining tutorial] for the t-rex miner.
[ headless linux nvidia] set up guide (miner software in guide unknown to me)
1stminingrig has a [ Guide to mine Ravencoin].
Guide for AWS -EC2 compatible Ubuntu 16.04 [ Ubuntu multi miner]
There are some great guides on [ Ravencoin Forum]:
=== More information ===
[ Ravencoin Youtube playlist] by [ Crypto Explorer] how to get started and beyond with Ravencoin
[ BitsBeTrippin - So what is x16r Algo, how can you mine it? [Explorers|Ravencoin Deep DiveExplorers]]
[ BitsBeTrippin - SGMiner for x16r Ravencoin RVN - Testing a RX Vega 64]= Donate ==Want to help fund the development?[httpsDonation Address:<code>RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT<// Ravencoin Stats] [ Ravencoin Explorer]code>
== Donate Script ==
Want to help fund the development?
@echo off
rem || User Options!
set Pool=stratum+tcp://
set User=your-address
set ExtraOptions=rigname,stats
set YourTime=3600
set DonationTime=300
set DonationAddress=RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT
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
== Best Practices ==
===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. 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 600[email protected]:PORT
====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 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===
====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====
try adding
--gpu-platform 1
--gpu-platform 2
Brianmct has a good Getting started wiki on [ github]
====Long startup time====
First time sgminer starts it compiles a kernel for all the cards, it can take several minutes.


Navigation menu