diff options
| author | Michael Ford <[email protected]> | 2014-10-31 08:43:19 +0800 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-11-21 14:44:21 +0100 |
| commit | fa94b9d5623cfd16aa594c28432f25a17b0efb0e (patch) | |
| tree | 7c94530e14c0c3230883601157ab1cd81257806f /src/checkpoints.cpp | |
| parent | Merge pull request #5170 (diff) | |
| download | discoin-fa94b9d5623cfd16aa594c28432f25a17b0efb0e.tar.xz discoin-fa94b9d5623cfd16aa594c28432f25a17b0efb0e.zip | |
Convert remaining comments in /src to doxygen format
- Update comments in checkpoints to be doxygen compatible
- Update comments in checkqueue to be doxygen compatible
- Update coins to be doxygen compatible
- Fix comment typo in crypter.h
- Update licenses/copyright dates
Closes #5325 #5184 #5183 #5182
Diffstat (limited to 'src/checkpoints.cpp')
| -rw-r--r-- | src/checkpoints.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index fbde47339..0fb4411e6 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2014 The Bitcoin developers -// Distributed under the MIT/X11 software license, see the accompanying +// Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "checkpoints.h" @@ -14,11 +14,13 @@ namespace Checkpoints { - // How many times we expect transactions after the last checkpoint to - // 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. + /** + * How many times we expect transactions after the last checkpoint to + * 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 SIGCHECK_VERIFICATION_FACTOR = 5.0; bool fEnabled = true; @@ -35,7 +37,7 @@ namespace Checkpoints { return hash == i->second; } - // Guess how far we are in the verification process at the given block index + //! Guess how far we are in the verification process at the given block index double GuessVerificationProgress(CBlockIndex *pindex, bool fSigchecks) { if (pindex==NULL) return 0.0; |