mirror of
https://github.com/wownero/wownero.org-website.git
synced 2026-10-17 15:21:36 +02:00
274 lines
11 KiB
HTML
274 lines
11 KiB
HTML
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="canonical" href="https://jrswab.com/blog/how-to-mine-wownero" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="generator" content="GravCMS" />
|
|
<meta name="description" content="Learn how to mine Wownero directly with Wownerod, Xmrig, or Xmrig-Proxy after the July 4th, 2021 "Junkie Jeff" hard fork." />
|
|
<meta name="twitter:site" property="twitter:site" content="@jrswab" />
|
|
<meta name="twitter:card" property="twitter:card" content="summary" />
|
|
<meta name="twitter:title" property="twitter:title" content="How To Mine Wownero: Junkie Jeff Hard Fork | jrswab" />
|
|
<meta name="twitter:description" property="twitter:description" content="Learn how to mine Wownero directly with Wownerod, Xmrig, or Xmrig-Proxy after the July 4th, 2021 "Junkie Jeff" hard fork." />
|
|
<meta name="twitter:image" property="twitter:image" content="https://jrswab.com/user/pages/02.blog/139.how-to-mine-wownero/TRRikhDztHvvzuic-punkeddoge.jpg" />
|
|
<meta name="twitter:url" property="twitter:url" content="https://jrswab.com/blog/how-to-mine-wownero" />
|
|
<meta property="og:site_name" content="jrswab" />
|
|
<meta property="og:title" content="How To Mine Wownero: Junkie Jeff Hard Fork" />
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:url" content="https://jrswab.com/blog/how-to-mine-wownero" />
|
|
<meta property="og:description" content="Learn how to mine Wownero directly with Wownerod, Xmrig, or XmrigProxy after the July 4th, 2021 Junkie Jeff hard fork." />
|
|
<meta property="og:image" content="https://jrswab.com/user/pages/02.blog/139.how-to-mine-wownero/TRRikhDztHvvzuic-punkeddoge.jpg" />
|
|
|
|
<title>How To Mine Wownero: Junkie Jeff Hard Fork | jrswab</title>
|
|
|
|
|
|
<link rel="icon" type="image/png" href="" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="https://plausible.io/js/plausible.js" async defer data-domain="jrswab.com"></script>
|
|
|
|
<style>
|
|
img { max-width: 100%; }
|
|
|
|
body {
|
|
max-width: 768px;
|
|
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');
|
|
|
|
html { font-family: 'Atkinson Hyperlegible'; font-size: 1rem; margin: 25px; line-height: 1.4; background-color: #FFFBEF; color: #2D353B; }
|
|
a { color: #8DA101; }
|
|
a:visited { color: #8DA101; }
|
|
code { display: inline-block; margin: 2px; padding: 5px; border-radius: 5px; font-weight: normal; background-color: #BDC3AF;}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
html { background-color: #2D353B; color: #D3C6AA; }
|
|
a { color: #A7C080 }
|
|
a:visited { color: #A7C080 }
|
|
code { background-color: #3D484D; }
|
|
}
|
|
|
|
|
|
</style>
|
|
</head>
|
|
|
|
|
|
<body class="blog_item">
|
|
<header>
|
|
<h1><a href="/">jrswab</a></h1>
|
|
|
|
<p class="subtitle">No-fluff tutorials and privacy-focused tools for the modern productivity-minded developer.</p>
|
|
|
|
|
|
|
|
<nav>
|
|
|
|
<a href="/blog" class="current">Blog</a>
|
|
|
|
|
|
|
<span>
|
|
<a href="https://x.com/jrswab"
|
|
|
|
|
|
|
|
|
|
target="_blank">X</a>
|
|
|
|
|
<a href="https://github.com/jrswab"
|
|
|
|
|
|
|
|
|
|
target="_blank">Github</a>
|
|
|
|
|
<a href="https://jrswab.com/blog.rss"
|
|
|
|
|
|
|
|
|
|
target="_blank">RSS</a>
|
|
|
|
</span>
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
</header>
|
|
|
|
<main>
|
|
<article>
|
|
|
|
|
|
|
|
|
|
|
|
<h2>
|
|
<a href="/blog/how-to-mine-wownero">How To Mine Wownero: Junkie Jeff Hard Fork</a>
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
|
|
Categories: <small>
|
|
[<a href="/blog/category:Technology">Technology</a>],
|
|
[<a href="/blog/category:How To">How To</a>]
|
|
</small>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
<h4><em>Last Update: July 12, 2021</em></h4>
|
|
<h2>How to Mine Directly With Wownerod</h2>
|
|
<ol>
|
|
<li>Download the latest version of <a href="https://git.wownero.com/wownero/wownero/releases">wownero</a> to your mining computer.</li>
|
|
<li>Extract the download</li>
|
|
<li>Change to the new directory</li>
|
|
<li>Run <code>wownerod --start-mining {YOUR-ADDRESS} --spendkey {SECRET-SPENDKEY} --mining-threads {NUMBER}</code></li>
|
|
<li>When the blockchain finishes synchronizing mining will begin.</li>
|
|
</ol>
|
|
<h2>How to Mine Wownero with Xmrig</h2>
|
|
<ol>
|
|
<li>Download the latest version of <a href="https://git.wownero.com/wownero/wownero/releases">wownero</a> to your mining computer.</li>
|
|
<li>Extract the download</li>
|
|
<li>Change to the new directory</li>
|
|
<li>Run <code>wownerod</code></li>
|
|
<li>Wait until the blockchain has finished synchronizing.</li>
|
|
<li>Download the latest version of <a href="https://github.com/xmrig/xmrig">Xmrig</a> to your mining computer(s).</li>
|
|
<li>Extract the xmrig download.</li>
|
|
<li>Change your directory to the newly extracted directory</li>
|
|
<li>Updated the config file to point to your <code>xmrig-proxy</code>. Example:
|
|
<pre><code class="language-json">"pools": [
|
|
{
|
|
"coin": "wownero",
|
|
"url": "localhost:34568",
|
|
"user": "your wallet address",
|
|
"spend-secret-key": "your secret spend key",
|
|
"daemon": true
|
|
}
|
|
],</code></pre></li>
|
|
<li>Run <code>xmrig</code></li>
|
|
</ol>
|
|
<h2>How to Mine Wownero with Xmrig-Proxy</h2>
|
|
<h3>On the computer running Wownerod:</h3>
|
|
<p><em>I recommend using another computer on the same network as your miners. Having your wallet address and spend key in the config file on a VPS is insecure.</em></p>
|
|
<ol>
|
|
<li>Create a server ( another computer ) to run Wownerod.</li>
|
|
<li>Download the latest version of <a href="https://github.com/xmrig/xmrig-proxy">Xmrig-Proxy</a> to that computer</li>
|
|
<li>Add <code>"spend-secret-key": "your-key-here",</code> to the pools section of the <code>config.json</code> file
|
|
<ul>
|
|
<li>There is no CLI parameter for the spend key at the time of writing.</li>
|
|
<li><a href="https://pastebin.com/AGzrCymd">Here is the full config.json template with added spend key section</a></li>
|
|
</ul></li>
|
|
<li>Update the rest of the pools section. Example:
|
|
<pre><code class="language-json">"pools": [
|
|
{
|
|
"coin": "wownero",
|
|
"url": "localhost:34568",
|
|
"user": "your wallet address",
|
|
"spend-secret-key": "your secret spend key",
|
|
"daemon": true
|
|
}
|
|
],</code></pre></li>
|
|
<li>Install <a href="https://github.com/tmux/tmux">tmux</a> and run <code>tmux</code> (gnu screen works too)</li>
|
|
<li>Start Wownero in the new tmux session: <code>./wownerod</code></li>
|
|
<li>Open a new tmux window: <code>ctrl-b c</code></li>
|
|
<li>Start Xmrig-Proxy: <code>./xmrig-proxy</code></li>
|
|
</ol>
|
|
<h3>On Your Miner(s):</h3>
|
|
<ol>
|
|
<li>Download the latest version of <a href="https://github.com/xmrig/xmrig">Xmrig</a> to your mining computer(s).</li>
|
|
<li>Updated the config file to point to your <code>xmrig-proxy</code>. Example:
|
|
<pre><code class="language-json">"pools": [
|
|
{
|
|
"url": "xmrig-proxy-ip:port-number",
|
|
"rig-id": "rig-name"
|
|
}
|
|
],</code></pre></li>
|
|
<li>Run Xmrig: <code>xmrig --spend-secret-key <your key here></code></li>
|
|
</ol>
|
|
<p>When configured correctly, your miners will receive jobs from Xmrig-Proxy.</p>
|
|
<p>These jobs will show up in the output of xmrig on your miner(s).</p>
|
|
<h3>How to See Miner Hashrates in Xmrig-Proxy when Mining Wownero</h3>
|
|
<p><em>The following information was given to me by <a href="https://forum.wownero.com/t/how-to-mine-wownero-with-xmrig-proxy/672/25">@orklemerkle</a> on the Wownero forums.</em></p>
|
|
<p>Xmrig-Proxy only gets updates on your miner's hashrate upon each share submitted by the miner.</p>
|
|
<p>When running Xmrig-Proxy on a daemon (such as <code>wownerod</code>) the miners only submit a share when they find a solution based on the difficulty passed to them by Xmrig-Proxy.</p>
|
|
<p>To get around this, we can set the <code>custom-diff</code> property in <code>config.json</code> to any positive whole number.</p>
|
|
<p>Also, set <code>custom-diff-stats</code> to <code>true</code> while in the proxy configuration file.</p>
|
|
<p>Using this method, the difficulty of every miner attached to the proxy will be what you set after <code>custom-diff</code>.</p>
|
|
<p>You can also set the difficulty on a per miner basis...</p>
|
|
<p>To do so simply append <code>+num</code> to the username (normally the wallet address). Where <code>num</code> is your desired difficulty.</p>
|
|
<p>The minimum difficulty you can set is 100...</p>
|
|
<p>... but you'll want the number to be higher so you don't overload your proxy's bandwidth and CPU.</p>
|
|
<p>The goal here is to find a difficulty that allows your miner to send a share about very 30 seconds.</p>
|
|
<p>This should have no effect on your actual hashrate or the number of blocks you find over all.</p>
|
|
<p>It's just a way to get more data into Xmrig-Proxy.</p>
|
|
<p><strong><em>Note:</em></strong>
|
|
If you do not supply custom difficulties...</p>
|
|
<p>... you will not see the total hashrate of your connected miners.</p>
|
|
<p>However, you will see...</p>
|
|
<ul>
|
|
<li>the total miners connected...</li>
|
|
<li>total miners connected ever...</li>
|
|
<li>when you find a block...
|
|
<ul>
|
|
<li>the 24 hour hashrate average</li>
|
|
<li>your shares increase.</li>
|
|
</ul></li>
|
|
</ul>
|
|
<p><em>Example:</em></p>
|
|
<pre><code class="language-shell">[2021-07-11 13:46:09.248] proxy speed (1m) 0.00, (10m) 0.00, (1h) 0.00, (12h) 26.56, (24h) 13.28 kH/s
|
|
WORKER NAME | LAST IP | COUNT | ACCEPTED | REJ | 10 MINUTES | 24 HOURS |
|
|
1700 | 192.168.1.11 | 0 | 1 | 0 | 0.00 kH/s | 13.28 kH/s |
|
|
3900x | 192.168.1.8 | 1 | 0 | 0 | 0.00 kH/s | 0.00 kH/s |
|
|
[2021-07-11 13:46:12.718] proxy 0.00 kH/s, shares: 1/0 +0, upstreams: 1, miners: 2 (max 2) +0/-0
|
|
</code></pre>
|
|
<p>Once you get the accepted share the funds will appear in you wallet at some point within the next 288 blocks.</p>
|
|
<p>Happy Mining,
|
|
J. R.</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
</article>
|
|
</main>
|
|
|
|
<footer>
|
|
<hr/>
|
|
<p><em>jrswab.com</em> is a project by Swab Technologies LLC</p>
|
|
|
|
<p>Running the <a href="http://getgrav.org">Grav CMS</a> using the <a href="http://hypertext.artofthesmart.com">Hypertext theme</a>.</p>
|
|
|
|
|
|
</footer>
|
|
|
|
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"487fcd9680b24582a6dd500548a860bf","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|