aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
AgeCommit message (Collapse)Author
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.