aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
AgeCommit message (Collapse)Author
2014-09-29Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
2014-09-04Introduce BlockMap type for mapBlockIndexPieter Wuille
2014-09-04checkpoints.cpp depends on main, it can use mapBlockIndex directlyPieter Wuille
2014-07-28Merge pull request #4541Wladimir J. van der Laan
125fba1 Add a new checkpoint at block 295,000 (Trevin Hofmann)
2014-07-15Add a new checkpoint at block 295,000Trevin Hofmann
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.
2014-07-07Use GetBlockTime() morejtimon
2014-06-26ensure clean and consistent "namespace" usagePhilip Kaufmann
- remove some missplaced ; - ensure end of a namespace is clearly visible - use same formatting when using namespace
2014-06-25Remove unnecessary dependencies for bitcoin-cliWladimir J. van der Laan
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.
2014-05-13Fix incorrect checkpoint data for testnet3David Hill
2014-04-02[Qt] rescan progressCozz Lovan
2014-01-18Add a new checkpoint at block 279,000Micha
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.
2013-11-10Cleanup code using forward declarations.Brandon Dahler
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.
2013-10-20Bump Year Number to 2013super3
2013-08-20Checkpoint at block 250,000Gavin Andresen
2013-07-23Don't use checkpoints and accept nonstd txn on -regtestMatt Corallo
2013-06-19Introduce a CChainParameters singleton class and regtest mode.Mike Hearn
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.
2013-05-24Replace repeated GetBoolArg() calls with Checkpoint::fEnabled variableJeff Garzik
set once at init time.
2013-04-04Update transaction statisticsPieter Wuille
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.
2013-03-17Checkpoint at first block in 11 March chain forkGavin Andresen
2013-02-16Transactions-based verification progressPieter Wuille
2013-01-30New checkpoint at block 216116 for the 0.8.0 releaseGavin Andresen
2012-12-13Merge pull request #2087 from gavinandresen/check210000Pieter Wuille
Checkpoint at first 25-btc-reward block (210,000)
2012-12-10Checkpoint at first 25-btc-reward block (210,000)Gavin Andresen
2012-11-28New 'checkpoints' option should default to true.Jeff Garzik
2012-11-28Add "checkpoints" option, to permit disabling of checkpoint logic.Jeff Garzik
2012-08-21Checkpoint at block 193,000Gavin Andresen
2012-06-25Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)Gavin Andresen
2012-05-25Add a testnet checkpoint at block 546Gavin Andresen
2012-05-18Update License in File HeadersFordy
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.
2012-04-17Remove headers.hPieter Wuille
2012-02-23Checkpoint block 168,000Gavin Andresen
2012-02-07Update all copyrights to 2012Gavin Andresen
2012-01-12Compile with extra warnings turned on. And more makefile/code tidying up.Gavin Andresen
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).
2011-12-21Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
2011-12-20Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr
2011-12-01Orphan block fill-up-memory attack preventionGavin Andresen
2011-12-01Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen
attacks