aboutsummaryrefslogtreecommitdiff
path: root/qa
AgeCommit message (Collapse)Author
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-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-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.
2015-11-10Add tests for transaction replacementPeter Todd
2015-11-09Fix crash in validateaddress with -disablewalletWladimir J. van der Laan
Fix a null pointer dereference in validateaddress with -disablewallet. Also add a regression testcase.
2015-10-29Merge pull request #6894Wladimir J. van der Laan
3e187f2 Fix BIP65 p2p test (Suhas Daftuar)
2015-10-27Lower default policy limitsAlex Morcos
Reduce the default limits on maximum number of transactions and the cumulative size of those transactions in both ancestor and descendant packages to 25 txs and 101kb total size.
2015-10-28Fix chainstate serialized_size computationPieter Wuille
2015-10-27Fix BIP65 p2p testSuhas Daftuar
create_coinbase() was being called with the wrong arguments
2015-10-26Add RPC test for -maxuploadtargetSuhas Daftuar
2015-10-23Merge pull request #6351Wladimir J. van der Laan
65ef372 Add BIP65 to getblockchaininfo softforks list (Peter Todd) cde7ab2 Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd) 287f54f Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
2015-10-21Merge pull request #6859Wladimir J. van der Laan
41db8c4 http: Restrict maximum size of request line + headers (Wladimir J. van der Laan)
2015-10-20http: Restrict maximum size of request line + headersWladimir J. van der Laan
Prevent memory exhaustion by sending lots of data. Also add a test to `httpbasics.py`. Closes #6425
2015-10-20Merge pull request #6841Wladimir J. van der Laan
b6d5e32 Make fee aware of min relay in pruning.py RPC test (Alex Morcos)
2015-10-20Merge pull request #6827Wladimir J. van der Laan
bd4c22e [rpc-tests] Check return code (MarcoFalke) 0d8b175 [rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase (MarcoFalke)
2015-10-20[rpc-tests] Check return codeMarcoFalke
2015-10-20[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increaseMarcoFalke
2015-10-17Make fee aware of min relay in pruning.py RPC testAlex Morcos
2015-10-16temporarily comment out rpcbind.pyAlex Morcos
until libevent is fixed. also remove duplicate commented-out forknotify.py.
2015-10-13Merge pull request #6777Wladimir J. van der Laan
dcd8e27 Refer to obfuscate_key via pointer in peripheral CLevelDB classes (James O'Beirne) 1488506 Add tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIterator (James O'Beirne) 0fdf8c8 Handle obfuscation in CLevelDBIterator (James O'Beirne) 3499ce1 Encapsulate CLevelDB iterators cleanly (Pieter Wuille)
2015-10-09Add tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIteratorJames O'Beirne
Thanks @dexX7.
2015-10-09[doc] trivial: fix markdown syntax in qa/rpc-tests/README.mdMarcoFalke
2015-10-08Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-forkPeter Todd
bip65-cltv.py is based on the earlier BIP66 soft-fork RPC test implemented by Pieter Wuille's 819bcf9b9902319176cdb1d476cacfee9b3727ec bip65-cltv-p2p.py is based on the earlier BIP66 P2P test by Suhas Daftuar's d76412b068d95454732aa3def95decf35251759a
2015-10-05Changed run-bitcoind-for-test.sh.in to non-executable mode.randy-waterhouse
Consistency with other *.in input files.
2015-10-04qa/pull-tester/rpc-tests.py: chmod 0755Jeff Garzik
Fix file mode to be executable. Include dummy whitespace change to force git to change mode.
2015-10-01Migrated rpc-tests.sh to all python rpc-tests.pyptschip
1) created rpc-tests.py 2) deleted rpc-tests.sh 3) travis.yml points to rpc-tests.py 4) Modified Makefile.am 5) Updated README.md 6) Added tests_config.py and deleted tests-config.sh 7) Modified configure.ac with script to set correct path in tests_config.py
2015-10-01Merge pull request #6686Wladimir J. van der Laan
745f909 travis: install a recent libzmq and pyzmq for tests (Cory Fields) a9c27cd [travis] add zmq python module (Jonas Schnelli) 110a1fd enable zmq-test in rpc-tests.sh (Jonas Schnelli)
2015-10-01travis: install a recent libzmq and pyzmq for testsCory Fields
2015-10-01[travis] add zmq python moduleJonas Schnelli