aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove unnecessary dependencies for bitcoin-cliWladimir J. van der Laan2014-06-251-15/+4
| | | | | | | | | 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.
* move pow constants to chainparamsjtimon2014-06-231-0/+5
|
* Get rid of Params().RPCisTestNet()jtimon2014-06-171-3/+0
|
* Remove `using namespace std` from header fileWladimir J. van der Laan2014-06-161-12/+10
| | | | | 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.
* add NetworkIDString() to chainparamsPhilip Kaufmann2014-06-121-0/+3
| | | | | | - returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
* remove wrong ; in chainparams.h and order includesPhilip Kaufmann2014-06-101-2/+2
|
* Replace virtual methods with static attributes, chainparams.h depends onjtimon2014-06-041-15/+23
| | | | protocol.h instead of the other way around
* Get rid of TestNet()jtimon2014-06-041-5/+0
|
* Add RPCisTestNet chain parameterjtimon2014-06-041-0/+2
|
* Add RequireStandard chain parameterjtimon2014-06-041-0/+2
|
* Add AllowMinDifficultyBlocks chain parameterjtimon2014-06-041-0/+2
|
* Move majority constants to chainparamsjtimon2014-06-041-0/+8
|
* Get rid of RegTest()jtimon2014-06-041-4/+0
|
* Add DefaultCheckMemPool chain parameterjtimon2014-06-041-0/+2
|
* Add DefaultMinerThreads chain parameterjtimon2014-06-041-0/+3
|
* Add MineBlocksOnDemand chain parameterjtimon2014-06-041-0/+3
|
* Add MiningRequiresPeers chain parameterjtimon2014-06-041-0/+2
|
* Reduce bignum.h now it is only needed for scriptnum_testsPieter Wuille2014-05-091-1/+0
|
* Move {Get,Set}Compact from bignum to uint256Pieter Wuille2014-05-091-2/+2
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-1/+0
| | | | | | | | | 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.
* misc spelling / space / style fixesPhilip Kaufmann2013-10-151-1/+1
|
* GetDataDir(): cache paths for each network separatelyGavin Andresen2013-08-221-0/+2
|
* Merge pull request #2876 from sipa/fixreorgcrashGavin Andresen2013-08-151-0/+4
|\ | | | | Fix reorganization crash
| * Mempool consistency checkPieter Wuille2013-08-151-0/+4
| |
* | BIP32 derivation implementationPieter Wuille2013-07-151-0/+2
| |
* | Generalize version bytesPieter Wuille2013-06-241-2/+2
|/
* Introduce a CChainParameters singleton class and regtest mode.Mike Hearn2013-06-191-0/+102
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.