aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|/
* Add built-in seeds for .onionWladimir J. van der Laan2014-08-031-91/+27
| | | | | | | | | This makes it possible for a node with `-onlynet=tor` to bootstrap itself. It also adds the base infrastructure for adding IPv6 seed nodes. Also represent IPv4 fixed seed addresses in 16-byte format.
* Merge pull request #4400Wladimir J. van der Laan2014-07-141-0/+1
|\ | | | | | | | | | | 4eedf4f make RandAddSeed() use OPENSSL_cleanse() (Philip Kaufmann) 6354935 move rand functions from util to new random.h/.cpp (Philip Kaufmann) 001a53d add GetRandBytes() as wrapper for RAND_bytes() (Philip Kaufmann)
| * move rand functions from util to new random.h/.cppPhilip Kaufmann2014-07-091-0/+1
| |
* | Merge pull request #4340Wladimir J. van der Laan2014-07-091-0/+1
|\ \ | |/ |/| | | 33cc907 Add DNS seed of open-nodes.org (kevin)
| * Add DNS seed of open-nodes.orgkevin2014-06-151-0/+1
| |
* | Remove unnecessary dependencies for bitcoin-cliWladimir J. van der Laan2014-06-251-24/+12
| | | | | | | | | | | | | | | | | | 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/+7
| |
* | Add CMutableTransaction and make CTransaction immutable.Pieter Wuille2014-06-211-1/+1
| | | | | | | | | | In addition, introduce a cached hash inside CTransaction, to prevent recalculating it over and over again.
* | Get rid of Params().RPCisTestNet()jtimon2014-06-171-3/+0
| |
* | Remove `using namespace std` from header fileWladimir J. van der Laan2014-06-161-0/+1
| | | | | | | | | | 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
* Add testnet DNS seed of Alex Kotenko.Andreas Schildbach2014-06-121-0/+1
|
* Replace virtual methods with static attributes, chainparams.h depends onjtimon2014-06-041-25/+26
| | | | protocol.h instead of the other way around
* Add RPCisTestNet chain parameterjtimon2014-06-041-0/+1
|
* Add RequireStandard chain parameterjtimon2014-06-041-0/+2
|
* Add AllowMinDifficultyBlocks chain parameterjtimon2014-06-041-0/+2
|