aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
AgeCommit message (Collapse)Author
2015-03-27Add a consistency check for the block chain data structuresPieter Wuille
This adds a -checkblockindex (defaulting to true for regtest), which occasionally does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and mapBlocksUnlinked.
2014-12-03MOVEONLY: core/ -> primitives/Luke Dashjr
2014-11-03Fix all header definesPavel Janík
2014-10-30Merge pull request #5142Wladimir J. van der Laan
02fe12d Update generate-seeds.py to produce doxygen compatible comments (Michael Ford) f2e03ff Update comments in chainparams to be doxygen compatible (Michael Ford) 2fdc335 Update comments in chain to be doxygen compatible (Michael Ford)
2014-10-27MOVEONLY: core.o -> core/block.ojtimon
2014-10-25Update comments in chainparams to be doxygen compatibleMichael Ford
2014-10-10Remove CChainParams::NetworkID()jtimon
2014-10-10Add fTestnetToBeDeprecatedFieldRPC to CChainParamsjtimon
2014-10-10Move checkpoint data selection to chainparamsjtimon
2014-10-02Avoid introducing a virtual into CChainParamsWladimir J. van der Laan
Treat fSkipProofOfWorkCheck the same as other parameters.
2014-10-02Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
2014-10-02Revert merge of pull #4845Wladimir J. van der Laan
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.
2014-09-29Avoid introducing a virtual into CChainParamsWladimir J. van der Laan
Treat fSkipProofOfWorkCheck the same as other parameters.
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-10Merge pull request #4623Wladimir J. van der Laan
e84843c Broken addresses on command line no longer trigger testnet. (Ross Nicoll)
2014-08-30Broken addresses on command line no longer trigger testnet.Ross Nicoll
When passing a bitcoin: URI on the command line, invalid addresses do not incorrectly send the user to the test network.
2014-08-28add missing header end commentsPhilip Kaufmann
- 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
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-06-23move pow constants to chainparamsjtimon
2014-06-17Get rid of Params().RPCisTestNet()jtimon
2014-06-16Remove `using namespace std` from header fileWladimir J. van der Laan
It's considered bad form to import things into the global namespace in a header. Put it in the cpp files where it is needed instead.
2014-06-12add NetworkIDString() to chainparamsPhilip Kaufmann
- returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
2014-06-10remove wrong ; in chainparams.h and order includesPhilip Kaufmann
2014-06-04Replace virtual methods with static attributes, chainparams.h depends onjtimon
protocol.h instead of the other way around
2014-06-04Get rid of TestNet()jtimon
2014-06-04Add RPCisTestNet chain parameterjtimon
2014-06-04Add RequireStandard chain parameterjtimon
2014-06-04Add AllowMinDifficultyBlocks chain parameterjtimon
2014-06-04Move majority constants to chainparamsjtimon
2014-06-04Get rid of RegTest()jtimon
2014-06-04Add DefaultCheckMemPool chain parameterjtimon
2014-06-04Add DefaultMinerThreads chain parameterjtimon
2014-06-04Add MineBlocksOnDemand chain parameterjtimon
2014-06-04Add MiningRequiresPeers chain parameterjtimon
2014-05-09Reduce bignum.h now it is only needed for scriptnum_testsPieter Wuille
2014-05-09Move {Get,Set}Compact from bignum to uint256Pieter Wuille
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-15misc spelling / space / style fixesPhilip Kaufmann
2013-08-22GetDataDir(): cache paths for each network separatelyGavin Andresen
2013-08-15Merge pull request #2876 from sipa/fixreorgcrashGavin Andresen
Fix reorganization crash
2013-08-15Mempool consistency checkPieter Wuille
2013-07-15BIP32 derivation implementationPieter Wuille
2013-06-24Generalize version bytesPieter Wuille
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.