Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: ahmed_bodi on July 07, 2013, 11:33:30 PM



Title: How to mine PrimeCoin Mini-Guide
Post by: ahmed_bodi on July 07, 2013, 11:33:30 PM
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


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Frogcoin on 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?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: ahmed_bodi on July 07, 2013, 11:37:44 PM
it saves your settings on reboot


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: fishy on July 07, 2013, 11:51:22 PM
Hmm.  I'm going to put a good CPU in my next rig.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Sunny King on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: ahmed_bodi on July 07, 2013, 11:52:34 PM
right okay thanks


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: mik3 on 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?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: TheSpiral on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: imanikin on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: gudmunsn on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: eule on July 09, 2013, 12:10:47 AM
*getprimespersec or getmininginfo  ;D


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: azwccc on July 09, 2013, 12:17:26 AM
After I setup the primecoin.conf in Linux, I run with primecoind -daemon

I got this:
Code:
Error: Cannot obtain a lock on data directory /home/ubuntu/.primecoin. Primecoin is probably already running.

Then, primecoind getinfo
Code:
Error:: command not found




Title: Re: How to mine PrimeCoin Mini-Guide
Post by: eule on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: imanikin on July 09, 2013, 12:18:52 AM
*getprimespersec or getmininginfo  ;D
Thanks! It works!


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Hydroponica on July 09, 2013, 12:20:04 AM
After I setup the primecoin.conf in Linux, I run with primecoind -daemon

I got this:
Code:
Error: Cannot obtain a lock on data directory /home/ubuntu/.primecoin. Primecoin is probably already running.

Then, primecoind getinfo
Code:
Error:: command not found




Just reboot, should take care of it


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: azwccc on 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,


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: imanikin on 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?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: edn247 on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Tisko on 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.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: TheSpiral on 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)


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: gsoul5005 on July 09, 2013, 06:55:00 AM
Are the rpcusername and password needed to genenrate?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: ampere on July 09, 2013, 07:51:52 AM
I have a few computers mining -- am I able to have all rewards mature in one wallet, or do I have to wait for them before consolidating?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: OnkelPaul on July 09, 2013, 07:58:03 AM
I have a few computers mining -- am I able to have all rewards mature in one wallet, or do I have to wait for them before consolidating?

I think you need to wait for them to mature before you can move them to a different wallet.
A different client (which does not exist yet as far as I know) might generate addresses deterministically starting from a seed, enabling you to access funds from any client that started at the same seed.
(see https://en.bitcoin.it/wiki/Deterministic_wallet (https://en.bitcoin.it/wiki/Deterministic_wallet))

Onkel Paul


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Alex P on July 09, 2013, 10:40:37 AM
If I have and I7 3770K and also a GPU 7970.  Could I run the Primecoin miner and also cgminer?   One mining primecoin and cgminer mining another Alt Coin?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: TheSpiral on July 09, 2013, 10:50:17 AM
If I have and I7 3770K and also a GPU 7970.  Could I run the Primecoin miner and also cgminer?   One mining primecoin and cgminer mining another Alt Coin?
Yes, though one may throttle the other. My general rule on my rigs is to mine with your CPU cores - 1. If you have 4 cores, mine with 3. It'll keep your cgminer chugging along at full (or near full) speed and you'll still be able to mine with the CPU.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Moebius327 on July 09, 2013, 10:53:51 AM
If I have and I7 3770K and also a GPU 7970.  Could I run the Primecoin miner and also cgminer?   One mining primecoin and cgminer mining another Alt Coin?

I'm mining LTC with Guiminer-Scrypt and Primecoins with qt on the CPU. 2 Days now and still no problems.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: mokimarket on July 09, 2013, 11:02:16 AM
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


I created the primcoin.conf file in my primecoin folder (Just pasted stuff into notepad and saved in already existing primecoin folder from wallet installation).

Not sure what to put for rpcuser and rpc password. Also Not sure what to do after file is created.

I'm a complete novice at mining so any additional steps would be helpful.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Alex P on July 09, 2013, 11:12:15 AM
Thanks!  This helped out.  I disabled one of my 8 cores and cgminer is running at full speed!

If I have and I7 3770K and also a GPU 7970.  Could I run the Primecoin miner and also cgminer?   One mining primecoin and cgminer mining another Alt Coin?
Yes, though one may throttle the other. My general rule on my rigs is to mine with your CPU cores - 1. If you have 4 cores, mine with 3. It'll keep your cgminer chugging along at full (or near full) speed and you'll still be able to mine with the CPU.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: TheSpiral on July 09, 2013, 11:18:47 AM
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


I created the primcoin.conf file in my primecoin folder (Just pasted stuff into notepad and saved in already existing primecoin folder from wallet installation).

Not sure what to put for rpcuser and rpc password. Also Not sure what to do after file is created.

I'm a complete novice at mining so any additional steps would be helpful.
user/pass for most users doesn't mean much, you can put whatever you want there. It's just if you use a program like cgminer, that's what info you put it. There's no external miners right now, so it doesn't matter much right now. Just put fill it in with whatever.

Once it's saved, this is the file that your client uses for its settings. Just start up your client and it will now mine (because of the gen=1 line in the .conf), that's it!


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: captainfuture on July 09, 2013, 12:02:37 PM
will there be a mac os x client in near future?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: eule on July 09, 2013, 12:05:16 PM
will there be a mac os x client in near future?
https://bitcointalk.org/index.php?topic=251850.msg2685892;topicseen#msg2685892


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: fitosoft29 on July 09, 2013, 06:21:21 PM
hi to all :)

