aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Replace Bitcoin icons with Dogecoin (#1448)Ross Nicoll2019-03-2513-1392/+1518
| | | |
| * | | Update QT client messages and translations to Doge equivalents (#1429)Ross Nicoll2019-03-25104-3687/+3715
| | | | | | | | | | | | | | | | Update QT client messages and translations to Doge equivalents.
| * | | Fix copyright substitutionRoss Nicoll2019-03-251-1/+1
| | | | | | | | | | | | | | | | List both Bitcoin & Dogecoin developers in copyright notice.
| * | | Rename binaries to match DogecoinRoss Nicoll2019-03-2519-234/+234
| | | |
| * | | Introduce basic Dogecoin brandingRoss Nicoll2019-03-2538-166/+210
| |/ /
| * | Drop use of smart feesRoss Nicoll2019-03-171-1/+3
| | | | | | | | | | | | | | | Drop use of smart fees when calculating transaction fees. Dogecoin fees are intentionally on a fixed schedule.
| * | Fixed typo in dogecoin_find_bdb51.m4Dmitri Bogomolov2018-10-031-1/+1
| | |
| * | Update miner confirmation windowRoss Nicoll2018-09-233-38/+35
| | | | | | | | | | | | | | | | | | * 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.
| * | Create v1 transactions for compatibility with 1.10 (#1485)Ross Nicoll2018-09-191-1/+2
| | | | | | | | | | | | Create v1 transactions for compatibility with 1.10. See https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki for context. This should NOT be merged into 1.16.
| * | Re-introduce alert functionality (#1470)Ross Nicoll2018-09-1919-30/+708
| | | | | | | | | Re-introduce alert functionality removed from Bitcoin upstream
| * | Update or eliminate remaining tests (#1483)Ross Nicoll2018-09-193-20/+23
| | | | | | | | | | | | | | | * Change amount tests to use rounded values * Disable legacy tests
| * | Update tx output in p2p-fullblocktest.py (#1474)Ross Nicoll2018-09-191-2/+5
| | | | | | | | | | | | * Update tx output in `p2p-fullblocktest.py` to match Dogecoin coin reward. * Disable the re-org test as it disconnects the mini-node before the re-org completes.
| * | Clean up RPC tests (#1465)Ross Nicoll2018-09-1916-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | |
| * | Add PureHeader sources to libdogecoinconsensuslangerhans2018-09-191-0/+2
| | |
| * | Update RPC tests for Dogecoin (#1431)Ross Nicoll2018-09-1940-297/+520
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | Replace HMAC_SHA256 with Bitcoin's version (#1438)Ross Nicoll2018-09-192-90/+25
| | |
| * | Update payment protocol to match Dogecoin (#1433)Ross Nicoll2018-09-193-15/+19
| | | | | | | | | | | | | | | | | | * Revised payment request handling to use genesis block hash instead of network name, enabling support for more networks that just Bitcoin main and test net. * Disable payment protocol certificate unit tests; we don't modify this code, and regenerating the test data is likely to be significantly time consuming. Will re-enable once discussion on spec is concluded.
| * | Add block height to block notification substitution options (#1430)Ross Nicoll2018-09-191-1/+3
| | |
| * | Enforce minor Dogecoin parameters (#1427)Ross Nicoll2018-09-192-17/+16
| | | | | | | | | | | | | | | | | | * Minimum number of blocks and blockchain size are increased for pruning. In comparison to Bitcoin this uses 24 hours as a minimum, rather than 48, although given blocks are rarely full this likely reflects a lot longer in reality. * Multiply fork detection parameters by 5. The wall clock time elapsed for "long" forks is therefore half that of Bitcoin, but IMHO those figures are excessive for a chain with 1 minute block times. * BIP16 and BIP30 have both been enabled on Dogecoin since inception and should not be conditional.
| * | Update test cases at 1000-byte boundaries (#1439)Ross Nicoll2018-09-191-4/+4
| | | | | | | | | | | | Update test cases for 1,000 byte TX boundaries; in 1.10 and before the fees for these were rolled up to the next DOGE, however that results in incorrect fees because the UI currently uses 1,000 bytes as a predicted size. This updates the tests to match new behaviour in 1.14.
| * | Load AuxPoW blocks from index correctly (#1443)Ross Nicoll2018-09-191-1/+2
| | | | | | | | | Load AuxPoW blocks from index correctly, by setting the version on the block before trying to check if it's AuxPoW. Previously the AuxPoW part of the block was never loaded because the check always failed.
| * | Initialise left/right consensus branches to null (#1435)Ross Nicoll2018-09-191-2/+2
| | | | | | | | | | | | Strictly speaking the left/right consensus branches haven't been initialised so contain random values. Most of the time these happen to be null, but sometimes causes client crashes (at least it does in 1.15, but fixing in earlier versions to be sure).
| * | Bring 1.14 fees in line with 1.10 (#1425)Ross Nicoll2018-09-195-12/+21
| | | | | | | | | | | | | | | | | | * Disable free transactions * Updating remaining fee calculation constants * Round up to the nearest 1k, not up 1k so the UI fee estimator is correct
| * | Always use parameters at block 0 to get genesis block hash (#1416)Ross Nicoll2018-09-191-2/+2
| | | | | | | | | This doesn't actually change behaviour, but stylistically is more correct.
| * | [auxpow] Guarantee backward compatibility on getauxblockPatrick Lodder2018-09-191-1/+13
| | | | | | | | | | | | | | | Adds a wrapper around getauxblock to return boolean responses for getauxblock rather than bip22 responses.
| * | Change result from getauxblock to BIP22 validation stateRoss Nicoll2018-09-191-1/+1
| | |
| * | Move COINBASE_MATURITY to the consensus parameters (#1426)Ross Nicoll2018-09-198-27/+28
| | |
| * | Check only the base block version (#1411)Ross Nicoll2018-09-193-4/+10
| | | | | | | | | Check only the base block version when looking for unexpected version numbers
| * | Add Dogecoin current fee calculation logic (#1413)Ross Nicoll2018-09-1911-24/+123
| | | | | | | | | Introduces 1 COIN/kb fees, rounded up to the next 1 COIN.
| * | Verify when doing 'backupwallet' that destination is not the same path of ↵Lola Dam2018-09-191-5/+10
| | | | | | | | | | | | the original wallet.dat file. (#1406)
| * | Update dogecoin-tx tests (#1409)Ross Nicoll2018-09-1917-37/+37
| | | | | | | | | Update Python test address and key values to match Dogecoin format
| * | Change count type used by `gettxoutsetinfo` (#1415)Ross Nicoll2018-09-193-2/+14
| | | | | | | | | changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow
| * | 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-193-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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-1929-172/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-194-17/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | |
| * | Stop sending a Bitcoin alert to Dogecoin clientsRoss Nicoll2018-09-191-4/+4
| | |
| * | Handle legacy v2 block at #66064Ross Nicoll2018-09-191-1/+3
| | |
| * | Correct PoW calculation logic to use locally calcualted difficultyRoss Nicoll2018-09-191-3/+3
| | |
| * | Sync changes from Dogecoin 1.10Ross Nicoll2018-09-194-4/+37
| | |
| * | Sync mining code from Namecore to resolve unit test failures (#1385)Ross Nicoll2018-09-195-225/+145
| | |
| * | Merge AuxPoW support from NamecoreRoss Nicoll2018-09-1932-226/+1884
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Update DB version to 5.1Ross Nicoll2018-09-192-19/+17
| | |
| * | Update dependency builder and its packages to be ready for Dogecoin specificslangerhans2018-09-194-10/+15
| | |
| * | Annotate work to be done to Dogecoin-ifyRoss Nicoll2018-09-193-3/+15
| | |
| * | Add Dogecoin difficulty calculationsRoss Nicoll2018-09-194-4/+157
| | |
| * | Litecoin: Fix zeitgeist2 attack thanks to Lolcust and ArtForz. This fixes an ↵coblee2018-09-191-1/+7
| | | | | | | | | | | | issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis.
| * | Litecoin: Scrypt n=1024 Pow hash based upon Colin Percival's Tarnsnap (2009) ↵Warren Togami2018-09-1912-3/+577
| | | | | | | | | | | | Modified by Artforz, coblee, pooler, wtogami, Nikolay Belikov, Adrian Gallagher