mikaelh


October 31, 2013, 09:51:47 AM 

Hi, out of curiosity I looked in primecointalk and found this information: I like the idea to use mining for scientific issues. Can you explain to me, what the records mean? My hypothesis is  no, I don't have a hypothesis. Looking on http://users.cybercity.dk/~dsl522332/math/simultprime.htm#history I found out there are several records for prime numbers, but primecoin is far away from the records with 17425170 digits. But there are several categories regarding to k. Is k the number of primes? thanks Simultaneous primes refers to a cluster of primes that are somehow connected to each other. 'k' is the number of primes in the cluster. Longer primes (in terms of how many digits you would need to write it down) are harder to find and are considered better. The first category where k=1 is equivalent to the largest known prime which is a Mersenne prime with a whopping 17425170 digits. Primecoin is trying to find Cunningham chains. The primes in a Cunningham chain of the first kind follow the pattern: n  1 2n  1 4n  1 8n  1 ... 2^i * n  1 As you can see all the primes are connected to 'n' which is called the origin. A Cunningham chain of the second kind looks like this: n + 1 2n + 1 4n + 1 8n + 1 ... 2^i * n + 1 Primecoin is looking for chains that are at least 9 primes long (so k >= 9). The current mining algorithm is producing numbers that are about 300bits long which is about 90 digits. The origin is always a multiple of the block header hash which is 256 bits long. This hash is then multiplied by a few small prime numbers and a multiplier produced by our sieve algorithm. The miner can occasionally try using big multipliers which may result in a new record if the numbers are primes.









There are several different types of Bitcoin clients. EWallets such as Coinbase are like banks  a central organization has complete control over your money. You shouldn't put much money in EWallets.



Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.




porcupine87


October 31, 2013, 11:27:52 AM 

Hi, out of curiosity I looked in primecointalk and found this information: I like the idea to use mining for scientific issues. Can you explain to me, what the records mean? My hypothesis is  no, I don't have a hypothesis. Looking on http://users.cybercity.dk/~dsl522332/math/simultprime.htm#history I found out there are several records for prime numbers, but primecoin is far away from the records with 17425170 digits. But there are several categories regarding to k. Is k the number of primes? thanks Simultaneous primes refers to a cluster of primes that are somehow connected to each other. 'k' is the number of primes in the cluster. Longer primes (in terms of how many digits you would need to write it down) are harder to find and are considered better. The first category where k=1 is equivalent to the largest known prime which is a Mersenne prime with a whopping 17425170 digits. Primecoin is trying to find Cunningham chains. The primes in a Cunningham chain of the first kind follow the pattern: n  1 2n  1 4n  1 8n  1 ... 2^i * n  1 As you can see all the primes are connected to 'n' which is called the origin. A Cunningham chain of the second kind looks like this: n + 1 2n + 1 4n + 1 8n + 1 ... 2^i * n + 1 Just to be once in this forum a smart ass For Cunningham 1 either: p2 = 2*p1 1 p3 = 2*p2 1 p4 = 2*p3 1 German Wikipedia: http://de.wikipedia.org/wiki/CunninghamKetteor: p2 = 2*p1 +1 p3 = 4*p1 +3 p4 = 8*p1 +7 English Wikipedia: http://en.wikipedia.org/wiki/Cunningham_chainIt is both the same. p1=11 p2 = 2*11+1 = 2*11+1 = 23 p3 = 4*11 +3 = 2*23+1 = 47 p4 = 8*11 +7 = 2*47+1 = 95 > 95 is no prime, so the chain is the length 3. To get the decimal you take the Fermat Test(look up on Wikipedia): 2^94 mod 95 = 54 So you take (9554)/(95) = 0.43 > So the Chain has the length 3.43. The current difficulty to reach is 9.94something. Primecoin is looking for chains that are at least 9 primes long (so k >= 9). The current mining algorithm is producing numbers that are about 300bits long which is about 90 digits. The origin is always a multiple of the block header hash which is 256 bits long. This hash is then multiplied by a few small prime numbers and a multiplier produced by our sieve algorithm. The miner can occasionally try using big multipliers which may result in a new record if the numbers are primes.
Ah interesting. Sorry I'm not very good in c++ neither can I just simply change the code, compile and then find out. So in the miner you just multiply the block header (which is different to the showed hash in the explorer which is very confusing) which different primes? So the CSieveOfEratosthenes tries just to find this multipliers? Sorry, I don't want to disturb u all the time. Are there somewhere more informations to the code?

