aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
Commit message (Collapse)AuthorAgeFilesLines
* really s/Doge/Dis/g this timeTomo Ueda2021-09-021-5/+5
|
* really s/doge/dis/g this timeTomo Ueda2021-09-021-2/+2
|
* Refresh blockchain checkpointsRoss Nicoll2021-08-151-8/+9
|
* initialize fixed seedsDakoda Greaves2021-07-231-6/+2
| | | | | seed initialization was commented out on mainnet and testnet.
* Update chainparams.cpp (#1751)Carsen Klock2021-02-211-3/+0
| | | Removed Denarius (D) seeders for Dogecoin.
* Add testnet checkpointsRoss Nicoll2021-02-141-4/+13
|
* Add live checkpointsRoss Nicoll2021-02-141-5/+11
|
* Fixate BIP65 softfork heightsPatrick Lodder2021-02-131-3/+3
| | | | | | | | | - Re-introduce Params.BIP65Height - Fixate block 1854705 for testnet - Fixate block 3464751 for mainnet - Fixate block 1351 for regtest - Stop using IsSuperMajority() in validation for BIP65 - Simplify RPC SoftForkMajorityDesc
* Removed CommentsCarsen Klock2021-01-301-2/+2
| | | | | Doges, just do not forgot who made Dogecoin great again DENARIUS (D) https://denarius.io
* Added new denarius.pro seeders for DOGECarsen Klock2021-01-291-1/+4
| | | D helping D
* Added coments on chain parameters for regtestrllola2019-07-121-5/+4
|
* Update chainparams with more recent datalangerhans2019-04-141-6/+8
|
* Update miner confirmation windowRoss Nicoll2018-09-231-6/+6
| | | | | | * Update miner confirmation window to 240 for Dogecoin main net, and update related values. * Re-enable PoW tests with Dogecoin values. * Update version bit tests based on Dogecoin mining values.
* Re-introduce alert functionality (#1470)Ross Nicoll2018-09-191-0/+2
| | | Re-introduce alert functionality removed from Bitcoin upstream
* Clean up RPC tests (#1465)Ross Nicoll2018-09-191-0/+1
| | | | | | | | | | * Enable full block tests * Fix invalidblocktest * Move watch only address funding to immediately before it's used, so node 0 doesn't spend the output before it checks it later. * Fix `fundrawtransaction` tests and sanitize fee calculation at the same time * Correct resolution of chain parameters when validating tx inputs, especially from previous coinbase transactions * Set block versions on full block tests so that the generated blocks are AuxPoW compatible
* Insert Dogecoin testnet merkle tree root value (#1469)Ross Nicoll2018-09-191-2/+1
|
* Update RPC tests for Dogecoin (#1431)Ross Nicoll2018-09-191-0/+1
| | | | | | | | | * Make most of the RPC tests pass * Add AUXPoW rpc tests - Tests the auxpow rpc interface `getauxblock` - Tests consensus constraints for auxpow: - Minimum block height - Valid scrypt proof of work - Foreign chain ID
* Move COINBASE_MATURITY to the consensus parameters (#1426)Ross Nicoll2018-09-191-0/+15
|
* Update checkpoints and chain work (#1410)Ross Nicoll2018-09-191-18/+17
| | | | | | | | * Update checkpoints and chain work * Correct checkpoint syntax * Correct timestamp of last checkpoint block
* Fix 1.14 unit tests (#1408)Max K2018-09-191-0/+2
| | | | | | | | * Fix BlockEncodings test by setting a legacy block version * Fix RPC test by adding missing RPC call * Add missing regtest genesis hashes
* Modify chain consensus parameters to be height aware (#1396)Ross Nicoll2018-09-191-9/+103
| | | | | | | | | * Modify chain consensus parameters to be height aware * Correct implementation of simplified rewards in parameters * Correct max money * Use base block version in IsSuperMajority() instead of full version * Correct mining of blocks in AuxPoW tests * Add in missing pre-AuxPoW consensus checks
* Change BIP65/66 enforcement to match Dogecoin (#1403)Ross Nicoll2018-09-191-11/+20
| | | | | | | | | | | | | | | | | | * Introduce first estimates at BIP lock-in blocks * Introduce Dogecoin BIP parameters * Re-introduce supermajority rules for BIP65 * Add BIP65 supermajority rules * Tighten v3 block constraints * Don't enforce coinbase in v2 blocks * Correct testnet majority params * Change to using base version when checking supermajority
* Set SegWit timeout to zero to disable it (#1405)Ross Nicoll2018-09-191-4/+2
|
* Merge AuxPoW support from NamecoreRoss Nicoll2018-09-191-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes are as below: Wrap CBlockHeader::nVersion into a new class (CBlockVersion). This allows to take care of interpreting the field into a base version, auxpow flag and the chain ID. Update getauxblock.py for new 'generate' RPC call. Add 'auxpow' to block JSON. Accept auxpow as PoW verification. Add unit tests for auxpow verification. Add check for memory-layout of CBlockVersion. Weaken auxpow chain ID checks for the testnet. Allow Params() to overrule when to check the auxpow chain ID and for legacy blocks. Use this to disable the checks on testnet. Introduce CPureBlockHeader. Split the block header part that is used by auxpow and the "real" block header (that uses auxpow) to resolve the cyclic dependency between the two. Differentiate between uint256 and arith_uint256. This change was done upstream, modify the auxpow code. Add missing lock in auxpow_tests. Fix REST header check for auxpow headers. Those can be longer, thus take that into account. Also perform the check actually on an auxpow header. Correctly set the coinbase for getauxblock results. Call IncrementExtraNonce in getauxblock so that the coinbase is actually initialised with the stuff it should be. (BIP30 block height and COINBASE_FLAGS.) Implement getauxblock plus regression test. Turn auxpow test into FIXTURE test. This allows using of the Params() calls. Move CMerkleTx code to auxpow.cpp. Otherwise we get linker errors when building without wallet. Fix rebase with BIP66. Update the code to handle BIP66's nVersion=3. Enforce that auxpow parent blocks have no auxpow block version. This is for compatibility with namecoind. See also https://github.com/namecoin/namecoin/pull/199. Move auxpow-related parameters to Consensus::Params.
* Annotate work to be done to Dogecoin-ifyRoss Nicoll2018-09-191-3/+11
|
* Replace consensus values with Dogecoin equivalentsRoss Nicoll2018-09-191-74/+76
| | | | | | | * Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
* Update nMinimumChainWork and defaultAssumeValid.Gregory Maxwell2017-02-161-4/+4
|
* Remove bitseed.xf2.org form the dns seed listJonas Schnelli2017-02-091-1/+0
|
* Introduce assumevalid setting to skip presumed valid scripts.Gregory Maxwell2017-01-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This disentangles the script validation skipping from checkpoints. A new option is introduced "assumevalid" which specifies a block whos ancestors we assume all have valid scriptsigs and so we do not check them when they are also burried under the best header by two weeks worth of work. Unlike checkpoints this has no influence on consensus unless you set it to a block with an invalid history. Because of this it can be easily be updated without risk of influencing the network consensus. This results in a massive IBD speedup. This approach was independently recommended by Peter Todd and Luke-Jr since POW based signature skipping (see PR#9180) does not have the verifiable properties of a specific hash and may create bad incentives. The downside is that, like checkpoints, the defaults bitrot and older releases will sync slower. On the plus side users can provide their own value here, and if they set it to something crazy all that will happen is more time will be spend validating signatures. Checkblocks and checklevel are also moved to the hidden debug options: Especially now that checkblocks has a low default there is little need to change these settings, and users frequently misunderstand them as influencing security or IBD speed. By hiding them we offset the space added by this new option.
* Update estimated transaction count dataPieter Wuille2017-01-111-6/+8
|
* Shorten variable names and switch to tx/sPieter Wuille2017-01-111-2/+2
|
* Move tx estimation data out of CCheckPointDataPieter Wuille2017-01-041-2/+12
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Introduce convenience type CTransactionRefPieter Wuille2016-11-191-1/+1
|
* Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille2016-11-191-1/+1
|
* IBD check uses minimumchain work instead of checkpoints.Gregory Maxwell2016-11-021-0/+10
| | | | | | | | | | | | | This introduces a 'minimum chain work' chainparam which is intended to be the known amount of work in the chain for the network at the time of software release. If you don't have this much work, you're not yet caught up. This is used instead of the count of blocks test from checkpoints. This criteria is trivial to keep updated as there is no element of subjectivity, trust, or position dependence to it. It is also a more reliable metric of sync status than a block count.
* Merge #8921: RPC: Chainparams: Remove ↵Wladimir J. van der Laan2016-10-181-3/+0
|\ | | | | | | | | | | Chainparams::fTestnetToBeDeprecatedFieldRPC b26a7b5 RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC (Jorge Timón)
| * RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPCJorge Timón2016-10-181-3/+0
| |
* | My DNS seed supports filteringChristian Decker2016-10-171-1/+1
| | | | | | | | | | Currently supports filtering by any combination of the 4 least significant bits.
* | Add x9 service bit support to dnsseed.bluematt.meMatt Corallo2016-10-171-1/+1
| |
* | Comment that most dnsseeds only support some service bits combosMatt Corallo2016-10-171-2/+3
| |
* | Define start and end time for segwit deploymentPieter Wuille2016-10-171-4/+4
|/
* 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
| |