aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* dogecoin-tx: fix testsPatrick Lodder2020-07-221-20/+22
| | | | | - explicitly specify v1 and v2 transactions due to 140cc1db - fix "exec: bitcoin-tx" misses
* Fix the hash of the best block to reflect the Dogecoin blockPatrick Lodder2020-07-221-1/+1
| | | | This was prev tested to be a Bitcoin block in qt rpc tests
* qt-tests: Disable payment server test that moves 21M+1 coins.Patrick Lodder2020-07-221-0/+3
| | | | | | This is not a testcase for Dogecoin. Like the other payment server tests, this could be amended, or it can be depreciated, depending on where we take payment protocol.
* tests: fix non-qt tests that spend dustPatrick Lodder2020-07-223-100/+100
| | | | | | | | - transaction_tests/IsStandard was spending 0.9 DOGE - tx_validationcache_tests/mempool_dblspend was spending 0.11 DOGE - wallet_tests/coin_selection was completely built around spending cents. This test has been completely reworked and redocumented to make sense for Dogecoin
* Merge pull request #1615 from rnicoll/1.14/dust-feesMax K2019-11-033-4/+8
|\ | | | | Correct dust and change
| * Fix dust threshold at 1 DOGERoss Nicoll2019-11-031-1/+5
| |
| * Correct dust and changeRoss Nicoll2019-11-033-5/+5
| | | | | | | | | | Correct dust threshold, which is never less than 1 DOGE. Correct minimum change, which is 1 DOGE.
* | Fix RPC description of supermajority based forkslangerhans2019-07-141-1/+1
| |
* | Merge branch 'rnicoll-rnicoll/1591-rebase' into 1.14-maintlangerhans2019-07-141-5/+4
|\ \
| * | Added coments on chain parameters for regtestrllola2019-07-121-5/+4
| | |
* | | Revert behaviour change in getauxblockRoss Nicoll2019-07-131-4/+4
|/ / | | | | | | Change getauxblock to respond with a "target" field instead of "_target".
* | Update chainparams with more recent datalangerhans2019-04-141-6/+8
| |
* | [rpc] Add initialblockdownload to getblockchaininfoJohn Newbery2019-04-141-0/+2
| |
* | Fix some strings still referencing bitcoinlangerhans2019-03-259-22/+22
| |
* | Actual dogecoin icons instead of bitcoin ones for OSX build.Michi Lumin2019-03-252-0/+0
| | | | | | Actual dogecoin icons in ICNS format for OSX build, instead of old bitcoin ones.
* | Cherry-pick from Bitcoin repo, 1ec0c0a: small changes for OSX buildMichi Lumin2019-03-252-9/+12
| | | | | | Cherry-pick from Bitcoin repo, 1ec0c0a: adds "const" suffix to several lines in txmempool.h and miner.h to make this build succeed under OSX w. clang++ and Boost lib 1.66+
* | Add rule to generate raw.h file to test Makefilelangerhans2019-03-251-0/+9
| |
* | [Qt] Disable milli and micro units, introduce kilo and mega units (#1463)Ross Nicoll2019-03-252-6/+20
| | | | | | | | | | | | milli- and micro-Dogecoins are below dust threshold so do not make any sense as display units. Instead, kilo- and mega-dogecoins are probably more useful, as those make common amounts easier to read instead of harder
* | Update Gitian descriptors and keys (#1455)Ross Nicoll2019-03-251-0/+1
| | | | | | | | | | | | | | | | | | | | * Replace Gitian keys - Note I've removed Leofidus' key due to inactivity, and added a weight of 20 to whit's key. * Replace Bitcoin with Dogecoin in Gitian descriptors * Fix Makefile refrence to bash-completion files * Rename remaining bash-completion files * Add wallet_bgcoin to Qt Makefile * Add PureHeader sources to libdogecoinconsensus
* | Add dogechain and chain.so as default block explorersRoss Nicoll2019-03-251-1/+1
| |
* | Amount to send field now goes up/down 1 DOGE at a time (#1441)Sporklin2019-03-251-1/+1
| |
* | Re-add paperwallet printer (#1467)Max K2019-03-2520-10/+1045
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add paper wallet generator to QT wallet * Replace print icon with Typeicons equivalent * Re-add printer support to Qt * depends: fix fontconfig with newer glibc See comment for more detail * Set fixed size for paper wallet dialog
* | Update about menu icon to DogecoinJ Ross Nicoll2019-03-251-0/+0
| | | | | | | | Icon provided by cdeverett
* | Update URI tests for Dogecoin (#1457)Ross Nicoll2019-03-251-18/+18
| | | | | | | | | | Note that the test address was invalid in Bitcoin Core, and as such rather than re-encoding as a Dogecoin address, I've simply swapped the first byte. Still invalid, but looks correct at least.
* | rebrand dogecoin-tx test (#1450)Ross Nicoll2019-03-251-56/+56
| |
* | 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.
* | Rename binaries to match DogecoinRoss Nicoll2019-03-258-185/+185
| |
* | 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.
* 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
* Clean up RPC tests (#1465)Ross Nicoll2018-09-1911-29/+23
| | | | | | | | | | * 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-192-5/+7
| | | | | | | | | * 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