DUMmy97531
Newbie
Offline
Activity: 18
Merit: 0
|
|
August 10, 2013, 01:43:04 PM |
|
Hi
This is for mikaelh or anybody that can provide a decent answer..
I am trying to understand the current mining algorithm used in the miner, but, since I am a noob when it comes to C programming, I have a hard time understanding it.
mikaelh ... did you use your own algorithm and, if so, can you please describe it or is there an article on the web available? I have searched for algorithms but found none yet that corresponds to yours. I am trying to learn C programming and thought "what the heck, might as well start here since I am interested in XRP's.
Any help would be highly appreciated........
Hi Dummy, learning c programming and being able to understand the extremely complex math behind the prime coin miner are two separate topics. I would class myself as an accomplished programmer (it's been my day job for 15 years) but I don't understand the xpm algorithm despite reading a lot about it. If your goal is to learn c, I would start with that by looking at some tutorials. I think you are all misunderstanding me. I AM trying to learn C better. I have done the tutorials and small code. STUPID "HELLOW WORLD". etc. Why spend your time on trivial programs if you can spoend it on more worthwhile things? The point here is ,,,, because I am a noob C programmer I find it difficult to follow the code and determine the algorthim, I am not REALLY trying to learn C, but trying to understand the algorithm so that I might, if lucky, be able to improve on it. I have searched for algorithms, especially the sieving but the multiplication factor for the sieve throws me out, The rest is basically understandable. Gee, why do you all misread and misunderstood my request? Because it was easy to hammer on the "Learning C" part and you were all incapable to answer on the "algorithm " part?
|
|
|
|
bcp19
|
|
August 10, 2013, 02:27:40 PM |
|
Hi
This is for mikaelh or anybody that can provide a decent answer..
I am trying to understand the current mining algorithm used in the miner, but, since I am a noob when it comes to C programming, I have a hard time understanding it.
mikaelh ... did you use your own algorithm and, if so, can you please describe it or is there an article on the web available? I have searched for algorithms but found none yet that corresponds to yours. I am trying to learn C programming and thought "what the heck, might as well start here since I am interested in XRP's.
Any help would be highly appreciated........
Hi Dummy, learning c programming and being able to understand the extremely complex math behind the prime coin miner are two separate topics. I would class myself as an accomplished programmer (it's been my day job for 15 years) but I don't understand the xpm algorithm despite reading a lot about it. If your goal is to learn c, I would start with that by looking at some tutorials. I think you are all misunderstanding me. I AM trying to learn C better. I have done the tutorials and small code. STUPID "HELLOW WORLD". etc. Why spend your time on trivial programs if you can spoend it on more worthwhile things? The point here is ,,,, because I am a noob C programmer I find it difficult to follow the code and determine the algorthim, I am not REALLY trying to learn C, but trying to understand the algorithm so that I might, if lucky, be able to improve on it. I have searched for algorithms, especially the sieving but the multiplication factor for the sieve throws me out, The rest is basically understandable. Gee, why do you all misread and misunderstood my request? Because it was easy to hammer on the "Learning C" part and you were all incapable to answer on the "algorithm " part? Understanding the algorithm takes a decent understanding of the mathematics involved. If you don't have a solid enough background you won't be able to understand the explanation. Given my background and my overall understanding of the math involved here, I'd say a fair number of people with Bachelor's degrees in Mathematics would struggle with this algorithm. Since the code is already written, an accomplished programmer could make tweaks to certain parts of the code to make it run faster, but I doubt many of them truly understand it fully.
|
I do not suffer fools gladly... "Captain! We're surrounded!" I embrace my inner Kool-Aid.
|
|
|
Dumbo
Member
Offline
Activity: 114
Merit: 10
|
|
August 10, 2013, 04:32:27 PM |
|
Okay I have been running Digital Ocean droplets ( cloned 3 times..for a total of 4). and this is my stat: Stats: { "blocks" : 109854, "chainspermin" : 2, "chainsperday" : 0.06633148, "currentblocksize" : 21366, "currentblocktx" : 1, "difficulty" : 9.68092436, "errors" : "", "generate" : true, "genproclimit" : -1, "roundsievepercentage" : 30, "primespersec" : 495, "pooledtx" : 1, "sievepercentage" : 10, "sievesize" : 1000000, "testnet" : false }
I set it up using gigawatt's instructions I found here .. https://bitcointalk.org/index.php?topic=261179.04 nodes have been running for 3 days and I found nothing! Is that normal? Confirmed Balance: 0.00000000 Immature Balance: Immature TX: 0 Connections: 8
And why is my chainsperday so low? I read it somewhere in this thread that chainsperday is a more accurate measurement than primespersecond. I have updated the primecoin miner ( which I am assuming updates to hp9) using his script -> http://pastebin.com/T19PrHcf ./stop-primecoind to stop the primecoind process ./build-primecoin to update and rebuild primecoind ./start-primecoind to start your primecoind process again and also restarted the haveged service using Anything stupid I am doing? (very much possible) if not what do I do to make this get anything! Also ....I saw people telling about running 50 VPS on digital ocean. I thought, you could only run 5 nodes on one account - or are you guys using something else? Edit: I have one Linode node running as well..and my stats are .. Stats: { "blocks" : 109882, "chainspermin" : 3, "chainsperday" : 0.28633614, "currentblocksize" : 1000, "currentblocktx" : 0, "difficulty" : 9.68146938, "errors" : "", "generate" : true, "genproclimit" : -1, "roundsievepercentage" : 30, "primespersec" : 2067, "pooledtx" : 0, "sievepercentage" : 10, "sievesize" : 1000000, "testnet" : false }
I have not got anything there either for 2 days
|
|
|
|
Dumbo
Member
Offline
Activity: 114
Merit: 10
|
|
August 10, 2013, 05:32:56 PM |
|
lol ...that's not encouraging . I want to see how mined block looks like!
|
|
|
|
Tamis
|
|
August 10, 2013, 07:21:09 PM |
|
dumbo, read the thread.
|
|
|
|
Dumbo
Member
Offline
Activity: 114
Merit: 10
|
|
August 10, 2013, 07:39:34 PM Last edit: August 10, 2013, 09:21:23 PM by Dumbo |
|
I did! that's how I knew about haveged fixing entropy and how pps is not a good measurement..but obviously I have missed something. Everyone in the thread seems to have better performance than me using the hp9 I guess I will reread carefully! Edit: Hehe, I read only the lucky ones before....missed the unlucky guys like me. I guess it was wishful thinking (subconsciously blocked out all the whining and focused on only the positive) ...I am glad I am not the only one who has nothing! Misery loves company ......
|
|
|
|
SlyWax
|
|
August 10, 2013, 09:58:21 PM |
|
If you want to get an estimation of your block/day : Take one minus the decimal part of the difficulty and multiply it with your chain/day.
block/day = (1 - dec(difficulty) ) * chainsperday
From your example : "chainsperday" : 0.28633614, "difficulty" : 9.68146938, block/day = (1 - 0.68146938) * 0.28633614 = 0,091206828 = around one block every 11 days !
|
|
|
|
Dumbo
Member
Offline
Activity: 114
Merit: 10
|
|
August 10, 2013, 10:06:54 PM |
|
Ah thanks! solo VPS mining seems looks bleak to me ..unless you own 500 servers running like some dude in this thread...
|
|
|
|
Tamis
|
|
August 10, 2013, 11:03:53 PM |
|
Ah thanks! solo VPS mining seems looks bleak to me ..unless you own 500 servers running like some dude in this thread...
I'm not sure he really has those 500 servers.... but who knows (or care).
|
|
|
|
Dumbo
Member
Offline
Activity: 114
Merit: 10
|
|
August 10, 2013, 11:12:56 PM |
|
Well, I somewhat do care, not because he has it (or can have it). But because it puts a price on 51% attack on Primecoin (which isn't THAT much) . If he can get to 8-10% by himself. Someone with malicious intent (not him) might be able to pull it off. Or if someone like him puts everything on ypool ...that's adding another 10% to already existing 20% ..and that's getting a little too close for comfort. But eh...bitcoin survived all that, Litecoin did ....I am sure this will too
|
|
|
|
jubalix
Legendary
Offline
Activity: 2646
Merit: 1023
|
|
August 11, 2013, 12:00:58 AM |
|
so is xpm being pool mined/bot mined now
no solo's anymore ?
|
|
|
|
reb0rn21
Legendary
Offline
Activity: 1901
Merit: 1024
|
|
August 11, 2013, 01:11:53 AM |
|
so is xpm being pool mined/bot mined now
no solo's anymore ?
solo works just fine, you just need to wait few days for a block, nothing wrong in that
|
|
|
|
nabworth
Newbie
Offline
Activity: 50
Merit: 0
|
|
August 11, 2013, 09:04:57 AM |
|
so is xpm being pool mined/bot mined now
no solo's anymore ?
i'm still soloing on a dual core laptop and a single core vm and I get the occasional block every 1 - 2 weeks. its no much but i dont pay for electricity so it doesnt hurt for me to just keep running it. either way, still able to solo mine on some crappy hardware.
|
|
|
|
FoldingTime
|
|
August 11, 2013, 09:15:21 AM |
|
so is xpm being pool mined/bot mined now
no solo's anymore ?
i'm still soloing on a dual core laptop and a single core vm and I get the occasional block every 1 - 2 weeks. its no much but i dont pay for electricity so it doesnt hurt for me to just keep running it. either way, still able to solo mine on some crappy hardware. I make more solo mining, however, the payouts are sporadic.
|
|
|
|
Lauda
Legendary
Offline
Activity: 2674
Merit: 2965
Terminated.
|
|
August 11, 2013, 09:30:27 AM |
|
so is xpm being pool mined/bot mined now
no solo's anymore ?
You can solo on a server
|
"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks" 😼 Bitcoin Core ( onion)
|
|
|
matt4054
Legendary
Offline
Activity: 1946
Merit: 1035
|
|
August 11, 2013, 10:03:41 AM |
|
so is xpm being pool mined/bot mined now
no solo's anymore ?
You can solo on a server However, getting ROI is hazardous (hint: GPU miners coming) so only on pre-owned servers, I would say VPS are currently barely breaking even AFAIK
|
|
|
|
roy7
|
|
August 11, 2013, 12:39:18 PM |
|
Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.
|
|
|
|
TheSpiral
Full Member
Offline
Activity: 322
Merit: 113
Sinbad Mixer: Mix Your BTC Quickly
|
|
August 11, 2013, 12:52:37 PM |
|
Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.
I don't have a crystal ball. Alpha testing on mtrlt's miner suggested an early 25x advantage for GPU's (mind you, high end GPU vs 1 CPU core, but promising). Even if it was the same speed as your CPU, it'd essentially double a desktop's mining speed than it currently is and at least provide some parity with VPS's.
|
|
|
|
mhps
|
|
August 11, 2013, 12:54:54 PM |
|
Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.
PrimeCoin is doing one of its jobs -- motivating people to search primes harder (e.g. finding ways to use GPUs)
|
|
|
|
roy7
|
|
August 11, 2013, 01:09:28 PM |
|
Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.
PrimeCoin is doing one of its jobs -- motivating people to search primes harder (e.g. finding ways to use GPUs) Very true.
|
|
|
|
|