Difference between revisions of "Mining"
(updated dev fund wallet to RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT from new ANN) |
|||
(116 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#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. | ||
+ | }} | ||
− | + | 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. | |
− | |||
+ | === Quick Start === | ||
− | + | # 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). | ||
+ | === Miners === | ||
− | + | ''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) | |
− | |||
− | |||
− | |||
− | |||
+ | ''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 | + | 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 [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 | ||
− | + | ''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:'' | |
+ | # 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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | 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. | |
+ | *[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] | ||
− | |||
− | |||
− | + | == 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) | |
− | |||
− | + | == 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). | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === Earning calculators === | |
− | |||
− | |||
− | [ | + | [[Tools#Profit_Calculator| Profit Calculators on Tools Page]] |
− | + | === More information === | |
+ | [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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Explorers|Ravencoin Explorers]] | |
− | + | == Donate == | |
− | + | Want to help fund the development? | |
− | + | Donation Address: <code>RBjAZ4fgoXfMC1ujzs7XKreMxJAL1r9fhT</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == 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: | ||
+ | <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. | ||
− | |||
− | + | 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). | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 22: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.
Contents
Quick Start
- 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.
- 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.
- 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).
- 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.
- 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).
Miners
Nvidia and AMD
- kawpowminer Ravencoin Community open-source miner (no devfee)
- NBMiner (2% devfee)
- nanominer (2% devfee)
Nvidia only
AMD only
- TeamRedMiner (2% devfee)
- 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.
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:
- 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
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
Ravencoin Youtube playlist by Crypto Explorer how to get started and beyond with Ravencoin
Donate
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.
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).