aboutsummaryrefslogtreecommitdiff
path: root/qa
AgeCommit message (Collapse)Author
2016-01-04[qa] Move gen_return_txouts() to util.pyMarcoFalke
Github-Pull: #7250 Rebased-From: fa0a9749eb09f6b537b98075241a7fcb46f758e3
2015-12-22tests: Disable Tor interactionWladimir J. van der Laan
This is unnecessary during the current tests (any test for Tor interaction can explicitly enable it) and interferes with the proxy test. Github-Pull: #7170 Rebased-From: 4c40ec0451a8f279f3e2e40af068c9451afd699e
2015-12-22[Tests] Add mempool_limit.py testJonas Schnelli
- [Tests] Add mempool_limit.py test - [Tests] Refactor some shared functions Github-Pull: #7153 Rebased-From: 110ff1142c5284edba8aab77fcac0bea0e551969 7632cf689a9b959dd7a059b8b4a04761a4bc6e6a
2015-12-22Add more tests to p2p-fullblocktestSuhas Daftuar
Github-Pull: #7226 Rebased-From: 9b41a5fba278e9ab56a9b86e7a5fe195dcad0b7a
2015-12-21[Mempool] Fix mempool limiting and replace-by-fee for PrioritiseTransactionSuhas Daftuar
1) Fix mempool limiting for PrioritiseTransaction Redo the feerate index to be based on mining score, rather than fee. Update mempool_packages.py to test prioritisetransaction's effect on package scores. 2) Update replace-by-fee logic to use fee deltas 3) Use fee deltas for determining mempool acceptance 4) Remove GetMinRelayFee One test in AcceptToMemoryPool was to compare a transaction's fee agains the value returned by GetMinRelayFee. This value was zero for all small transactions. For larger transactions (between DEFAULT_BLOCK_PRIORITY_SIZE and MAX_STANDARD_TX_SIZE), this function was preventing low fee transactions from ever being accepted. With this function removed, we will now allow transactions in that range with fees (including modifications via PrioritiseTransaction) below the minRelayTxFee, provided that they have sufficient priority. Github-Pull: #7062 Rebased-From: eb306664e786ae43d539fde66f0fbe2a3e89d910 9ef2a25603c9ec4e44c4f45c6a5d4e4386ec86d3 27fae3484cdb21b0d24face833b966fce5926be5 901b01d674031f9aca717deeb372bafa160a24af
2015-12-17test: don't override BITCOIND and BITCOINCLI if they're setWladimir J. van der Laan
In rpc-tests.py, don't override BITCOIND and BITCOINCLI if they're already set. Makes it possible to run the tests with either another tree or the GUI. Github-Pull: #7209 Rebased-From: 83cdcbdca41583a5a754a89f45b04b56cd0df627
2015-12-10net: Fix sent reject messages for blocks and transactionsWladimir J. van der Laan
Ever since we #5913 have been sending invalid reject messages for transactions and blocks. test: Add basic test for `reject` code Extend P2P test framework to make it possible to expect reject codes for transactions and blocks. Github-Pull: #7179 Rebased-From: 9fc6ed6003da42f035309240c715ce0fd063ec03 20411903d7b356ebb174df2daad1dcd5d6117f79
2015-12-07test: remove necessity to call create_callback_mapWladimir J. van der Laan
Remove necessity to call create_callback_map (as well as the function itself) from the Python P2P test framework. Invoke the appropriate methods directly. - Easy to forget to call it and wonder why it doesn't work - Simplifies the code - This makes it easier to handle new messages in subclasses Github-Pull: #7171 Rebased-From: 2f601d215da1683ae99ab9973219044c32fa2093
2015-12-04Replace setInventoryKnown with a rolling bloom filter.Gregory Maxwell
Github-Pull: #7133 Rebased-From: ec73ef37eccfeda76de55c4ff93ea54d4e69e1ec e20672479ef7f2048c2e27494397641d47a4d88d 6b849350ab074a7ccb80ecbef387f59e1271ded6 b6a0da45db8d534e7a77d1cebe382cd5d83ba9b8 d41e44c9accb3df84e0abbc602cc76b72754d382 aa4b0c26b0a94ca6164c441aae723e118554d214
2015-12-02Remove old replace-by-fee testsPeter Todd
Made redundant by tests in qa/rpc-tests/replace-by-fee.py
2015-12-01Merge pull request #7137Wladimir J. van der Laan
cfdc662 Explicitly set chain limits in replace-by-fee test (Suhas Daftuar)
2015-12-01Merge pull request #6915Wladimir J. van der Laan
2d8860e Fix removeForReorg to use MedianTimePast (Suhas Daftuar) b7fa4aa Don't call removeForReorg if DisconnectTip fails (Suhas Daftuar) 7e49f5f Track coinbase spends in CTxMemPoolEntry (Suhas Daftuar) bb8ea1f removeForReorg calls once-per-disconnect-> once-per-reorg (Matt Corallo) 474b84a Make indentation in ActivateBestChainStep readable (Matt Corallo) b0a064c Fix comment in removeForReorg (Matt Corallo) 9b060e5 Fix removal of time-locked transactions during reorg (Matt Corallo) 0c9959a Add failing test checking timelocked-txn removal during reorg (Matt Corallo)
2015-12-01Merge pull request #7022Wladimir J. van der Laan
50947ef Change default block priority size to 0 (Alex Morcos)
2015-12-01Add rpc test for prioritisetransactionSuhas Daftuar
2015-12-01Add rounding helper function to util.pySuhas Daftuar
2015-12-01Merge pull request #7135Wladimir J. van der Laan
fa3a38a [qa] pull-tester: Cleanup (run keypool, tidy stdout) (MarcoFalke)
2015-12-01Merge pull request #7105Wladimir J. van der Laan
9ac63d6 Keep track of explicit wallet conflicts instead of using mempool (Pieter Wuille)
2015-11-30Change default block priority size to 0Alex Morcos
Make RPC tests have a default block priority size of 50000 (the old default) so we can still use free transactions in RPC tests. When priority is eliminated, we will have to make a different change if we want to continue allowing free txs.
2015-11-30Merge pull request #7044Gregory Maxwell
d52fbf0 Added additional config option for multiple RPC users. (Gregory Sanders)
2015-11-30Add failing test checking timelocked-txn removal during reorgMatt Corallo
2015-11-30Explicitly set chain limits in replace-by-fee testSuhas Daftuar
2015-11-30[qa] pull-tester: Cleanup (run keypool, tidy stdout)MarcoFalke
* Run keypool (takes 6 seconds) * Print duration of each rpc test * Structure output (bold, new lines)
2015-11-30Merge pull request #7103Wladimir J. van der Laan
fa506c0 [wallet] Add rpc tests to verify fee calculations (MarcoFalke) 4b89f01 Default fPayAtLeastCustomFee to false (Ryan Havar)
2015-11-30Merge pull request #7027Wladimir J. van der Laan
4ea1790 [qa] keypool: DRY: Use test framework (MarcoFalke) c6973ca [qa] keypool: Fix white space to prepare transition to test framework (MarcoFalke)
2015-11-29Added additional config option for multiple RPC users.Gregory Sanders
2015-11-29Keep track of explicit wallet conflicts instead of using mempoolPieter Wuille
2015-11-29Allow block announcements with headersSuhas Daftuar
This replaces using inv messages to announce new blocks, when a peer requests (via the new "sendheaders" message) that blocks be announced with headers instead of inv's. Since headers-first was introduced, peers send getheaders messages in response to an inv, which requires generating a block locator that is large compared to the size of the header being requested, and requires an extra round-trip before a reorg can be relayed. Save time by tracking headers that a peer is likely to know about, and send a headers chain that would connect to a peer's known headers, unless the chain would be too big, in which case we revert to sending an inv instead. Based off of @sipa's commit to announce all blocks in a reorg via inv, which has been squashed into this commit. Rebased-by: Pieter Wuille
2015-11-28[wallet] Add rpc tests to verify fee calculationsMarcoFalke
2015-11-27Merge pull request #6871Wladimir J. van der Laan
63b5840 Fix usage of local python-bitcoinlib (Peter Todd) 16a2f93 Fix incorrect locking of mempool during RBF replacement (Peter Todd) 97203f5 Port test to rpc-test framework (Suhas Daftuar) 20367d8 Add test for max replacement limit (Suhas Daftuar) 73d9040 Improve RBF replacement criteria (Suhas Daftuar) b272ecf Reject replacements that add new unconfirmed inputs (Peter Todd) fc8c19a Prevent low feerate txs from (directly) replacing high feerate txs (Peter Todd) 0137e6f Add tests for transaction replacement (Peter Todd) 5891f87 Add opt-in full-RBF to mempool (Peter Todd)
2015-11-27Merge pull request #6134Wladimir J. van der Laan
e304432 Pass reference to estimateSmartFee and cleanup whitespace (Suhas Daftuar) 56106a3 Expose RPC calls for estimatesmart functions (Alex Morcos) e93a236 add estimateSmartFee to the unit test (Alex Morcos) 6303051 EstimateSmart functions consider mempool min fee (Alex Morcos) f22ac4a Increase success threshold for fee estimation to 95% (Alex Morcos) 4fe2823 Change wallet and GUI code to use new smart fee estimation calls. (Alex Morcos) 22eca7d Add smart fee estimation functions (Alex Morcos)
2015-11-24Merge pull request #7052Wladimir J. van der Laan
a0953cd [qa] python-bitcoinrpc is no longer a subtree (MarcoFalke)
2015-11-22Merge pull request #7028Gregory Maxwell
e16ee1c [qa] Extend README.md (MarcoFalke) cc97574 [qa] Split README.md to /qa and /qa/rpc-tests (MarcoFalke)
2015-11-22Merge pull request #7029Gregory Maxwell
c800c95 Remove unmaintained example test script_test.py (Suhas Daftuar)
2015-11-20Fix usage of local python-bitcoinlibPeter Todd
Previously was using the system-wide python-bitcoinlib, if it existed, rather than the local copy that you check out in the README.
2015-11-20Merge pull request #7019Wladimir J. van der Laan
33b7f83 [qa] travis: cover *receivedby* rpcs (MarcoFalke)
2015-11-19[qa] python-bitcoinrpc is no longer a subtreeMarcoFalke
* Only authproxy.py is taken from the python-bitcoinrpc
2015-11-18[qa] Extend README.mdMarcoFalke
2015-11-17[qa] Split README.md to /qa and /qa/rpc-testsMarcoFalke
+ Update with new -help message
2015-11-16Expose RPC calls for estimatesmart functionsAlex Morcos
Also add testing for estimatesmartfee in smartfees.py
2015-11-16Remove unmaintained example test script_test.pySuhas Daftuar
2015-11-16[qa] keypool: DRY: Use test frameworkMarcoFalke
2015-11-16[qa] keypool: Fix white space to prepare transition to test frameworkMarcoFalke
2015-11-14[qa] travis: cover *receivedby* rpcsMarcoFalke
2015-11-13don't enforce maxuploadtargets disconnect for whitelisted peersJonas Schnelli
2015-11-13Merge pull request #6958Wladimir J. van der Laan
9c3ee3b [doc] Add -maxuploadtarget release notes (MarcoFalke) b27e81f [net] Cleanup maxuploadtarget (MarcoFalke)
2015-11-12Merge #6771 from branch 'lowerLimits' of git://github.com/morcos/bitcoinJeff Garzik
2015-11-12[net] Cleanup maxuploadtargetMarcoFalke
* log: nMaxOutboundLimit is in bytes * log: Hide misleading -maxuploadtarget=0 warning * qa : Minor cleanup to maxuploadtarget rpc tests * net: Use DEFAULT_MAX_UPLOAD_TARGET = 0
2015-11-12Merge pull request #6804Wladimir J. van der Laan
b5cbd39 Add basic coverage reporting for RPC tests (James O'Beirne)
2015-11-11Add basic coverage reporting for RPC testsJames O'Beirne
Thanks to @MarcoFalke @dexX7 @laanwj for review.
2015-11-10Port test to rpc-test frameworkSuhas Daftuar