mruddy
0d91ae308c
The first thing that SelectParams does is call SelectBaseParams. Therefore, we do not need to call SelectBaseParams immediately prior to calling SelectParams.
10 years ago
Michael Ford
f2e03ffae9
Update comments in chainparams to be doxygen compatible
10 years ago
Wladimir J. van der Laan
7c0f36c431
Clear vFixedSeeds for regtest network
...
It shouldn't inherit these from testnet.
(seems to be already done for unit test network but forgotten here...)
Fixes #5127 .
10 years ago
Cory Fields
85c579e3a6
script: add a slew of includes all around and drop includes from script.h
...
Lots of files ended up with indirect includes from script.h.
10 years ago
jtimon
ca3ce0fa03
squashme on 3fdb9e8c
(Bluematt's bikeshedding)
10 years ago
jtimon
b796cb084b
SQUASHME: NetworkIdFromCommandLine() function instead of method
10 years ago
jtimon
cc97210799
Add fTestnetToBeDeprecatedFieldRPC to CChainParams
10 years ago
jtimon
e11712df7e
Move checkpoint data selection to chainparams
10 years ago
Wladimir J. van der Laan
fbd36d8fb5
Avoid introducing a virtual into CChainParams
...
Treat fSkipProofOfWorkCheck the same as other parameters.
10 years ago
SergioDemianLerner
f0fd00cb77
Switch testing framework from MAIN to new UNITTEST network
...
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
10 years ago
Wladimir J. van der Laan
8d132431b4
Revert merge of pull #4845
...
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 4705902777
, 5e2e7fcb99
, a25fd6be13
.
10 years ago
Wladimir J. van der Laan
4705902777
Avoid introducing a virtual into CChainParams
...
Treat fSkipProofOfWorkCheck the same as other parameters.
10 years ago
SergioDemianLerner
5e2e7fcb99
Suggested corrections on comments, variable names.
...
Also new test case testing the PoW skip in UNITTEST.
10 years ago
SergioDemianLerner
a25fd6be13
Switch testing framework from MAIN to new UNITTEST network
...
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
10 years ago
jtimon
3fdb9e8c15
Remove CBaseChainParams::NetworkID()
10 years ago
Andreas Schildbach
45a4baf100
Add testnet DNS seed of 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.
10 years ago
Matt Corallo
550d4fa7a7
Remove DNS Seeds run by entities which were never well-established.
10 years ago
Ross Nicoll
e84843c0db
Broken addresses on command line no longer trigger testnet.
...
When passing a bitcoin: URI on the command line, invalid addresses do not incorrectly send the
user to the test network.
10 years ago
Philip Kaufmann
187115c01d
cleanup include of assert.h
10 years ago
Wladimir J. van der Laan
a60120e951
Add built-in seeds for .onion
...
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.
10 years ago
Philip Kaufmann
6354935c48
move rand functions from util to new random.h/.cpp
11 years ago
Wladimir J. van der Laan
84ce18ca93
Remove unnecessary dependencies for bitcoin-cli
...
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.
11 years ago
jtimon
fd704c7b2c
move pow constants to chainparams
11 years ago
Pieter Wuille
4949004d68
Add CMutableTransaction and make CTransaction immutable.
...
In addition, introduce a cached hash inside CTransaction, to prevent
recalculating it over and over again.
11 years ago
jtimon
b82b7ec3dc
Get rid of Params().RPCisTestNet()
11 years ago
Wladimir J. van der Laan
09eb201b1b
Remove `using namespace std` from header file
...
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.
11 years ago
kevin
33cc907dfb
Add DNS seed of open-nodes.org
11 years ago
Philip Kaufmann
f5ae6c9826
add NetworkIDString() to chainparams
...
- returns the BIP70 network string
- use that new function in the core and GUI code and remove unused code
and functions
11 years ago
Andreas Schildbach
c30329adfa
Add testnet DNS seed of Alex Kotenko.
11 years ago
jtimon
c8c52de3a0
Replace virtual methods with static attributes, chainparams.h depends on
...
protocol.h instead of the other way around
11 years ago
jtimon
6fc0fa63d9
Add RPCisTestNet chain parameter
11 years ago
jtimon
cfeb8235fd
Add RequireStandard chain parameter
11 years ago
jtimon
21913a9ac9
Add AllowMinDifficultyBlocks chain parameter
11 years ago
jtimon
d754f34e8d
Move majority constants to chainparams
11 years ago
jtimon
cb9bd83bba
Add DefaultCheckMemPool chain parameter
11 years ago
jtimon
2595b9ac23
Add DefaultMinerThreads chain parameter
11 years ago
jtimon
bfa9a1a638
Add MineBlocksOnDemand chain parameter
11 years ago
jtimon
1712adbe0b
Add MiningRequiresPeers chain parameter
11 years ago
Pieter Wuille
df9eb5e14f
Move {Get,Set}Compact from bignum to uint256
11 years ago
Cory Fields
4f497cd97d
script: switch outside users to CScriptNum
11 years ago
Addy Yeow
89d72f3d9b
Add new DNS seed from bitnodes.io.
11 years ago
gubatron
57702541a2
Copyright header updates s/2013/2014 on files whose last git commit was done in 2014.
...
contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
11 years ago
Gavin Andresen
e5aadb25c5
Updated fallback seed nodes from sipa's DNS seeds
11 years ago
Christian Decker
cdc11b3228
Added new DNS seed from bitcoinstats.com.
11 years ago
Brandon Dahler
51ed9ec971
Cleanup code using forward declarations.
...
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.
11 years ago
super3
db0e8ccd90
Bump Year Number to 2013
11 years ago
Roman Mindalev
2b6a8993fb
Add missing 0x prefix in chainparams.cpp
11 years ago
Pieter Wuille
eb2c999050
BIP32 derivation implementation
12 years ago
Jeff Garzik
79f6925fac
main.h->core.h include dependency improvements.
12 years ago
Pieter Wuille
8388289eb6
Generalize version bytes
12 years ago