then primecoin works just with cpu or with gpu too?

Im confused  ;D


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: 96redformula on July 09, 2013, 06:25:44 PM
I have Primecoin running full load on the CPU and GUIminer running full load on the GPU's.  I did have a couple of computers restart yesterday doing this, no problems in the last 24 hours with the computer fans all cranked up.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: mokimarket on July 10, 2013, 04:09:13 AM
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


I created the primcoin.conf file in my primecoin folder (Just pasted stuff into notepad and saved in already existing primecoin folder from wallet installation).

Not sure what to put for rpcuser and rpc password. Also Not sure what to do after file is created.

I'm a complete novice at mining so any additional steps would be helpful.
user/pass for most users doesn't mean much, you can put whatever you want there. It's just if you use a program like cgminer, that's what info you put it. There's no external miners right now, so it doesn't matter much right now. Just put fill it in with whatever.

Once it's saved, this is the file that your client uses for its settings. Just start up your client and it will now mine (because of the gen=1 line in the .conf), that's it!
HOw can I tell if it's working?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Cyberclones on July 10, 2013, 04:23:05 AM
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


I created the primcoin.conf file in my primecoin folder (Just pasted stuff into notepad and saved in already existing primecoin folder from wallet installation).

Not sure what to put for rpcuser and rpc password. Also Not sure what to do after file is created.

I'm a complete novice at mining so any additional steps would be helpful.
user/pass for most users doesn't mean much, you can put whatever you want there. It's just if you use a program like cgminer, that's what info you put it. There's no external miners right now, so it doesn't matter much right now. Just put fill it in with whatever.

Once it's saved, this is the file that your client uses for its settings. Just start up your client and it will now mine (because of the gen=1 line in the .conf), that's it!
HOw can I tell if it's working?

Type "getmininginfo" into the Console (help>>Debug Window>>Console) If it says "generate" : true, and "primespersec" : something it is working.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Armchair Miner on July 11, 2013, 06:54:11 AM
I threw in the genproclimit=6 on my 8 core CPU so the GPU mining is not reduced:


primecoin.conf file
rpcuser=****username***
rpcpassword=****password***
rpcport=***any port(mine is 8001)****
gen=1
genproclimit=6


Somebody mentioned optimization of the miner. Does anyone have detailed directions how to get primecoin-qt.exe on Windows, optimized? Thanks


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: TheSpiral on July 11, 2013, 06:59:28 AM
Somebody mentioned optimization of the miner. Does anyone have detailed directions how to get primecoin-qt.exe on Windows, optimized? Thanks
Honestly, I just made a linux VM (within Windows, Virtualbox) to run it until windows binaries are updated.
PPS went from 120 to ~620, even though it's in VM.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: BigCstyle on July 14, 2013, 03:17:25 AM
For some reason the primecoin qt client says no block source available and wont download the blockchain so i can get started. I changed the ports on my router and still no luck. Anyone else encounter this and have a solution?


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: BobMarley on July 14, 2013, 04:52:03 AM
thanks


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Burzumoza on January 01, 2014, 11:19:45 PM
i bumped into the noblockchain avaible shit. u just hav to manualy add nodes <addnode ip add>


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Rasetsu on January 10, 2014, 10:29:38 PM
Hey guys I'm trying to solomine xpm for the first time. And after I launch qt I've got my CPU running at 100% BUT getmininginfo shows primespersec is 0. My CPU - Core i7 2600K overclocked. How can I ensure that I'm mining?

{
"blocks" : 353416,
"chainspermin" : 0,
"chainsperday" : 0.00000000,
"currentblocksize" : 1906,
"currentblocktx" : 4,
"difficulty" : 10.32599312,
"errors" : "",
"generate" : true,
"genproclimit" : 7,
"primespersec" : 0,
"pooledtx" : 4,
"sieveextensions" : 9,
"sievepercentage" : 10,
"sievesize" : 1000000,
"testnet" : false
}

This stats

I was trying to mine at pools and still console shows 0.0 stats but looks like pool receive my shares...


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: Rasetsu on January 11, 2014, 09:46:46 AM
Hey guys I'm trying to solomine xpm for the first time. And after I launch qt I've got my CPU running at 100% BUT getmininginfo shows primespersec is 0. My CPU - Core i7 2600K overclocked. How can I ensure that I'm mining?

{
"blocks" : 353416,
"chainspermin" : 0,
"chainsperday" : 0.00000000,
"currentblocksize" : 1906,
"currentblocktx" : 4,
"difficulty" : 10.32599312,
"errors" : "",
"generate" : true,
"genproclimit" : 7,
"primespersec" : 0,
"pooledtx" : 4,
"sieveextensions" : 9,
"sievepercentage" : 10,
"sievesize" : 1000000,
"testnet" : false
}

This stats

I was trying to mine at pools and still console shows 0.0 stats but looks like pool receive my shares...
Solved.


Title: Re: How to mine PrimeCoin Mini-Guide
Post by: iced00d on April 03, 2014, 12:39:36 AM
Howdee folks!  After installing PrimeCoin and running it, I found that I'm not getting any info (PPS) within the console window.  Any thoughts?  Cores are blazing away so I know its doing something.  Thanks

{
"blocks" : 472048,
"blocksperday" : 0.01386972,
"chainsperday" : 0.02395706,
"currentblocksize" : 3958,
"currentblocktx" : 7,
"difficulty" : 10.43424481,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"pooledtx" : 7,
"sieveextensions" : 9,
"sievefilterprimes" : 7849,
"sievesize" : 917504,
"testnet" : false
}