aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
AgeCommit message (Collapse)Author
2015-02-03build: fix newer boost build with c++11Cory Fields
2015-01-06Merge pull request #5513Wladimir J. van der Laan
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)
2015-01-06Merge pull request #5598Wladimir J. van der Laan
eb0d34b Remove unused chainparam networkID (jtimon)
2015-01-05Use arith_uint256 where necessaryWladimir J. van der Laan
Also add conversion from/to uint256 where needed.
2015-01-05String conversions uint256 -> uint256SWladimir J. van der Laan
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).
2015-01-05Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan
Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
2015-01-02namespace: drop most boost namespaces and a few header cleanupsCory Fields
A few boost::asio were left around because they're very wordy otherwise.
2014-12-27Remove bitnodes.io from dnsseeds.Gregory Maxwell
I'm not comfortable with retaining this entry.
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-11Remove unused chainparam networkIDjtimon
2014-11-22Remove misleading comment about testnet's message string.Pavel Janík
2014-11-04The first thing that SelectParams does is call SelectBaseParams. Therefore, ↵mruddy
we do not need to call SelectBaseParams immediately prior to calling SelectParams.
2014-10-25Update comments in chainparams to be doxygen compatibleMichael Ford
2014-10-24Clear vFixedSeeds for regtest networkWladimir J. van der Laan
It shouldn't inherit these from testnet. (seems to be already done for unit test network but forgotten here...) Fixes #5127.
2014-10-22Merge pull request #4981Wladimir J. van der Laan
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)
2014-10-17script: add a slew of includes all around and drop includes from script.hCory Fields
Lots of files ended up with indirect includes from script.h.
2014-10-17Merge pull request #4804 from jtimon/chainparams3Wladimir J. van der Laan
Remove CBaseChainParams::NetworkID()
2014-10-16squashme on 3fdb9e8c (Bluematt's bikeshedding)jtimon
2014-10-10SQUASHME: NetworkIdFromCommandLine() function instead of methodjtimon
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-29Suggested corrections on comments, variable names.SergioDemianLerner
Also new test case testing the PoW skip in UNITTEST.
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-21Remove CBaseChainParams::NetworkID()jtimon
2014-09-10Merge pull request #4623Wladimir J. van der Laan
e84843c Broken addresses on command line no longer trigger testnet. (Ross Nicoll)
2014-09-07Add testnet DNS seed of Andreas Schildbach.Andreas Schildbach
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.
2014-09-03Remove DNS Seeds run by entities which were never well-established.Matt Corallo
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-28cleanup include of assert.hPhilip Kaufmann
2014-08-03Add built-in seeds for .onionWladimir J. van der Laan
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.
2014-07-14Merge pull request #4400Wladimir J. van der Laan
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)
2014-07-09Merge pull request #4340Wladimir J. van der Laan
33cc907 Add DNS seed of open-nodes.org (kevin)
2014-07-09move rand functions from util to new random.h/.cppPhilip Kaufmann
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-21Add CMutableTransaction and make CTransaction immutable.Pieter Wuille
In addition, introduce a cached hash inside CTransaction, to prevent recalculating it over and over again.
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-15Add DNS seed of open-nodes.orgkevin
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-12Add testnet DNS seed of Alex Kotenko.Andreas Schildbach
2014-06-04Replace virtual methods with static attributes, chainparams.h depends onjtimon
protocol.h instead of the other way around
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