forked from super3/primecoin.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmine-solo.php
109 lines (82 loc) · 3.94 KB
/
mine-solo.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php include("header.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<div class="container-wrapper container-top container-wrapper-prime">
<div class="container container-top">
<div class="row">
<div class="col-md-12 center">
<h1>Mine Primecoin</h1>
</div>
</div><!-- end row -->
</div><!-- end container -->
</div>
<div class="clear"></div>
<div class="container" id="content">
<div class="row">
<div class="col-md-8">
<div class="item">
<h3>Solo Mining</h3>
</div>
<div class="item">
<h4><strong>Windows</strong></h4>
<p>For some reason the Windows client will not start
generating (<em>the Primecoin equivalent to Bitcoin's
"hashing"</em>) until you run a command in the debug
window. To do so:</p>
<ol>
<li>Go to Help.</li>
<li>Click Debug Window.</li>
</ol>
<p>This is the console where you will execute all commands
to the Primecoin daemon.</p>
<p>Type this command to use all CPU cores:</p>
<div class="highlight">
<pre><span class="n">setgenerate</span> <span class="nb">true</span> <span class="o">-</span><span class="mi">1</span></pre>
</div>
<p>If you want to use a specific number of cores, instead
of -1, type the number of cores.</p>
<p>You can then type the following to see the status of
generation.</p>
<div class="highlight">
<pre><span class="n">getmininginfo</span></pre>
</div>
<p>Screenshot of the getmininginfo response, where
"primepersec" is your generation rate: <a href=
"http://i.imgur.com/WfiagnJ.png">http://i.imgur.com/WfiagnJ.png</a></p>
<p>If you want to turn generation off you can use:</p>
<div class="highlight">
<pre><span class="n">setgenerate</span> <span class="nb">false</span></pre>
</div>
<p>This allows you to keep the wallet running without
generating to receive/send transactions, messages, etc.</p>
<p>You are now generating. Transactions will appear in the
Overview window. When you get paid for generating it will
appear as an incoming transaction.</p>
<p>Screenshot of incoming transactions: <a href=
"http://i.imgur.com/ogqc1Mv.png">http://i.imgur.com/ogqc1Mv.png</a></p>
</div>
<div class="item">
<h4><strong>Linux</strong></h4>
<p>To generate Primecoin under Linux, refer to the commands
above or by using the Primecoin help command.</p>
</div>
<div class="item">
<h4><strong>Backing up and Moving Primecoin</strong></h4>
<p>If you want to move Primecoin, install the Primecoin
wallet software on the target computer and drop wallet.dat
into the install folder. To backup your wallet, make a copy
of the file wallet.dat.</p>
</div>
</div>
<div class="col-md-4 sidebar">
<?php include("sidebar.php"); ?>
</div><!-- end sidebar -->
</div><!-- end row -->
</div><!-- end container -->
<?php include("footer.php"); ?>
</body>
</html>