aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-04-03 18:23:50 -0700
committerGavin Andresen <[email protected]>2013-04-03 18:23:50 -0700
commit1c4f02139c03d0eedd52ebe0f886d44820402bf6 (patch)
treee385d39224a092453ddad0154514a96d30382be3 /src/checkpoints.cpp
parentMerge pull request #2450 from Diapolo/Qt_fix_VMTab (diff)
parentUpdate transaction statistics (diff)
downloaddiscoin-1c4f02139c03d0eedd52ebe0f886d44820402bf6.tar.xz
discoin-1c4f02139c03d0eedd52ebe0f886d44820402bf6.zip
Merge pull request #2453 from sipa/txstats
Update transaction statistics
Diffstat (limited to 'src/checkpoints.cpp')
-rw-r--r--src/checkpoints.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp
index 62234b911..9e8e0f702 100644
--- a/src/checkpoints.cpp
+++ b/src/checkpoints.cpp
@@ -15,11 +15,11 @@ namespace Checkpoints
typedef std::map<int, uint256> MapCheckpoints;
// How many times we expect transactions after the last checkpoint to
- // be slower. This number is conservative. On multi-core CPUs with
- // parallel signature checking enabled, this number is way too high.
- // We prefer a progressbar that's faster at the end than the other
- // way around, though.
- static const double fSigcheckVerificationFactor = 15.0;
+ // be slower. This number is a compromise, as it can't be accurate for
+ // every system. When reindexing from a fast disk with a slow CPU, it
+ // can be up to 20, while when downloading from a slow network with a
+ // fast multicore CPU, it won't be much higher than 1.
+ static const double fSigcheckVerificationFactor = 5.0;
struct CCheckpointData {
const MapCheckpoints *mapCheckpoints;
@@ -48,10 +48,10 @@ namespace Checkpoints
;
static const CCheckpointData data = {
&mapCheckpoints,
- 1357902690, // * UNIX timestamp of last checkpoint block
- 11011160, // * total number of transactions between genesis and last checkpoint
+ 1363044259, // * UNIX timestamp of last checkpoint block
+ 14264869, // * total number of transactions between genesis and last checkpoint
// (the tx=... number in the SetBestChain debug.log lines)
- 50000.0 // * estimated number of transactions per day after checkpoint
+ 60000.0 // * estimated number of transactions per day after checkpoint
};
static MapCheckpoints mapCheckpointsTestnet =