aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [MOVEONLY] Move progress estimation out of checkpointsPieter Wuille2017-01-041-40/+0
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Rename the remaining main.{h,cpp} to validation.{h,cpp}Matt Corallo2016-12-021-1/+1
|
* Remove GetTotalBlocksEstimate and checkpoint tests that test nothing.Gregory Maxwell2016-11-021-10/+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
|
* TRIVIAL: Missing includesJorge Timón2015-07-231-0/+1
|
* Reduce checkpoints' effect on consensus.Pieter Wuille2015-05-131-9/+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-19/+9
|\ | | | | | | | | | | | | 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-11/+3
| | | | | | | | | | 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-9/+7
| | | | | | | | Pass checkpoint data in as necessary
| * checkpoints: store mapCheckpoints in CCheckpointData rather than a pointerCory Fields2015-04-301-3/+3
| |
* | Non-grammatical language improvementsLuke Dashjr2015-05-021-3/+4
|/
* 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-7/+9
| | | | | | | | | | - 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
* Move checkpoint data selection to chainparamsjtimon2014-10-101-76/+5
|
* Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner2014-10-021-0/+2
| | | | UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
* Revert merge of pull #4845Wladimir J. van der Laan2014-10-021-2/+0
| | | | | | | | | | | It breaks the new mingw tests! See - https://travis-ci.org/bitcoin/bitcoin/jobs/36845581 - https://travis-ci.org/bitcoin/bitcoin/jobs/36845582 This reverts commit 470590277782cce2fe73275c74523aef59a51eab, 5e2e7fcb99738d9254d4030d53e4f711b2fc5ee0, a25fd6be138ff2bff7e2ad6a1a789db523c0193f.
* Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner2014-09-291-0/+2
| | | | UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
* Introduce BlockMap type for mapBlockIndexPieter Wuille2014-09-041-1/+1
|
* checkpoints.cpp depends on main, it can use mapBlockIndex directlyPieter Wuille2014-09-041-1/+1
|
* Merge pull request #4541Wladimir J. van der Laan2014-07-281-2/+3
|\ | | | | | | 125fba1 Add a new checkpoint at block 295,000 (Trevin Hofmann)
| * Add a new checkpoint at block 295,000Trevin Hofmann2014-07-151-2/+3
| | | | | | | | | | | | Block 295,000 seems to meet the criteria of a reasonable timestamp and no strange transactions. 295,000 is the current block height in the bootstrap.dat torrent provided by jgarzik.
* | Use GetBlockTime() morejtimon2014-07-071-1/+1
|/
* 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
* Remove unnecessary dependencies for bitcoin-cliWladimir J. van der Laan2014-06-251-2/+2
| | | | | | | | | This commit removes all the unnecessary dependencies (key, core, netbase, sync, ...) from bitcoin-cli. To do this it shards the chain parameters into BaseParams, which contains just the RPC port and data directory (as used by utils and bitcoin-cli) and Params, with the rest.
* Fix incorrect checkpoint data for testnet3David Hill2014-05-131-2/+2
|
* [Qt] rescan progressCozz Lovan2014-04-021-2/+3
|
* Add a new checkpoint at block 279,000Micha2014-01-181-4/+5
| | | | | From a cursory glance, it looks like block 279,000 meets the criteria for a checkpoint block, and it's also what the bootstrap.dat torrent is at. This closes #3530.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-6/+8
| | | | | | | | | 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
|
* Checkpoint at block 250,000Gavin Andresen2013-08-201-2/+3
|
* Don't use checkpoints and accept nonstd txn on -regtestMatt Corallo2013-07-231-2/+15
|
* Introduce a CChainParameters singleton class and regtest mode.Mike Hearn2013-06-191-2/+2
| | | | | | | | | | | | | The new class is accessed via the Params() method and holds most things that vary between main, test and regtest networks. The regtest mode has two purposes, one is to run the bitcoind/bitcoinj comparison tool which compares two separate implementations of the Bitcoin protocol looking for divergence. The other is that when run, you get a local node which can mine a single block instantly, which is highly convenient for testing apps during development as there's no need to wait 10 minutes for a block on the testnet.
* Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variableJeff Garzik2013-05-241-3/+5
| | | | set once at init time.
* Update transaction statisticsPieter Wuille2013-04-041-8/+8
| | | | | | | | As these were not updated when 'backporting' the 225430 checkpoint into head. Additionally, also report verification progress in debug.log, and tweak the sigcheck-verification-speed-factor a bit.
* Checkpoint at first block in 11 March chain forkGavin Andresen2013-03-171-0/+1
|
* Transactions-based verification progressPieter Wuille2013-02-161-6/+69
|
* New checkpoint at block 216116 for the 0.8.0 releaseGavin Andresen2013-01-301-0/+1
|
* Merge pull request #2087 from gavinandresen/check210000Pieter Wuille2012-12-131-0/+1
|\ | | | | Checkpoint at first 25-btc-reward block (210,000)
| * Checkpoint at first 25-btc-reward block (210,000)Gavin Andresen2012-12-101-0/+1
| |
* | New 'checkpoints' option should default to true.Jeff Garzik2012-11-281-3/+3
| |
* | Add "checkpoints" option, to permit disabling of checkpoint logic.Jeff Garzik2012-11-281-0/+9
|/
* Checkpoint at block 193,000Gavin Andresen2012-08-211-1/+1
|
* Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)Gavin Andresen2012-06-251-4/+1
|
* Add a testnet checkpoint at block 546Gavin Andresen2012-05-251-7/+12
|
* 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/+3
|
* Checkpoint block 168,000Gavin Andresen2012-02-231-0/+1
|
* Update all copyrights to 2012Gavin Andresen2012-02-071-1/+1
|
* Compile with extra warnings turned on. And more makefile/code tidying up.Gavin Andresen2012-01-121-1/+0
| | | | | | | This turns on most gcc warnings, and removes some unused variables and other code that triggers warnings. Exceptions are: -Wno-sign-compare : triggered by lots of comparisons of signed integer to foo.size(), which is unsigned. -Wno-char-subscripts : triggered by the convert-to-hex functions (I may fix this in a future commit).