aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Set jonasschnellis dns-seeder filter flagJonas Schnelli2016-08-241-1/+1
|
* Merge #8391: Consensus: Remove ISMWladimir J. van der Laan2016-08-041-10/+7
|\ | | | | | | 122786d Consensus: Remove ISM (NicolasDorier)
| * Consensus: Remove ISMNicolasDorier2016-07-231-10/+7
| |
* | Allow changing BIP9 parameters on regtestSuhas Daftuar2016-07-291-0/+11
|/
* Merge #8149: Segregated witness rebasedWladimir J. van der Laan2016-06-241-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f852813 BIP9 parameters for testnet (Johnson Lau) 070dbc4 --- [SEGWIT] begin: deployment --- (Pieter Wuille) fdb43df [qa] Add GetTransactionSigOpCost unit tests (Jonas Nick) d846e02 [qa] script_tests: witness tests can specify tx amount (Suhas Daftuar) 330b0f3 [qa] p2p segwit tests (Suhas Daftuar) 4f7ff00 [qa] Add rpc test for segwit (Alex Morcos) 66cca79 [qa] Autogeneration support for witness in script_tests (Pieter Wuille) 06d3805 [qa] Add segwit support to script_tests (Pieter Wuille) 00f46cb [qa] Add transaction tests for segwit (NicolasDorier) 0aa9207 [qa] Witness version 0 signing unit tests (Pieter Wuille) 978e200 --- [SEGWIT] begin: tests --- (Pieter Wuille) 745eb67 [RPC] signrawtransaction can sign P2WSH (NicolasDorier) f4691ab [RPC] Add wallet support for witness transactions (using P2SH) (Pieter Wuille) 605e847 BIP143: Signing logic (Pieter Wuille) 9757b57 --- [SEGWIT] begin: wallet --- (Pieter Wuille) af87a67 Do not use compact blocks when segwit is enabled (Pieter Wuille) 6032f69 Add rewind logic to deal with post-fork software updates (Pieter Wuille) b7dbeb2 [libconsensus] Script verification API with amounts (Thomas Kerin) 2b1f6f9 BIP141: Other consensus critical limits, and BIP145 (Pieter Wuille) 7c4bf77 [RPC] Return witness data in blockchain RPCs (Johnson Lau) 3dd4102 BIP143: Verification logic (Pieter Wuille) 0ef1dd3 Refactor script validation to observe amounts (Pieter Wuille) b8a9749 BIP144: Handshake and relay (receiver side) (Pieter Wuille) 8b49040 BIP141: Commitment structure and deployment (Pieter Wuille) 449f9b8 BIP141: Witness program (Pieter Wuille) 7030d9e BIP144: Serialization, hashes, relay (sender side) (Pieter Wuille) ecacfd9 --- [SEGWIT] begin: P2P/node/consensus --- (Pieter Wuille)
| * BIP9 parameters for testnetJohnson Lau2016-06-221-2/+2
| |
| * BIP141: Commitment structure and deploymentPieter Wuille2016-06-221-0/+14
| | | | | | | | Includes a fix by Suhas Daftuar and LongShao007
* | Mark my dnsseed as supporting filteringPieter Wuille2016-06-231-1/+1
| |
* | Merge #8204: Update petertodd's testnet seedWladimir J. van der Laan2016-06-231-1/+1
|\ \ | |/ |/| | | d80efec Update petertodd's testnet seed (Peter Todd)
| * Update petertodd's testnet seedPeter Todd2016-06-151-1/+1
| | | | | | | | New seed with servicebit filtering support.
* | Do not set extra flags for unfiltered DNS seed resultsPieter Wuille2016-06-151-8/+0
|/
* Add support for dnsseeds with option to filter by servicebitsJonas Schnelli2016-05-251-0/+10
|
* [doc] Fix doxygen comments for membersMarcoFalke2016-04-031-2/+2
|
* Merge #7648: BIP9 versionbits softfork for BIP68, BIP112 and BIP113Wladimir J. van der Laan2016-03-301-1/+16
|\ | | | | | | | | | | | | | | | | 71527a0 Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier) 19d73d5 Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos) 12c89c9 Policy: allow transaction version 2 relay policy. (BtcDrak) 02c2435 Soft fork logic for BIP68 (BtcDrak) 478fba6 Soft fork logic for BIP113 (BtcDrak) 65751a3 Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
| * Add CHECKSEQUENCEVERIFY softfork through BIP9Pieter Wuille2016-03-181-1/+16
| |
* | Remove alert keysBtcDrak2016-03-181-2/+0
|/
* Add testing of ComputeBlockVersionSuhas Daftuar2016-03-151-0/+9
|
* BIP9 ImplementationPieter Wuille2016-03-151-0/+6
| | | | | Inspired by former implementations by Eric Lombrozo and Rusty Russell, and based on code by Jorge Timon.
* Merge pull request #7208Wladimir J. van der Laan2016-01-181-3/+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-3/+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.
* | Merge pull request #7205Wladimir J. van der Laan2016-01-051-1/+1
|\ \ | | | | | | | | | | | | | | | fa71669 [devtools] Use git pretty-format for year parsing (MarcoFalke) fa24439 Bump copyright headers to 2015 (MarcoFalke) fa6ad85 [devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
| * | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |/
* / Removed offline testnet DNSSeed 'alexykot.me'.Elias Rohrer2015-12-151-1/+0
|/
* Switch blocks to a constant-space Merkle root/branch algorithm.Pieter Wuille2015-11-271-1/+2
| | | | | | | | | | | This switches the Merkle tree logic for blocks to one that runs in constant (small) space. The old code is moved to tests, and a new test is added that for various combinations of block sizes, transaction positions to compute a branch for, and mutations: * Verifies that the old code and new code agree for the Merkle root. * Verifies that the old code and new code agree for the Merkle branch. * Verifies that the computed Merkle branch is valid. * Verifies that mutations don't change the Merkle root. * Verifies that mutations are correctly detected.
* Make skipping BIP30 check chain agnosticAlex Morcos2015-11-021-0/+6
|
* Merge pull request #6235Wladimir J. van der Laan2015-10-201-20/+10
|\ | | | | | | | | 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-10/+0
| | | | | | | | Also remove SelectBaseParamsFromCommandLine and SelectParamsFromCommandLine
| * Chainparams: Replace CBaseChainParams::Network enum with string constants ↵Jorge Timón2015-10-201-11/+11
| | | | | | | | (suggested by Wladimir)
* | Added fPowNoRetargeting field to Consensus::Params that disables nBits ↵Eric Lombrozo2015-10-191-0/+3
| | | | | | | | recalculation.
* | Merge pull request #5987Wladimir J. van der Laan2015-10-011-0/+3
|\ \ | | | | | | | | | 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/+3
| | | | | | | | | | | | testnet-in-a-box use case)
* | | Do not store Merkle branches in the wallet.Pieter Wuille2015-09-221-1/+1
| |/ |/| | | | | | | | | | | | | | | | | Assume that when a wallet transaction has a valid block hash and transaction position in it, the transaction is actually there. We're already trusting wallet data in a much more fundamental way anyway. To prevent backward compatibility issues, a new record is used for storing the block locator in the wallet. Old wallets will see a wallet file synchronized up to the genesis block, and rescan automatically.
* | Merge pull request #6242Wladimir J. van der Laan2015-08-201-6/+4
|\ \ | |/ |/| | | | | 17221bf chainparams: don't use std namespace (Cory Fields) f0deec5 chainparams: move CCheckpointData into chainparams.h (Cory Fields)
| * chainparams: don't use std namespaceCory Fields2015-07-281-3/+1
| |
| * chainparams: move CCheckpointData into chainparams.hCory Fields2015-07-281-3/+3
| | | | | | | | | | This unties CChainParams from its dependency on checkpoints. Instead, now it only depends on the raw checkpoint data.
* | Clean up chainparams some more.Daniel Kraft2015-07-291-8/+12
|/ | | | | | | | | | Clean up the code in chainparams a bit more after the recent refactorings. In particular, make sure the structure of the "RegTest" params matches the structure of the other classes. This makes the code clearer to read. Also remove redundant values of the genesis block in always-specified optional arguments and mark variable/argument as "const".
* Merge pull request #6381Wladimir J. van der Laan2015-07-211-35/+56
|\ | | | | | | | | c4973aa Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams (Jorge Timón) d3cf546 Chainparams: Introduce CreateGenesisBlock() static function (Jorge Timón)
| * Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParamsJorge Timón2015-07-121-8/+16
| | | | | | | | | | | | | | ...instead of CMainParams and CTestNetParams respectively Do the same for CBaseChainParams. The inheritance was only reducing readibility in this case
| * Chainparams: Introduce CreateGenesisBlock() static functionJorge Timón2015-07-121-27/+40
| |
* | Merge pull request #6398Wladimir J. van der Laan2015-07-131-3/+0
|\ \ | |/ |/| | | 85ee55b rpc: Remove chain-specific RequireRPCPassword (Wladimir J. van der Laan)
| * rpc: Remove chain-specific RequireRPCPasswordWladimir J. van der Laan2015-07-101-3/+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.
* 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)