aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
Commit message (Collapse)AuthorAgeFilesLines
* implements different disk sizes for different networks on intromarcoagner2018-10-071-0/+6
| | | | | | | - Creates m_assumed_blockchain_size and m_assumed_chain_state_size on CChainParams. - Implements access to CChainParams' m_assumed_blockchain_size and m_assumed_chain_state_size on node interface. - Implements m_assumed_blockchain_size and m_assumed_chain_state_size on qt/intro via node interface. - Updates release process document with the new CChainParam's values.
* Don't edit Chainparams after initializationJorge Timón2018-09-231-7/+1
|
* Merge #13780: 0.17: Pre-branch maintenanceWladimir J. van der Laan2018-08-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3fc20632a3ad30809356a58d2cf0ea4a4ad4cec3 qt: Set BLOCK_CHAIN_SIZE = 220 (DrahtBot) 2b6a2f4a28792f2fe9dc1be843b1ff1ecae35e8a Regenerate manpages (DrahtBot) eb7daf4d600eeb631427c018a984a77a34aca66e Update copyright headers to 2018 (DrahtBot) Pull request description: Some trivial maintenance to avoid having to do it again after the 0.17 branch off. (The scripts to do this are in `./contrib/`) Tree-SHA512: 16b2af45e0351b1c691c5311d48025dc6828079e98c2aa2e600dc5910ee8aa01858ca6c356538150dc46fe14c8819ed8ec8e4ec9a0f682b9950dd41bc50518fa
| * Update copyright headers to 2018DrahtBot2018-07-271-1/+1
| |
* | chainparams: Update with data from assumed valid chainMarcoFalke2018-07-291-3/+3
|/
* [doc] Add comments for chainparams.h, validation.cppJames O'Beirne2018-04-171-0/+6
|
* Disable wallet fallbackfee by default on mainnetJonas Schnelli2018-02-251-0/+3
|
* Merge #11512: Use GetDesireableServiceFlags in seeds, dnsseeds, fixing ↵Wladimir J. van der Laan2018-01-241-8/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | static seed adding 2b839ab Update chainparams comment for more info on service bits per dnsseed (Matt Corallo) 62e7642 Fall back to oneshot for DNS Seeds which don't support filtering. (Matt Corallo) 51ae766 Use GetDesireableServiceFlags in static seeds, document this. (Matt Corallo) fb6f6b1 bluematt's testnet-seed now supports x9 (and is just a static list) (Matt Corallo) Pull request description: 4440710 broke inserting entries into addrman from dnsseeds which did not support service bits, as well as static seeds. Static seeds were already being filtered by UA for 0.13.1+ (ie NODE_WITNESS), so simply changing the default service bits to include NODE_WITNESS (and updating docs appropriately) is sufficient. For DNS Seeds, not supporting NODE_WITNESS is no longer useful, so instead use non-filtering seeds as oneshot hosts irrespective of named proxy. I've set my testnet-seed to also support x9, though because it is simply a static host, it may be useful to leave the support off so that it is used as a oneshot to get addresses from a live node instead. I'm fine with either. Tree-SHA512: 3f17d4d2b0b84d876981c962d2b44cb0c8f95f52c56a48c6b35fd882f6d7a40805f320ec452985a1c0b34aebddb1922709156c3ceccd1b9f8363fd7cb537d21d
| * Fall back to oneshot for DNS Seeds which don't support filtering.Matt Corallo2018-01-191-8/+3
| | | | | | | | | | | | | | This allows us to not have to update the chainparams whenever a DNS Seed changes its filtering support, as well fixes a bug introduced in 44407100f where returned nodes will never be attempted.
* | Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|/
* scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
* Implement BIP173 addresses and testsPieter Wuille2017-09-281-0/+2
|
* chainparams: make supported service bits option explicitCory Fields2017-06-221-1/+1
|
* net: switch to dummy internal ip for dns seed sourceCory Fields2017-06-141-2/+2
| | | | This addresss the TODO to avoid resolving twice.
* Rename -bip9params to -vbparamsshaolinfry2017-05-301-3/+3
|
* Chainparams: Get rid of CChainParams& Params(std::string)Jorge Timón2017-05-031-5/+0
|
* Chainparams: Use a regular factory for creating chainparamsJorge Timón2017-05-031-2/+11
|
* Remove unused codepracticalswift2017-03-171-3/+0
|
* Shorten variable names and switch to tx/sPieter Wuille2017-01-111-3/+3
|
* Move tx estimation data out of CCheckPointDataPieter Wuille2017-01-041-0/+5
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPCJorge Timón2016-10-181-3/+0
|
* Allow changing BIP9 parameters on regtestSuhas Daftuar2016-07-291-0/+5
|
* Do not set extra flags for unfiltered DNS seed resultsPieter Wuille2016-06-151-3/+1
|
* Add support for dnsseeds with option to filter by servicebitsJonas Schnelli2016-05-251-2/+5
|
* Remove alert keysBtcDrak2016-03-181-3/+0
|
* Merge pull request #7208Wladimir J. van der Laan2016-01-181-2/+0
|\ | | | | | | 64360f1 Make max tip age an option instead of chainparam (Wladimir J. van der Laan)
| * Make max tip age an option instead of chainparamWladimir J. van der Laan2015-12-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | After discussion in #7164 I think this is better. Max tip age was introduced in #5987 to make it possible to run testnet-in-a-box. But associating this behavior with the testnet chain is wrong conceptually, as it is not needed in normal usage. Should aim to make testnet test the software as-is. Replace it with a (debug) option `-maxtipage`, which can be specified only in the specific case.
* | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|/
* Trivial: Fix warning introduced by #7053 by casting to uint64_tJorge Timón2015-11-291-1/+1
|
* Merge pull request #6235Wladimir J. van der Laan2015-10-201-8/+7
|\ | | | | | | | | 55a8975 Chainparams: Translations: DRY: options and error strings (Jorge Timón) f3525e2 Chainparams: Replace CBaseChainParams::Network enum with string constants (suggested by Wladimir) (Jorge Timón)
| * Chainparams: Translations: DRY: options and error stringsJorge Timón2015-10-201-6/+0
| | | | | | | | Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
| * Chainparams: Replace CBaseChainParams::Network enum with string constants ↵Jorge Timón2015-10-201-4/+9
| | | | | | | | (suggested by Wladimir)
* | Merge pull request #5987Wladimir J. van der Laan2015-10-011-0/+2
|\ \ | |/ |/| | | e761d7a Bugfix: Allow mining on top of old tip blocks for testnet (fixes testnet-in-a-box use case) (Luke Dashjr)
| * Bugfix: Allow mining on top of old tip blocks for testnet (fixes ↵Luke Dashjr2015-09-291-0/+2
| | | | | | | | testnet-in-a-box use case)
* | chainparams: move CCheckpointData into chainparams.hCory Fields2015-07-281-3/+10
|/ | | | | This unties CChainParams from its dependency on checkpoints. Instead, now it only depends on the raw checkpoint data.
* Merge pull request #6398Wladimir J. van der Laan2015-07-131-2/+0
|\ | | | | | | 85ee55b rpc: Remove chain-specific RequireRPCPassword (Wladimir J. van der Laan)
| * rpc: Remove chain-specific RequireRPCPasswordWladimir J. van der Laan2015-07-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | I've never liked the chain-specific exception to having to set a password. It gives issues with #6388 which makes it valid to set no password in every case (as it enables random cookie authentication). This pull removes the flag, so that all chains are regarded the same. It also removes the username==password test, which doesn't provide any substantial extra security.
* | Remove ChainParams::DefaultMinerThreadsWladimir J. van der Laan2015-07-031-3/+0
|/ | | | | | No longer relevant after #5957. This hack existed because of another hack where the numthreads parameter, on regtest, doubled as how many blocks to generate.
* Chainparams: Refactor: Decouple main::GetBlockValue() from Params() [renamed ↵Jorge Timón2015-05-151-1/+0
| | | | | | GetBlockSubsidy] Remove redundant getter CChainParams::SubsidyHalvingInterval()
* Chainparams: Refactor: Decouple IsSuperMajority from Params()Jorge Timón2015-05-061-3/+0
|
* Merge pull request #6055Wladimir J. van der Laan2015-05-061-1/+2
|\ | | | | | | | | | | | | 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-1/+2
| | | | | | | | This drops the virtual call and simplifies the logic
* | Merge pull request #6085Wladimir J. van der Laan2015-05-041-3/+3
|\ \ | |/ |/| | | | | b05a89b Non-grammatical language improvements (Luke Dashjr) 7e6d23b Bugfix: Grammar fixes (Corinne Dashjr)
| * Non-grammatical language improvementsLuke Dashjr2015-05-021-1/+1
| |
| * Bugfix: Grammar fixesCorinne Dashjr2015-05-011-2/+2
| |
* | chainparams: use SeedSpec6's rather than CAddress's for fixed seedsCory Fields2015-04-241-2/+8
|/ | | | This negates the need for CAddress here at all
* Add block pruning functionalitymrbandrews2015-04-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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.
* Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getterJorge Timón2015-04-151-2/+0
|
* Merge pull request #5997Wladimir J. van der Laan2015-04-151-1/+0
|\ | | | | | | 4e38217 Chainparams: Refactor: Remove redundant HashGenesisBlock() getter (Jorge Timón)