ahmed_bodi (OP)
|
|
July 07, 2013, 11:33:30 PM Last edit: July 07, 2013, 11:52:48 PM by ahmed_bodi |
|
Heres how to mine primecoin in a few simple steps
1. Download the precompiled binaries or do a git clone and compile your own executables like how would be done to litecoin.
2 visit the appdata folder Windows: press the windows key and R. After this type %appdata% and make a folder called primecoin. In this folder create the primecoin.conf file shown below.
Linux: visit the users home folder and press control and h to show hidden files. create a folder called primecoin and create primecoin.conf in that folder
primecoin.conf file rpcuser=****username*** rpcpassword=****password*** rpcport=***any port(mine is 8001)**** gen=1
|
Bitrated user: ahmedbodi.
|
|
|
Frogcoin
Member
Offline
Activity: 79
Merit: 10
|
|
July 07, 2013, 11:37:08 PM |
|
Is there any reason to do this instead of just going into the console and typing setgenerate true?
|
|
|
|
ahmed_bodi (OP)
|
|
July 07, 2013, 11:37:44 PM |
|
it saves your settings on reboot
|
Bitrated user: ahmedbodi.
|
|
|
fishy
Sr. Member
Offline
Activity: 476
Merit: 250
What do you call a fish with no eyes? A Fsh!
|
|
July 07, 2013, 11:51:22 PM |
|
Hmm. I'm going to put a good CPU in my next rig.
|
|
|
|
Sunny King
Legendary
Offline
Activity: 1205
Merit: 1010
|
|
July 07, 2013, 11:52:04 PM |
|
if you set it in primecoin.conf you should add: gen=1 instead. setgenerate is a console command only.
|
|
|
|
ahmed_bodi (OP)
|
|
July 07, 2013, 11:52:34 PM |
|
right okay thanks
|
Bitrated user: ahmedbodi.
|
|
|
mik3
|
|
July 08, 2013, 02:43:36 AM |
|
so what's the difference between running primecoind vs. primecoin.exe itself and mining through it with setgenerate true command? Just you not having to type setgenerate true every time you want to mine?
|
|
|
|
TheSpiral
Full Member
Offline
Activity: 322
Merit: 113
Sinbad Mixer: Mix Your BTC Quickly
|
|
July 08, 2013, 02:46:16 AM |
|
so what's the difference between running primecoind vs. primecoin.exe itself and mining through it with setgenerate true command? Just you not having to type setgenerate true every time you want to mine?
Yes, essentially. You can use setgenerate with either, it's just more convenient to throw it in the conf file and forget about it.
|
|
|
|
imanikin
|
|
July 09, 2013, 12:05:38 AM |
|
How can I be sure that it's actually mining? Just by all the cores being at 100%, or the debug window, or some other way? Thanks.
|
|
|
|
gudmunsn
|
|
July 09, 2013, 12:07:54 AM |
|
How can I be sure that it's actually mining? Just by all the cores being at 100%, or the debug window, or some other way? Thanks.
it seems like the easiest way is the first one you mentioned, all of the cores at 100% via task manager. You can also go into debug window and type gethashespersec and if it's higher than 0 you're mining.
|
|
|
|
eule
|
|
July 09, 2013, 12:10:47 AM |
|
*getprimespersec or getmininginfo
|
|
|
|
azwccc
|
|
July 09, 2013, 12:17:26 AM |
|
After I setup the primecoin.conf in Linux, I run with primecoind -daemon I got this: Error: Cannot obtain a lock on data directory /home/ubuntu/.primecoin. Primecoin is probably already running. Then, primecoind getinfo Error:: command not found
|
Bitrated user: azwccc.
|
|
|
eule
|
|
July 09, 2013, 12:18:06 AM |
|
You'll have to restart primecoind to accept the changed conf, so run ./primecoind stop, then ./primecoind to start it again and then ./primecoind getinfo.
|
|
|
|
imanikin
|
|
July 09, 2013, 12:18:52 AM |
|
*getprimespersec or getmininginfo Thanks! It works!
|
|
|
|
Hydroponica
Full Member
Offline
Activity: 182
Merit: 100
fml
|
|
July 09, 2013, 12:20:04 AM |
|
After I setup the primecoin.conf in Linux, I run with primecoind -daemon I got this: Error: Cannot obtain a lock on data directory /home/ubuntu/.primecoin. Primecoin is probably already running. Then, primecoind getinfo Error:: command not found Just reboot, should take care of it
|
|
|
|
azwccc
|
|
July 09, 2013, 12:22:03 AM |
|
You'll have to restart primecoind to accept the changed conf, so run ./primecoind stop and then ./primecoind to start it again and then ./primecoind getinfo.
phew~ got it working, THanks,
|
Bitrated user: azwccc.
|
|
|
imanikin
|
|
July 09, 2013, 02:42:28 AM |
|
Are there already gpu's mining PrimeCoin?
If not, will there be any way to tell for sure that they've started and it's pointless to mine with cpu? Will it be just when a cpu can't get a block in however many days?
|
|
|
|
edn247
|
|
July 09, 2013, 05:40:25 AM |
|
How do I get other machines mining via my main wallet? I am a bit new to wallet console mining.
|
|
|
|
Tisko
Newbie
Offline
Activity: 33
Merit: 0
|
|
July 09, 2013, 06:28:50 AM |
|
primecoin.conf file rpcuser=****username*** rpcpassword=****password*** rpcport=***any port(mine is 8001)**** gen=1
Prolly a dumb question, but are the first 3 lines necessary and does it matter what I put for user and pass, are those same ones used somewhere else? Thanks.
|
|
|
|
TheSpiral
Full Member
Offline
Activity: 322
Merit: 113
Sinbad Mixer: Mix Your BTC Quickly
|
|
July 09, 2013, 06:31:47 AM |
|
primecoin.conf file rpcuser=****username*** rpcpassword=****password*** rpcport=***any port(mine is 8001)**** gen=1
Prolly a dumb question, but are the first 3 lines necessary and does it matter what I put for user and pass, are those same ones used somewhere else? Thanks. The port isn't required, but recommended so you can check what port it is at a later time. If you don't specify one, it'll use the default port number of the coin and you may have to look it up. The username/password can be reused (honestly, I copy/paste settings from different coins for solidarity, still should be secure, though)
|
|
|
|
|