Sunny King
f204503d83
Primecoin: Update Mac Qt build info
2013-08-09 11:30:31 +03:00
Sunny King
0cd90fbb84
Primecoin: Add Mac OS X icon
2013-08-09 11:30:20 +03:00
mikaelh
7e98db4de9
Merged in jramstedt/primecoin-hp-solaris11.1 (pull request #3 )
...
Changes to get build working for Solaris 11.1
2013-08-09 11:14:12 +03:00
mikaelh
832225cf78
Restore makefile.unix in README.md.
2013-08-09 08:11:47 +00:00
Janne Ramstedt
29f279debf
Changes to get build working for Solaris 11.1
2013-08-05 22:49:12 +03:00
Janne Ramstedt
f2a3277d4a
Build instructions for solaris
...
Changes to get build working for Solaris 11.1
2013-08-05 22:20:32 +03:00
Mikael Hirki
e15fd6d0f8
Print the initial nRoundSievePercentage setting.
2013-08-03 10:22:21 +03:00
Mikael Hirki
9f22e4f5a8
Primecoin: Fixed printf format string in GeneratePrimeTable().
2013-08-03 10:21:01 +03:00
Mikael Hirki
4b2b30772d
Changed version string to -hp9.
2013-08-03 10:06:58 +03:00
Mikael Hirki
96f90a7360
Changed the default value of roundsievepercentage to 70 on mainnet (better chains/day, equal 5-chains/hr).
2013-08-03 10:05:49 +03:00
Mikael Hirki
e4e39c544f
Rewrite the dFixedMultiplier calculation using only double-precision arithmetic (for easier mainline integration).
2013-08-02 20:24:51 +03:00
Mikael Hirki
4f713098f2
Fix the scaling of the probability estimate in terms of the round primorial.
...
More accurate estimate for the average hash.
Calculate the actual fixed multiplier and take a log of that instead of using the estimate log(q#) = q.
2013-08-02 19:22:23 +03:00
Sunny King
0751bbd004
Primecoin: Consider nPrimorialHashFactor in prime probability estimate
2013-08-01 10:03:06 +03:00
Sunny King
db59a0aeff
Primecoin: Include variable multiplier in prime probability estimate
...
(courtesy of mhirki)
2013-08-01 10:00:08 +03:00
Mikael Hirki
d2812fa206
Fix for nSievePercentage = 100 in EstimateCandidatePrimeProbability().
2013-08-01 09:33:46 +03:00
Mikael Hirki
abd1c37bc4
Account for the average candidate multiplier in EstimateCandidatePrimeProbability().
...
The estimate seems to match the observed block rate more closely on testnet now.
2013-08-01 00:56:56 +03:00
Mikael Hirki
8fd6738dfe
Add a change that I missed when porting the fix in commit 48b849f67f
.
2013-08-01 00:52:25 +03:00
Sunny King
48b849f67f
Primecoin: Fix primechain probability model computation since 86a95e59
...
Use primechain probability model for adaptive primorial factor
Ported from upstream commit ea31d690a1.
2013-07-31 21:06:29 +03:00
Sunny King
f56b69dc73
Primecoin: Fix rpcblockchain.cpp build error since 95b1e3c9
2013-07-31 00:22:23 +03:00
Sunny King
7e6444a267
Primecoin: Update client version to 0.1.2
2013-07-31 00:21:59 +03:00
Brian 'geeknik' Carpenter
e4235ad05a
Changing more references from Bitcoin to Primecoin
2013-07-31 00:18:07 +03:00
Brian 'geeknik' Carpenter
9b8896e000
Changing more references from Bitcoin to Primecoin
2013-07-31 00:18:00 +03:00
Sunny King
f30afd3b16
Primecoin: Show whether prime is mined by this wallet in 'listprimerecords'
...
Show primorial form of prime chain origin in 'listprimerecords'
2013-07-30 14:24:53 +03:00
Sunny King
41cfd9ca39
Primecoin: Checkpoints at block 74722, 84106, 85429
2013-07-30 14:24:41 +03:00
Sunny King
be6897250b
Primecoin: Command 'listprimerecords' to list records inside primecoin
2013-07-30 14:24:27 +03:00
Sunny King
e749079061
Primecoin: Rearrange prime.cpp by protocol section and miner section
...
Ported from upstream commit 1a0fb3e0cf.
2013-07-30 14:19:00 +03:00
Brian 'geeknik' Carpenter
dae4b66ee6
Changing more references from Bitcoin to Primecoin
2013-07-30 14:11:31 +03:00
Sunny King
03e73e2f6f
Primecoin: Add chainsperday to model mining performance
...
Ported from upstream commit 86a95e596c.
2013-07-30 14:09:39 +03:00
mikaelh
8f57a67ce7
Optimize CSieveOfEratosthenes::Weave() for 32-bit processors.
2013-07-30 12:44:21 +03:00
mikaelh
6ab59b40d9
nSolvedMultiplier optimizations (thanks to gatra on bitcointalk).
2013-07-30 10:57:02 +03:00
mikaelh
79987140ce
Faster calculation of two's inverses (courtesy of mtrlt).
2013-07-30 01:15:40 +03:00
Sunny King
d7261866b0
Primecoin: Faster version of primality test for miner
...
Ported from upstream commit 2f65454766.
2013-07-28 20:33:02 +03:00
Sunny King
e00f2fee7c
Primecoin: Update development README
2013-07-27 12:59:05 +03:00
Sunny King
6bad1df8d7
Primecoin: Update DNSSeed and pnSeed
2013-07-27 12:58:46 +03:00
Sunny King
c8e2cc4ced
Primecoin: Update development README
2013-07-27 12:58:21 +03:00
Sunny King
3bba49220a
Primecoin: Add checkpointsync.h to qt project file
2013-07-27 12:56:36 +03:00
mikaelh
ea5ecc0b23
Restore the original linking mode after -l gmp.
2013-07-26 17:28:23 +03:00
mikaelh
6e8970b8f0
Rename 'gensieveroundpercentage' to 'roundsievepercentage' for simplicity.
2013-07-26 00:31:13 +03:00
mikaelh
eb2402ac05
Added RPC commands getsievepercentage, setsievepercentage, getgensieveroundpercentage and setgensieveroundpercentage.
2013-07-26 00:14:01 +03:00
mikaelh
41a127a518
Pass pindexPrev from BitcoinMiner() to MineProbablePrimeChain() to avoid potential races.
2013-07-26 00:01:35 +03:00
mikaelh
2bc63f3e6a
Fix wiping the bit arrays.
2013-07-25 23:20:02 +03:00
Brian 'geeknik' Carpenter
bfcd895e95
Changing references from Bitcoin to Primecoin
2013-07-25 21:02:19 +03:00
Brian 'geeknik' Carpenter
5c0e7880ca
Changing more references from Bitcoin to Primecoin
2013-07-25 21:00:57 +03:00
Sunny King
b508520658
Primecoin: Update windows product version and copyright notice
2013-07-25 20:59:39 +03:00
mikaelh
bd96b81cb0
Added a new configurable round primorial adjustment system.
...
The new parameter -gensieveroundpercentage (defaults to 30) determines how much time should be spent generating the sieve.
The round primorial is then adjusted so that the desired amount of time is spent generating the sieve.
2013-07-25 20:22:19 +03:00
mikaelh
eabc422f5a
Change version to -hp8.
2013-07-25 18:04:14 +03:00
mikaelh
0fa0615efb
Fix performance regression on mainnet caused by round primorial being adjusted too low.
...
The expected time dropped when 0 primes were found which caused the adjustment system to always decrease the round primorial.
Changed the calculation so that expected time is very high with 0 primes found.
Added an additional check so that round primorial is always incremented when 0 primes are found.
2013-07-25 17:16:58 +03:00
mikaelh
41c38d982d
Added linker flags that allow bundling libgmp.so with the binary release on Linux.
2013-07-25 15:10:24 +03:00
mikaelh
07bbb688e9
Always link against GMP dynamically.
2013-07-25 14:25:50 +03:00
mikaelh
59625e36d7
Only use the fast-div test for the first number in the chain because it skips fractional length calculation, thus preventing a potential block! Thanks to mtrlt for spotting this.
2013-07-25 10:46:41 +03:00