aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.h
Commit message (Collapse)AuthorAgeFilesLines
* [MOVEONLY] Move progress estimation out of checkpointsPieter Wuille2017-01-041-2/+0
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Remove GetTotalBlocksEstimate and checkpoint tests that test nothing.Gregory Maxwell2016-11-021-3/+0
| | | | | | | | GetTotalBlocksEstimate is no longer used and it was the only thing the checkpoint tests were testing. Since checkpoints are on their way out it makes more sense to remove the test file than to cook up a new pointless test.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* chainparams: move CCheckpointData into chainparams.hCory Fields2015-07-281-8/+1
| | | | | This unties CChainParams from its dependency on checkpoints. Instead, now it only depends on the raw checkpoint data.
* Reduce checkpoints' effect on consensus.Pieter Wuille2015-05-131-3/+0
| | | | | | | | | | | | | Instead of only checking height to decide whether to disable script checks, actually check whether a block is an ancestor of a checkpoint, up to which headers have been validated. This means that we don't have to prevent accepting a side branch anymore - it will be safe, just less fast to do. We still need to prevent being fed a multitude of low-difficulty headers filling up our memory. The mechanism for that is unchanged for now: once a checkpoint is reached with headers, no headers chain branching off before that point are allowed anymore.
* Merge pull request #6055Wladimir J. van der Laan2015-05-061-7/+5
|\ | | | | | | | | | | | | a8cdaf5 checkpoints: move the checkpoints enable boolean into main (Cory Fields) 11982d3 checkpoints: Decouple checkpoints from Params (Cory Fields) 6996823 checkpoints: make checkpoints a member of CChainParams (Cory Fields) 9f13a10 checkpoints: store mapCheckpoints in CCheckpointData rather than a pointer (Cory Fields)
| * checkpoints: move the checkpoints enable boolean into mainCory Fields2015-04-301-2/+0
| | | | | | | | | | This pertains to app-state, so it doesn't make sense to handle inside the checkpoint functions.
| * checkpoints: Decouple checkpoints from ParamsCory Fields2015-04-301-4/+4
| | | | | | | | Pass checkpoint data in as necessary
| * checkpoints: store mapCheckpoints in CCheckpointData rather than a pointerCory Fields2015-04-301-1/+1
| |
* | Bugfix: Grammar fixesCorinne Dashjr2015-05-011-1/+1
|/
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Convert remaining comments in /src to doxygen formatMichael Ford2014-11-211-6/+7
| | | | | | | | | | - 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
* Fix all header definesPavel Janík2014-11-031-3/+3
|
* Move checkpoint data selection to chainparamsjtimon2014-10-101-1/+11
|
* Apply clang-format on some infrequently-updated filesPieter Wuille2014-09-191-10/+10
|
* checkpoints.cpp depends on main, it can use mapBlockIndex directlyPieter Wuille2014-09-041-1/+1
|
* add missing header end commentsPhilip Kaufmann2014-08-281-1/+1
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* ensure clean and consistent "namespace" usagePhilip Kaufmann2014-06-261-3/+4
| | | | | | - remove some missplaced ; - ensure end of a namespace is clearly visible - use same formatting when using namespace
* [Qt] rescan progressCozz Lovan2014-04-021-1/+1
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-1/+2
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Bump Year Number to 2013super32013-10-201-1/+1
|
* Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variableJeff Garzik2013-05-241-0/+2
| | | | set once at init time.
* Merge pull request #2186 from Diapolo/misc_stuffWladimir J. van der Laan2013-02-231-1/+1
|\ | | | | small changes in init, main, checkpoints.h and bitcoin-qt.pro
| * small changes in init, main, checkpoints.h and bitcoin-qt.proPhilip Kaufmann2013-02-201-1/+1
| | | | | | | | | | | | | | | | | | - remove an unneeded MODAL flag, as MSG_ERROR sets MODAL - re-order an if-clause in main to have bool checks before a function call - fix some log messages that used wrong function names - make a log message use a correct ellipsis - remove some unneded spaces, brackets and line-breaks - fix style for adding files in the Qt project
* | Transactions-based verification progressPieter Wuille2013-02-161-0/+2
|/
* Update License in File HeadersFordy2012-05-181-1/+1
| | | | | | I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
* Remove headers.hPieter Wuille2012-04-171-1/+0
|
* Begin doxygen-compatible commentsPieter Wuille2012-03-261-4/+3
|
* Update all copyrights to 2012Gavin Andresen2012-02-071-1/+1
|
* Orphan block fill-up-memory attack preventionGavin Andresen2011-12-011-0/+7
|
* Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen2011-12-011-0/+22
attacks