aboutsummaryrefslogtreecommitdiff
path: root/qa
Commit message (Collapse)AuthorAgeFilesLines
* s/DOGE/DIS/gTomo Ueda2021-09-0212-24/+24
|
* really s/Doge/Dis/g this timeTomo Ueda2021-09-0211-13/+13
|
* s/doge/dis/gTomo Ueda2021-09-029-22/+22
|
* Merge pull request #2458 from patricklodder/1.14.4-disconnect-bad-node-testRoss Nicoll2021-08-182-2/+100
|\ | | | | Test that peers building on invalid blocks get disconnected
| * fixup p2p-acceptblock and mininode to test disconnectsPatrick Lodder2021-08-172-18/+31
| | | | | | | | | | | | | | | | | | | | | | without partially backporting a new testframework. - Adds a condition to NodeConn that when asyncore calls handle_read without any data, this must be a disconnect and closes the socket - Adds a little loop in the p2p-acceptblock client that waits for the socket to be in a closed state - Makes expected disconnects non-optional in p2p-acceptblock - Syncs the test descriptions and outputs with reality
| * p2p-acceptblock: add steps 8, 9 to confirm node disconnectsDakoda Greaves2021-08-171-1/+86
| |
* | Create feelimit.py testEd2021-08-172-0/+78
| | | | | | | | Create feelimit.py test to verify the updated fee values now rounding has been eliminated.
* | Remove relay-only roundingRoss Nicoll2021-08-171-1/+1
|/ | | | | Remove rounding of transaction sizes when calculating fee minimums for relaying, to simplify fee logic.
* qa: fix bumpfee now that paytxfee worksPatrick Lodder2021-08-161-3/+4
|
* qa: add -paytxfee and -mintxfee interaction testPatrick Lodder2021-08-162-0/+83
| | | | | | | Test that the interaction between the wallet parameters -paytxfee and -mintxfee function as intended. This has to be done using rpc tests rather than unit tests because it tests the actual parameters passed to the executables.
* Merge pull request #2450 from xanimo/1.14.4-txn_doublespendPatrick Lodder2021-08-142-26/+26
|\ | | | | qa: txn_dblspend - fix arithmetic
| * fix arithmetic; adds to standard testingDakoda Greaves2021-08-132-26/+26
| |
* | qa: fix p2p-acceptblockPatrick Lodder2021-08-133-7/+7
|/ | | | | | | | | | | | This test failed because the sheer number of blocks required to trigger the max length of a fork we'd keep, exceed the v4 fork height on regtest. - Adapted the blocktools.py miner to mine 0x00620004 blocks as done elsewhere too (be it suboptimal, but at least consistent) - Adapted the test to work with 1440 blocks (Dogecoin limit) instead of 288 (Bitcoin limit) - Made p2p-acceptblock a standard test instead of an extended test
* fees: Reduce minimum relay fee to 0.001 DOGE, final change from tx to 0.01Michi Lumin2021-08-115-6/+9
|
* [fees] introduce configurable hard dust limitPatrick Lodder2021-08-052-0/+83
| | | | Co-authored-by: Ross Nicoll <[email protected]>
* p2p: Reduce BIP125 replace by fee increment valueMichi Lumin2021-08-042-39/+42
|
* tests: mempool_packages.py (#2433)xanimo2021-08-011-1/+1
| | | * Bump fee to 1.0000 from 0.0001 to fix insufficient priority error
* Initial back end framework to separate wallet and relay fees + dust.Michi Lumin2021-07-302-2/+2
|
* update qa/README.md to reflect working installation instructionsDakoda Greaves2021-07-281-6/+7
|
* tests: Fix replace-by-fee values for DogecoinRoss Nicoll2021-07-252-47/+48
|
* qa: Fix typosrht2021-05-184-5/+5
|
* Revert ltc_scrypt -> litecoin_scryptRoss Nicoll2021-02-081-2/+2
|
* Halve timeoutsRoss Nicoll2021-02-071-2/+2
|
* Adapt block download timeouts to DogecoinRoss Nicoll2021-02-051-1/+1
| | | | | Block download timeouts are expressed as a fraction of block interval time, so Dogecoin values have been too aggressive. Matching Bitcoin values as a starting point.
* [backport] [rpc] getblockchaininfo: add size_on_disk, prune_target_size, ↵Daniel Edgecumbe2020-07-241-1/+52
| | | | | | | | | | automatic_pruning Fix pruneheight help text. Move fPruneMode block to match output ordering with help text. Add functional tests for new fields in getblockchaininfo. Rebase-from: bitcoin#b7dfc6c4
* rpc-tests: don't use binary.hex() or binary.fromhex()Patrick Lodder2020-07-222-8/+10
| | | | To retain compatibility with multiple python3 versions
* rpc-tests: fix fundrawtransaction coin amounts to not spend dustPatrick Lodder2020-07-221-40/+40
|
* rpc-tests: write credentials to dogecoin.conf, not bitcoin.confPatrick Lodder2020-07-221-2/+2
|
* rpc-tests: fix listtransactions to not spend dustPatrick Lodder2020-07-221-3/+2
|
* rpc-tests: fix mempool_limit testPatrick Lodder2020-07-221-2/+2
| | | | | do more rounds of large tx creation to be sure to evict the targeted tx
* rpc-tests: fix importprunedfunds for use with dogecoinPatrick Lodder2020-07-221-13/+14
| | | | | | - use non-dust outputs - reverse the order of transactions to lowest-first, to not re-spend expected outputs for later tests.
* rpc-tests: fix auxpow calls to use .target instead of ._targetPatrick Lodder2020-07-221-1/+1
| | | | Tests weren't adapted to reflect RPC output
* rpc-tests: revert from litecoin_scrypt to ltc_scryptPatrick Lodder2020-07-222-6/+6
| | | | | This reflects the dependency installed in the dep script at qa/pull-tester/install-deps.sh
* pull-tester: don't hard depend on python 3.6Patrick Lodder2020-07-221-1/+1
| | | | every script depends on "python3" not "python3.6"
* Fix ltc_scrypt dependency for RPC testsPatrick Lodder2020-07-221-1/+1
| | | | | | | - travis: RUN_TESTS requires python3-dev. This enables us to compile the ltc_scrypt library under python3 - pull tester deps: use curl instead of wget to reduce dependencies as everything else uses curl
* Merge branch 'rnicoll-rnicoll/1.14-litecoin-scrypt' into 1.14-maintlangerhans2019-07-141-3/+3
|\
| * Update to litecoin_scryptRoss Nicoll2019-07-121-3/+3
| | | | | | | | | | | | The old ltc_scrypt module works on systems it is installed on, but does not install on new systems it appears. Our README says to use litecoin_scrypt, so updating the code to match.
* | Revert behaviour change in getauxblockRoss Nicoll2019-07-131-1/+1
|/ | | | Change getauxblock to respond with a "target" field instead of "_target".
* Rename binaries to match DogecoinRoss Nicoll2019-03-254-16/+16
|
* 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-195-24/+30
| | | | | | | | | | * 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
* Update RPC tests for Dogecoin (#1431)Ross Nicoll2018-09-1936-290/+510
| | | | | | | | | * 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
* Merge AuxPoW support from NamecoreRoss Nicoll2018-09-193-8/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge #10234, #10143 (fixes only), and #9853 via branch ↵Luke Dashjr2017-06-051-47/+53
|\ | | | | | | 'disconnect_ban_fixes-0.14' into 0.14.2_fixes
| * [tests] update disconnect_ban.py test case to work with listbannedJohn Newbery2017-06-051-3/+3
| | | | | | | | | | Github-Pull: #10234 Rebased-From: d6732d832aa901e733e63799260d409821a2c37a
| * [tests] disconnect_ban: remove dependency on urllibJohn Newbery2017-06-051-11/+4
| | | | | | | | | | Github-Pull: #10143 Rebased-From: 5cc3ee24d29397737f2746d78b19a2509c0dedbb
| * [tests] disconnect_ban: use wait_until instead of sleepJohn Newbery2017-06-051-6/+5
| | | | | | | | | | Github-Pull: #10143 Rebased-From: 12de2f252c8f48e05c579cb679866a68af8c660e
| * [tests] disconnectban test - only use two nodesJohn Newbery2017-06-051-26/+34
| | | | | | | | | | Github-Pull: #10143 Rebased-From: 395561becfa612fedec74fd841cb4f28afdc23d7
| * [tests] fix nodehandling.py flake8 warningsJohn Newbery2017-06-051-20/+26
| | | | | | | | | | Github-Pull: #10143 Rebased-From: d6564a26f4afc28d7d1a24b94946916387c9bf24
* | Merge #9853 via branch 'fixerrorcodes-0.14' into 0.14.2_fixesLuke Dashjr2017-06-057-117/+51
|\|