[UPDATED 7/6] How-To Mine Steem Power in Windows

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@vodorog·
0.000 HBD
[UPDATED 7/6] How-To Mine Steem Power in Windows
<html>
<p>&nbsp;<strong>A guide for the complete idiot, like me! :)</strong>&nbsp;</p>
<p><img src="https://scontent-arn2-1.xx.fbcdn.net/v/t1.0-9/14021735_109234916192962_3079672592729864512_n.jpg?oh=b0603762c08a87cf3b036dc57511f3d7&amp;oe=581B95D3" width="400" height="300"/></p>
<p>&nbsp;<em><strong>Update 7/15/16</strong></em> : Please wait for the new Windows Miner release. Windows mining will not currently work unless you use a VM + Ubuntu. See <a href="https://steemit.com/steem/@pfunk/guide-maximize-your-mining-hashrate-in-windows-by-mining-steem-in-a-vm">pfunks guide</a> for help with that.<br>
<em><strong>Update 7/6/16</strong></em> : New miner from bitcube is out! NOTE : You will likely need to edit the new CONFIG.INI file instead of using your old one.<br>
<em><strong>Update 6/30/16</strong></em> : Miner v0.5.0 is no longer functional. We are awaiting an update on the Windows miner to 0.8.2 or 0.8.3. I will update this post when it's ready.<br>
<em><strong>Update 6/8/16</strong></em> : Updating Blockchain link.<br>
<em><strong>Update : 6/3/16</strong></em> : Updating props for the help and use of equipment.<br>
<em><strong>Update : 6/2/16</strong></em> : Fixed some verbiage.<br>
<em><strong>Update : 6/1/16</strong></em> : bitcube has released two new versions of his miner, one a <strong>fast</strong> version. This is now the fastest miner I've tried! See link in Step 1.<br>
<em><strong>Update : 5/31/16</strong></em> : If you have trouble with arhag's Windows build and want faster mining than you can get with bitcube's head on over to <a href="https://steemit.com/steem/@pfunk/guide-maximize-your-mining-hashrate-in-windows-by-mining-steem-in-a-vm"><strong>pfunk's guide</strong></a> on setting up Ubuntu in a VirtualBox on Windows. You will get the same fast rate as arhag's Windows miner without issues. At least that's the case for me personally.<br>
<em><strong>Update : 5/30/16</strong></em> : Added bitcube's newest compile v0.5.0.<br>
<em><strong>Update : 5/30/16</strong></em> : Added bitcube's miner to Step 1. Choose the one that works for you.<br>
<em><strong>Update : 5/29/16</strong></em> : See bottom of guide for how to fix error if miner stops working.</p>
<h1>Step 1</h1>
<p>Download the Steem Windows Miner created by bitcube.Windows Binaries : <a href="https://github.com/btscube/steem/releases/tag/v0.8.5b">https://github.com/btscube/steem/releases/tag/v0.8.5b</a><em><strong>Important:</strong></em> <em>If you are updating to a new version you will likely need to start from scratch.</em></p>
<h1>Step 2</h1>
<p>Download the Steem Blockchain provided by steemychicken1.</p>
<ul>
  <li><a href="http://www.steemitup.eu/blockchain.zip">http://www.steemitup.eu/blockchain.zip</a></li>
  <li>Backup : <a href="https://mega.nz/#!bUQBjADa!754D4TDs8_9J1tQ4lZyZrby5lS1bTaWpx5vtdsKI1R0">https://mega.nz/#!bUQBjADa!754D4TDs8_9J1tQ4lZyZrby5lS1bTaWpx5vtdsKI1R0</a></li>
</ul>
<h1>Step 3</h1>
<ul>
  <li>Uncompress the miner into a location of your choosing.</li>
</ul>
<h1>Step 4</h1>
<ul>
  <li>Go to the folder just created when you uncompressed the miner and run <strong>steemd.exe</strong></li>
  <li>If the program crashes, no problem! You've now created the folders needed.</li>
  <li>Otherwise you will receive a message to edit the config.ini, so exit and continue to Step 5.</li>
</ul>
<h1>Step 5</h1>
<ul>
  <li>Uncompress the blockchain into the following folder ...</li>
</ul>
<p><code>steem-v0-5-0-windows\witness_node_data_dir\blockchain\database\block_num_to_block</code>... and overwrite any existing files.</p>
<h1>Step 6</h1>
<ul>
  <li>Go to the following folder ...</li>
</ul>
<p><code>steem-v0-5-0-windows\witness_node_data_dir</code>... and open the <strong>config.ini</strong> file in a text editor.</p>
<h1>Step 7</h1>
<ul>
  <li>In the <strong>config.ini</strong> file, find ...</li>
</ul>
<p><code># P2P nodes to connect to on startup (may specify multiple times)</code>and enter this information below that line so it looks like this ...</p>
<pre><code># P2P nodes to connect to on startup (may specify multiple times)<br>
seed-node = 192.99.4.226:2001<br>
seed-node = 46.252.27.1:1337<br>
seed-node = 81.89.101.133:2001<br>
seed-node = 52.4.250.181:39705<br>
seed-node = 85.214.65.220:2001 <br>
</code></pre>
<h1>Step 8</h1>
<ul>
  <li>Next in the <strong>config.ini</strong> find ...</li>
</ul>
<p><code># name of witness controlled by this node (e.g. initwitness )</code>and enter the following information, using <em><strong>your Steem account name</strong></em>, so it looks like this ...</p>
<pre><code># name of witness controlled by this node (e.g. initwitness )<br>
witness = "your-steem-account-name"<br>
</code></pre>
<h1>Step 9</h1>
<ul>
  <li>Next in the <strong>config.ini</strong> file find ...</li>