"Morality, it could be argued, represents the way that people would like the world to work  whereas economics represents how it actually does work." Freakonomics



Distribution


November 01, 2013, 02:09:43 AM 

I've been trying to learn a little about prime coin and how to participate, but it's just been difficult. Many of the sites don't work. And when I try to use mining software, it either gets quarantined by my anti virus (jhprimeminer) or I can't tell if it's working. For example, I tried mining on Rpool with the miner they recommend, and I get this: ******************************************** *** Xolominer  Primecoin Pool Miner v0.6 RC2 *** by xolokram/TB  www.beeeeer.org  glhf *** *** thx to Sunny King & mikaelh *** press CTRL+C to exit ******************************************** usage: current maximum supported number of th
******************************************** *** running time: 0.000hrs *** *** valid: 0 (0.000%) *** rejects: 0 (0.000%) *** stale: 0 (0.000%) ********************************************
C:\Users\user> I assume this means it's not working. Is there something I can do in this specific case? Or is there an easier way for me to do it?




C. Bergmann


November 01, 2013, 02:12:16 PM 

Thanks for the explanation. Love your project! I hope it will be the start for something big, like montecarlosimulations via mining.

 Gabro   ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███     ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ WHITEPAPER ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ TOKEN SALES ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 



satriani
Member
Offline
Activity: 93
Merit: 10


November 01, 2013, 02:50:50 PM 

after breaking diffucult 10 at Primecoin will we see quick move diff at 10,5 like it was earlier at 8 and 9 ?




mhps


November 02, 2013, 01:24:52 AM 

after breaking diffucult 10 at Primecoin will we see quick move diff at 10,5 like it was earlier at 8 and 9 ?
Yes. For a certain length the difficulty is tracks how fast new blocks are found, which is proportional to the probability of finding a new block. After an integer difficulty level is reached, the probability change is more or less inversely proportional to that of the network calculation power. For example if the network finds 10 chains twice as fast as the difficulty=10 point is reached, the difficulty increase by 0.5. If the network finds 10 chains three times as fast as the difficulty=10 point is reached, the difficulty increase by 0.6667. At high fractional difficulties, one has to correct for higher length chains. See details here http://www.peercointalk.org/index.php?topic=695.msg6301#msg6301




ivanlabrie


November 02, 2013, 06:11:24 AM 

Hi, I'm having trouble syncing my wallet now... I added the muuttuja node, and am still getting crashes and errors when the wallet is about to sync.




Trillium


November 02, 2013, 08:56:27 AM 

Have you stress tested your system to see if its actually stable? You seem to be having a lot of unusual problems.

BTC:1AaaAAAAaAAE2L1PXM1x9VDNqvcrfa9He6



mikaelh


November 02, 2013, 09:19:41 AM 

Hi, I'm having trouble syncing my wallet now... I added the muuttuja node, and am still getting crashes and errors when the wallet is about to sync.
Did you have the builtin miner running at the same time? AFAIK, those crashes occur randomly when mining. Also, some of your database files may be corrupt now because of the crash.




bidji29


November 02, 2013, 10:52:50 AM 

A heard about a new Prime number coin with scientific value, It's still in development and it's called Riecoin. The PoW is different than primecoin. It will try to prove or disprove the Riemann Hypothesis https://bitcointalk.org/index.php?topic=321497.0It's great to have finally some coin like Primecoin who are not shitclone but real innovative coin. Maybe Riecoin will be in the same category




Trillium


November 02, 2013, 01:12:48 PM 

Hi, I'm having trouble syncing my wallet now... I added the muuttuja node, and am still getting crashes and errors when the wallet is about to sync.
Did you have the builtin miner running at the same time? AFAIK, those crashes occur randomly when mining. Also, some of your database files may be corrupt now because of the crash. 29 miners running here and never seen that error? Maybe I'm lucky.

BTC:1AaaAAAAaAAE2L1PXM1x9VDNqvcrfa9He6



