aboutsummaryrefslogtreecommitdiff
path: root/qa
AgeCommit message (Collapse)Author
2015-12-09test: Add basic test for `reject` codeWladimir J. van der Laan
Extend P2P test framework to make it possible to expect reject codes for transactions and blocks.
2015-12-07Merge pull request #7171Wladimir J. van der Laan
2f601d2 test: remove necessity to call create_callback_map (Wladimir J. van der Laan)
2015-12-04tests: 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.
2015-12-04test: 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
2015-12-03Merge pull request #7133Wladimir J. van der Laan
aa4b0c2 When not filtering blocks, getdata sends more in one test (Pieter Wuille) d41e44c Actually only use filterInventoryKnown with MSG_TX inventory messages. (Gregory Maxwell) b6a0da4 Only use filterInventoryKnown with MSG_TX inventory messages. (Patick Strateman) 6b84935 Rename setInventoryKnown filterInventoryKnown (Patick Strateman) e206724 Remove mruset as it is no longer used. (Gregory Maxwell) ec73ef3 Replace setInventoryKnown with a rolling bloom filter. (Gregory Maxwell)
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-30When not filtering blocks, getdata sends more in one testPieter Wuille
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
2015-11-10Add test for max replacement limitSuhas Daftuar
2015-11-10Reject replacements that add new unconfirmed inputsPeter Todd
2015-11-10Prevent low feerate txs from (directly) replacing high feerate txsPeter Todd
Previously all conflicting transactions were evaluated as a whole to determine if the feerate was being increased. This meant that low feerate children pulled the feerate down, potentially allowing a high transaction with a high feerate to be replaced by one with a lower feerate.