</ul>
<pre><code># name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )<br>
</code></pre>
<p>and enter the following information, using <em><strong>your Steem account name and WIF key</strong></em>, so it looks like this ...</p>
<pre><code># name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )<br>
miner = ["your-steem-account-name","5YourPrivateWIFKeyIsVeryLong"]<br>
</code></pre>
<h1>Step 10</h1>
<ul>
  <li>Next in the <strong>config.ini</strong> file find ...</li>
</ul>
<pre><code># Number of threads to use for proof of work mining<br>
</code></pre>
<p>and enter at least "1" after <strong>mining-threads</strong>. I believe "2" is recommended to start. You can experiment with higher numbers for faster mining. I'm currently using "4" on my AMD A10/7700. So put mining-threads = X where X is the number of threads your CPU supports. If you're not sure, press CTL+Shift+ESC to open the Task Manager and click the <strong>Performance</strong>tab. The number of graph boxes under CPU usage history is the number of threads your CPU supports. In Windows 10 you will need to click "<strong>Open Resource Monitor</strong>".So it should look like this ...</p>
<pre><code># Number of threads to use for proof of work mining<br>
mining-threads = 2<br>
</code></pre>
<h1>Step 11</h1>
<ul>
  <li>Restart <strong>steemd.exe</strong> and begin mining!</li>
</ul>
<p><em>If you still have problems, here are some useful links below or leave a comment and I will do the best I can to answer your question or direct you to someone who can help. If I've left something out or made an error please let me know in the comments section. Good luck!</em></p>
<h1>Other Options &amp; Help</h1>
<ul>
  <li>If your miner stops working with an error like ...<br>
<code>Assertion failed!</code><br>
or<br>
<code>Expression: block_num != 0</code><br>
or it just exits and you can't get it going again try these steps which arhag explained and it worked for me!</li>
</ul>
<p>Go into <strong>config.ini</strong> and comment out (#) the <strong>mining-threads</strong> section like this ...</p>
<pre><code># mining-threads = 2<br>
</code></pre>
<p>Restart <strong>steemd.exe</strong> and once you have synced back up to the blockchain, you should see something like this ...<code>2194613ms th_a application.cpp:438 handle_block ] Got 1 transactions from network on block 1878671</code>Now exit the program with CTRL-C, go back into <strong>config.ini</strong> and uncomment (remove the #) the <strong>mining-threads</strong> line you commented out earlier. Then restart <strong>steemd.exe</strong>.</p>
<ul>
  <li>If you see "1 hps", it means you are syncing up to the blockchain. Mining should start shortly.</li>
</ul>
<p>Some may need to edit the following line in <strong>config.ini</strong> to read ...</p>
<h1>Endpoint for websocket RPC to listen on</h1>
<p>rpc-endpoint = 127.0.0.1:8090</p>
<ul>
  <li>You may also want to open Windows Task Manager (CTRL-SHIFT-ESC), open up the <strong>Details</strong>tab and find the <strong>cmd.exe</strong> window running the miner. Then right-click on it and set "<strong>Priority</strong>" to either "<strong>Below Normal</strong>" or "<strong>Low</strong>" to allow you to do other things with your computer while you mine. Thanks to pfunk for that tip!</li>
  <li>If you can't see what error is happening before steemd.exe exits, try creating a .BAT file with the following inside and start your miner using the .BAT file ...</li>
</ul>
<pre><code>steemd.exe<br>
pause<br>
</code></pre>
<p>This will allow you to copy the error and paste it into a text file to upload into the Steem Slack Mining channel for help. To copy the error, simply Right-Click in the command prompt window and select <strong>Mark</strong>, then drag your mouse over the text you want to copy then press<strong>CTRL-C</strong>. Now open a new text file and paste (<strong>CTRL-V</strong>) the error into it and save. Go to the<a href="https://steem.slack.com/messages/mining">Steem Slack Mining channel</a> and upload the file and see if someone there can help.<strong>WARNING</strong>: Be sure you do not copy your private key information into this text file. It is shown when the miner starts up, so I just want to mention this just in case.</p>
<ul>
  <li>To resync the blockchain use <code>steemd.exe --resync</code></li>
  <li>Also see pfunk's very useful info in the comments section regarding account creation and WIF keys.</li>
  <li>If you are updating to a new version of one of the miners, you will likely need to start from scratch to avoid errors.</li>
</ul>
<h1>Other Resources</h1>
<ul>
  <li><a href="https://mega.nz/#!CI1wHJgS!s1hJFJJNICF54caFApWAvbrk-Ci06EREDBunbPyGLdw">Config File by sonarous</a></li>
  <li><a href="https://steem.slack.com/messages/mining">Steem Slack for Mining</a> - Best place to go if you're having problems!</li>
  <li><a href="http://steem.herokuapp.com/">Create Steem Slack Channel Account</a> - In case you don't have an account yet.</li>
  <li><a href="https://steemit.com/steem/@arhag/compiling-steem-for-windows-on-linux-host">Compiling Steem for Windows on Linux Host Guide</a></li>
  <li><a href="https://steemit.com/steem/@arhag/windows-binaries-for-steem-v0">arhag's Original Post</a></li>
  <li><a href="https://steemit.com/steemhelp/@joseph/mining-steem-for-dummies">Joseph's Linux Mining for Dummies</a></li>
</ul>
<p><a href="https://steemit.com/trending/guides">#guides</a> <a href="https://steemit.com/trending/tutorials">#tutorials</a> <a href="https://steemit.com/trending/steemhelp">#steemhelp</a> <a href="https://steemit.com/trending/mining">#mining</a> <a href="https://steemit.com/trending/windows">#windows</a>&nbsp;</p>
</html>
👍 , , , , , , , , , , , , , , , , , , , ,