aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Explicitly set tx.nVersion for the genesis block and mining testsMark Friedenbach2015-06-021-0/+1
| | | | If/when CTransaction::CURRENT_VERSION is incremented, this will break CChainParams and the miner tests. This fix sets the transaction version explicitly where we depend on the hash value (genesis block, proof of work checks).
* Trivial: Corrected owner of DNS seederayeowch2015-05-141-1/+1
|
* Merge pull request #6055Wladimir J. van der Laan2015-05-061-57/+37
|\ | | | | | | | | | | | | 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: make checkpoints a member of CChainParamsCory Fields2015-04-301-57/+37
| | | | | | | | This drops the virtual call and simplifies the logic
| * checkpoints: store mapCheckpoints in CCheckpointData rather than a pointerCory Fields2015-04-301-3/+3
| |
* | Merge pull request #6080Wladimir J. van der Laan2015-05-051-0/+1
|\ \ | | | | | | | | | 1a0259f add jonasschnellis dns seeder (Jonas Schnelli)
| * | add jonasschnellis dns seederJonas Schnelli2015-04-291-0/+1
| | |
* | | Merge pull request #6085Wladimir J. van der Laan2015-05-041-4/+5
|\ \ \ | |_|/ |/| | | | | | | | b05a89b Non-grammatical language improvements (Luke Dashjr) 7e6d23b Bugfix: Grammar fixes (Corinne Dashjr)
| * | Non-grammatical language improvementsLuke Dashjr2015-05-021-4/+5
| |/
* / chainparams: use SeedSpec6's rather than CAddress's for fixed seedsCory Fields2015-04-241-27/+2
|/ | | | This negates the need for CAddress here at all
* Add block pruning functionalitymrbandrews2015-04-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | This adds a -prune=N option to bitcoind, which if set to N>0 will enable block file pruning. When pruning is enabled, block and undo files will be deleted to try to keep total space used by those files to below the prune target (N, in MB) specified by the user, subject to some constraints: - The last 288 blocks on the main chain are always kept (MIN_BLOCKS_TO_KEEP), - N must be at least 550MB (chosen as a value for the target that could reasonably be met, with some assumptions about block sizes, orphan rates, etc; see comment in main.h), - No blocks are pruned until chainActive is at least 100,000 blocks long (on mainnet; defined separately for mainnet, testnet, and regtest in chainparams as nPruneAfterHeight). This unsets NODE_NETWORK if pruning is enabled. Also included is an RPC test for pruning (pruning.py). Thanks to @rdponticelli for earlier work on this feature; this is based in part off that work.
* Add operator names to DNS Seed listMichael Ford2015-04-201-5/+5
|
* consensus: don't use arith_uint256 in consensus.hCory Fields2015-04-101-2/+2
| | | | Requiring arith_uint256 at such a base level is not good for modularity.
* Add a consistency check for the block chain data structuresPieter Wuille2015-03-271-3/+3
| | | | | | This adds a -checkblockindex (defaulting to true for regtest), which occasionally does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and mapBlocksUnlinked.
* Consensus: Refactor: Introduce Consensus::Params classJorge Timón2015-03-251-28/+23
|
* test: remove fSkipProofOfWorkWladimir J. van der Laan2015-03-091-1/+0
| | | | | Not used, and REGTEST already allows creating blocks at the lowerst possible difficulty.
* test: Remove UNITTEST paramsWladimir J. van der Laan2015-03-091-45/+0
| | | | | | | | | UNITTEST parameter are not used by any current tests, and the model (modifyable parameters) is inconvenient when unit-testing. As they are stored in a global structure eevery test would have to (re)set up its own parameters. For consistency it is also better to test with MAIN parameters.
* build: fix newer boost build with c++11Cory Fields2015-02-031-10/+10
|
* Merge pull request #5513Wladimir J. van der Laan2015-01-061-11/+10
|\ | | | | | | | | | | 856e862 namespace: drop most boost namespaces and a few header cleanups (Cory Fields) 9b1ab86 namespace: drop boost::assign altogether here (Cory Fields) a324199 namespace: remove boost namespace pollution (Cory Fields)
| * namespace: drop most boost namespaces and a few header cleanupsCory Fields2015-01-021-11/+10
| | | | | | | | A few boost::asio were left around because they're very wordy otherwise.
* | Merge pull request #5598Wladimir J. van der Laan2015-01-061-4/+0
|\ \ | | | | | | | | | eb0d34b Remove unused chainparam networkID (jtimon)
| * | Remove unused chainparam networkIDjtimon2014-12-111-4/+0
| | |
* | | Use arith_uint256 where necessaryWladimir J. van der Laan2015-01-051-2/+2
| | | | | | | | | | | | Also add conversion from/to uint256 where needed.
* | | String conversions uint256 -> uint256SWladimir J. van der Laan2015-01-051-19/+19
| | | | | | | | | | | | | | | | | | | | | If uint256() constructor takes a string, uint256(0) will become dangerous when uint256 does not take integers anymore (it will go through std::string(const char*) making a NULL string, and the explicit keyword is no help).
* | | Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan2015-01-051-1/+1
| |/ |/| | | | | | | | | Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
* | Remove bitnodes.io from dnsseeds.Gregory Maxwell2014-12-271-1/+0
| | | | | | | | I'm not comfortable with retaining this entry.
* | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
|/ | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove misleading comment about testnet's message string.Pavel Janík2014-11-221-5/+0
|
* The first thing that SelectParams does is call SelectBaseParams. Therefore, ↵mruddy2014-11-041-1/+0
| | | | we do not need to call SelectBaseParams immediately prior to calling SelectParams.
* Update comments in chainparams to be doxygen compatibleMichael Ford2014-10-251-42/+49
|
* Clear vFixedSeeds for regtest networkWladimir J. van der Laan2014-10-241-0/+1
| | | | | | It shouldn't inherit these from testnet. (seems to be already done for unit test network but forgotten here...) Fixes #5127.
* Merge pull request #4981Wladimir J. van der Laan2014-10-221-0/+1
|\ | | | | | | | | | | | | 85c579e script: add a slew of includes all around and drop includes from script.h (Cory Fields) db8eb54 script: move ToString and ValueString out of the header (Cory Fields) e9ca428 script: add ToByteVector() for converting anything with begin/end (Cory Fields) 066e2a1 script: move CScriptID to standard.h and add a ctor for creating them from CScripts (Cory Fields)
| * script: add a slew of includes all around and drop includes from script.hCory Fields2014-10-171-0/+1
| | | | | | | | Lots of files ended up with indirect includes from script.h.
* | Merge pull request #4804 from jtimon/chainparams3Wladimir J. van der Laan2014-10-171-3/+6
|\ \ | |/ |/| Remove CBaseChainParams::NetworkID()
| * squashme on 3fdb9e8c (Bluematt's bikeshedding)jtimon2014-10-161-1/+1
| |
| * SQUASHME: NetworkIdFromCommandLine() function instead of methodjtimon2014-10-101-1/+1
| |
| * Remove CBaseChainParams::NetworkID()jtimon2014-09-211-3/+6
| |
* | Add fTestnetToBeDeprecatedFieldRPC to CChainParamsjtimon2014-10-101-0/+3
| |
* | Move checkpoint data selection to chainparamsjtimon2014-10-101-1/+71
| |
* | Avoid introducing a virtual into CChainParamsWladimir J. van der Laan2014-10-021-4/+1
| | | | | | | | Treat fSkipProofOfWorkCheck the same as other parameters.
* | Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner2014-10-021-0/+44
| | | | | | | | 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-41/+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.
* | Avoid introducing a virtual into CChainParamsWladimir J. van der Laan2014-09-291-4/+1
| | | | | | | | Treat fSkipProofOfWorkCheck the same as other parameters.
* | Suggested corrections on comments, variable names.SergioDemianLerner2014-09-291-4/+4
| | | | | | | | Also new test case testing the PoW skip in UNITTEST.
* | Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner2014-09-291-0/+44
|/ | | | UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
* Merge pull request #4623Wladimir J. van der Laan2014-09-101-9/+10
|\ | | | | | | e84843c Broken addresses on command line no longer trigger testnet. (Ross Nicoll)
| * Broken addresses on command line no longer trigger testnet.Ross Nicoll2014-08-301-9/+10
| | | | | | | | | | When passing a bitcoin: URI on the command line, invalid addresses do not incorrectly send the user to the test network.
* | Add testnet DNS seed of Andreas Schildbach.Andreas Schildbach2014-09-071-0/+1
| | | | | | | | It runs sipas crawler, but rather than using its custom nameserver implementation it serves a generated zonefile via bind9. The zone always contains 25 IPv4 and 25 IPv6 peers. FWIW, the zone is secured using DNSSEC.
* | Remove DNS Seeds run by entities which were never well-established.Matt Corallo2014-09-031-1/+0
| |
* | cleanup include of assert.hPhilip Kaufmann2014-08-281-1/+2
|/