ivanlabrie


November 02, 2013, 01:28:42 PM 

Hi, I'm having trouble syncing my wallet now... I added the muuttuja node, and am still getting crashes and errors when the wallet is about to sync.
Did you have the builtin miner running at the same time? AFAIK, those crashes occur randomly when mining. Also, some of your database files may be corrupt now because of the crash. I used to...I now have an unconfirmed transaction there, stuck it seems. It's been like that since yesterday. I erased all the files except for the wallet.dat but still get the same thing. Should I re download the wallet? Use a different folder, or what? Thanks.




IlyaVak


November 02, 2013, 09:07:13 PM 

What is best miner for solo mining XPM?




ivanlabrie


November 03, 2013, 12:54:42 AM 

What is best miner for solo mining XPM? Easy, the High Performance HP11 (or whatever version's the latest at any given time). Search for it here, it's made by mikaelh, one of the developers.




liquiddrool
Member
Offline
Activity: 67
Merit: 10


November 03, 2013, 02:04:05 AM 

What is best miner for solo mining XPM? hp11 search this forum for it




coin@coin
Legendary
Offline
Activity: 1722
Merit: 1000


November 03, 2013, 04:52:11 AM 

Is there an HP12 being worked on at the moment? Seems like so long ago HP11 came out... But then I guess most people is pool mining on Ypool or Beeeeer.




mikaelh


November 03, 2013, 11:20:49 AM 

Primecoin is looking for chains that are at least 9 primes long (so k >= 9). The current mining algorithm is producing numbers that are about 300bits long which is about 90 digits. The origin is always a multiple of the block header hash which is 256 bits long. This hash is then multiplied by a few small prime numbers and a multiplier produced by our sieve algorithm. The miner can occasionally try using big multipliers which may result in a new record if the numbers are primes.
Ah interesting. Sorry I'm not very good in c++ neither can I just simply change the code, compile and then find out. So in the miner you just multiply the block header (which is different to the showed hash in the explorer which is very confusing) which different primes? So the CSieveOfEratosthenes tries just to find this multipliers? Sorry, I don't want to disturb u all the time. Are there somewhere more informations to the code? Multiplying the hash with small prime factors is simply a trick to increase the chances of finding a prime chain. Lets say we have a number N such that N = 2 * 3 * 5 * 7 * n, i.e. N is divisible by 2, 3, 5 and 7. Now we know that none of these numbers are divisible by these prime factors: N  1, N + 1, 2N  1, 2N + 1, 4N  1, 4N + 1, ... . Filtering out the prime factor p_i from a random number M increases the chances M being prime by 1 / (1  1/p_i). So if you filter out all even numbers, you double the chances. If you filter all numbers divisible by 3, you increase the chances by 50%. And if you filter out both, the chances are tripled. CSieveOfEratosthenes is also increasing the chances of finding prime chains by filtering out all numbers divisible by slightly larger primes. The chances of finding a prime chain increase slightly with every prime factor that is filtered out. The details of this process are pretty complicated. I think the only place where the algorithm is described is the code itself.




satriani
Member
Offline
Activity: 93
Merit: 10


November 04, 2013, 04:36:11 PM 

i think now the most important thing to primecoin is go to chines exchange or do something to aware chines people about how many advantages has primecoin vs bitcoin.
also invent better miner for PrimeCoin could cause higher difficult and lower reward, which could impact on price. Higher marketcap = more attention = faster introduct Primecoin on online shops




ivanlabrie


November 04, 2013, 06:16:35 PM 

mikaelh, I'm having trouble with the wallet...it stopped syncinc despite me trying the fixes you guys suggested. Not sure what's up with that, I got stuck with a transaction with 0 of 6 confirmations.




mikaelh


November 04, 2013, 08:58:58 PM 

mikaelh, I'm having trouble with the wallet...it stopped syncinc despite me trying the fixes you guys suggested. Not sure what's up with that, I got stuck with a transaction with 0 of 6 confirmations.
Well, you can try looking at the debug.log file to see if there's a cause there. The file is in the %APPDATA%\Primecoin folder since you're on Windows. If all else fails, you can try deleting the database files in that folder. Make sure to preserve wallet.dat though.




