Thomas Baumbach
321ff62af4
v0.7 , less verbose, password added , testing rejection fix
2013-10-29 16:21:45 +01:00
donSchoe
c1bbe88795
Improved statistics output for better readability.
2013-10-16 22:50:49 +02:00
Thomas Baumbach
a298006598
v0.6 RC1
...
- increased minimum chain length for submission to 7
- additional triggers for reconnect on connection problems
2013-10-12 21:07:14 +02:00
Thomas Baumbach
6470007f35
further testing RC2
2013-10-05 10:10:53 +02:00
Thomas Baumbach
4030fa77ed
v0.5 RC1 (testing)
...
- reduced work overhead
2013-10-04 13:47:16 +02:00
Thomas Baumbach
da0ac224c3
test gwx
2013-09-10 19:35:22 +02:00
Thomas Baumbach
43962edddc
fixed scheduling/work promotion issue
2013-08-26 20:50:28 +02:00
Thomas Baumbach
98409e7f5d
work scheduling re-worked, less work done twice
2013-08-26 16:54:51 +02:00
Thomas Baumbach
54fe526dbf
changed the timer for a forced block update & some error format
2013-08-25 20:56:26 +02:00
Thomas Baumbach
93152ced1e
fixed a memory leak and added some TODOs
2013-08-25 11:02:26 +02:00
Thomas Baumbach
4b7415cbc0
removed debug info
2013-08-24 23:27:49 +02:00
Thomas Baumbach
9cfdfae83f
long polling v1
2013-08-24 23:04:20 +02:00
Thomas Baumbach
c535367514
Merge remote-tracking branch 'upstream/master'
2013-08-24 21:27:34 +02:00
Sunny King
9ab8085011
Primecoin: Fix synchronized checkpoint advisory mode since ea4c1324
2013-08-24 20:39:53 +03:00
Thomas Baumbach
8fefbe8908
some tests for efficient long polling support
2013-08-24 13:54:13 +02:00
Thomas Baumbach
c86f9b3770
testing long polling
2013-08-23 22:58:35 +02:00
Thomas Baumbach
00e5c7ec7e
made rpc calls failable
2013-08-23 22:38:12 +02:00
Thomas Baumbach
c285366113
testing the share feature
2013-08-19 23:07:11 +02:00
Thomas Baumbach
585b781ed9
first version for proper miner-testing
2013-08-17 08:56:24 +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
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
Sunny King
0751bbd004
Primecoin: Consider nPrimorialHashFactor in prime probability estimate
2013-08-01 10:03:06 +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
03e73e2f6f
Primecoin: Add chainsperday to model mining performance
...
Ported from upstream commit 86a95e596c.
2013-07-30 14:09:39 +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
mikaelh
6e8970b8f0
Rename 'gensieveroundpercentage' to 'roundsievepercentage' for simplicity.
2013-07-26 00:31:13 +03:00
mikaelh
41a127a518
Pass pindexPrev from BitcoinMiner() to MineProbablePrimeChain() to avoid potential races.
2013-07-26 00:01:35 +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
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
Sunny King
a51d63ea37
Port Sunny King's fix for miner performance issue with large block size
...
Primecoin: Fix miner performance issue with large block size
Miner create new block at most once every 10 seconds
2013-07-23 11:18:06 +03:00
mikaelh
7ca3db818f
Added a new tuning parameter -sievepercentage.
...
Added getchainspermin RPC command.
Added 'chainspermin', 'difficulty', 'sievepercentage' and 'sievesize' to the output of the 'getmininginfo' RPC command.
2013-07-21 19:26:48 +03:00
mikaelh
7a9e0ac77a
Restore dynamic round primorial since it seems to be performing pretty well on testnet.
2013-07-21 17:58:10 +03:00
mikaelh
9bd1366f8c
Optimize primorial computation.
2013-07-21 12:58:26 +03:00
mikaelh
97ca422327
Added a copy of the original code for checking proof of work (as per Sunny King's request).
2013-07-21 12:02:52 +03:00
mikaelh
835a7db8bf
Optimize the block header hash loop in BitcoinMiner().
2013-07-21 11:38:38 +03:00
mikaelh
61ca3e5930
Moved the calculation of the fixed multiplier outside the loop in BitcoinMiner().
2013-07-21 11:26:04 +03:00
mikaelh
973ae84fcf
Experimenting with a fixed round primorial.
...
Added fast divisibility tests before doing the expensive Fermat's test.
2013-07-21 11:17:12 +03:00
mikaelh
3a65dad6ce
Fix indentation.
2013-07-17 19:59:22 +03:00
mikaelh
8a85428d6e
Use atomic increment for the shared performance counters.
2013-07-17 12:18:24 +03:00
mikaelh
3d2c622a2c
Fix primemeter timestamps broken by previous commit.
2013-07-15 12:07:53 +03:00
mikaelh
cfdc1e3923
Print mining statistics every minute.
2013-07-15 03:11:05 +03:00
mikaelh
488aef16bc
Added the counting of 5-chains as a better performance measure.
2013-07-15 02:09:00 +03:00
mikaelh
43ede0ac1b
Initial high performance version commit.
2013-07-14 00:42:11 +03:00
Sunny King
eda38d62ad
Primecoin: Add gensieveroundlimitms config parameter
...
Further limit sieve round to default 1 second
Check new block arrival when preparing sieve (courtesy Mike270)
2013-07-10 23:45:16 +01:00
Sunny King
25659c1ec8
Primecoin: New genesis block for release main net and test net
2013-07-06 01:19:02 +01:00
Sunny King
a2b1fabbcc
Primecoin: Update genesis block for release main net and test net
2013-07-05 21:09:24 +01:00
Sunny King
8ad134e130
Primecoin: Switch to main network parameters at release
2013-07-05 20:35:02 +01:00
Sunny King
f7baa8a46a
Primecoin: Remove unused functions to avoid compile warnings
2013-07-05 16:21:52 +01:00