Commit Graph

4320 Commits (master)

Author SHA1 Message Date
Thomas Baumbach 5ed5af50f1 fixed unix compilation file 2013-08-20 09:44:21 +02:00
Thomas Baumbach 3b5ac26b00 removed merkleroot from console output 2013-08-19 23:45:49 +02:00
Thomas Baumbach a0d7d18301 changed poolminer output to blockhash 2013-08-19 23:20:23 +02:00
Thomas Baumbach c285366113 testing the share feature 2013-08-19 23:07:11 +02:00
Thomas Baumbach 6b7c02d773 small additions and some fixes for the communication
looks like the original client needs some love regarding 'getwork'
2013-08-18 21:22:41 +02:00
Thomas Baumbach 3850f798cb removed perftool (from repository and makefile) since it's no longer needed 2013-08-17 09:49:56 +02:00
Thomas Baumbach 53d38d2bf9 fixed last commit 2013-08-17 09:21:07 +02:00
Thomas Baumbach 927c8ae041 small addition for testing purpose 2013-08-17 09:15:07 +02:00
Thomas Baumbach 585b781ed9 first version for proper miner-testing 2013-08-17 08:56:24 +02:00
Thomas Baumbach 73c5f03c2d fixed getwork formatting 2013-08-16 10:18:42 +02:00
Thomas Baumbach 0f4883be41 fixed issue with poolminer - testing can start now (not actually mining) 2013-08-16 09:47:56 +02:00
Thomas Baumbach eae386c0b2 added test code for perf/pool-tests 2013-08-16 08:39:52 +02:00
Mikael Hirki ee44fbe650 Remove fast division test because it is no longer needed and the latest version is actually buggy (thanks to primedigger for spotting this). 2013-08-15 22:17:40 +03:00
Mikael Hirki 56072a11c0 Major rewrite of the sieve to support extending the sieve (originally implemented by jh000).
Added new parameter -sieveextensions (defaults to 6 for mainnet).
The round primorial is now adjusted automatically and -roundsievepercentage is not used anymore.
2013-08-11 20:44:46 +03:00
Mikael Hirki 9e3d461f8a Adjust the prime probability estimate to account for the fact that each prime in a chain is approximately two times larger than the previous prime. 2013-08-10 22:12:07 +03:00
Mikael Hirki 09332b028a Added new typedef sieve_word_t. This makes it more easier to to change the word type if needed. 2013-08-10 21:25:00 +03:00
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