MarcoFalke
a0953cdf07
[qa] python-bitcoinrpc is no longer a subtree
...
* Only authproxy.py is taken from the python-bitcoinrpc
9 years ago
MarcoFalke
e16ee1cd1e
[qa] Extend README.md
9 years ago
MarcoFalke
cc975745d5
[qa] Split README.md to /qa and /qa/rpc-tests
...
+ Update with new -help message
9 years ago
Suhas Daftuar
c800c95997
Remove unmaintained example test script_test.py
9 years ago
MarcoFalke
33b7f83c59
[qa] travis: cover *receivedby* rpcs
9 years ago
Jonas Schnelli
d61fcff071
don't enforce maxuploadtargets disconnect for whitelisted peers
9 years ago
MarcoFalke
b27e81f115
[net] Cleanup maxuploadtarget
...
* 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
9 years ago
James O'Beirne
b5cbd396ca
Add basic coverage reporting for RPC tests
...
Thanks to @MarcoFalke @dexX7 @laanwj for review.
9 years ago
Wladimir J. van der Laan
2980a18572
Fix crash in validateaddress with -disablewallet
...
Fix a null pointer dereference in validateaddress with -disablewallet. Also add a regression testcase.
9 years ago
Alex Morcos
971a4e6b86
Lower default policy limits
...
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.
9 years ago
Pieter Wuille
298e040bca
Fix chainstate serialized_size computation
9 years ago
Suhas Daftuar
3e187f2acd
Fix BIP65 p2p test
...
create_coinbase() was being called with the wrong arguments
9 years ago
Suhas Daftuar
17a073ae06
Add RPC test for -maxuploadtarget
9 years ago
Wladimir J. van der Laan
41db8c4733
http: Restrict maximum size of request line + headers
...
Prevent memory exhaustion by sending lots of data.
Also add a test to `httpbasics.py`.
Closes #6425
9 years ago
MarcoFalke
bd4c22ed56
[rpc-tests] Check return code
9 years ago
MarcoFalke
0d8b1759d2
[rpc-tests] fundrawtransaction: Update fee after minRelayTxFee increase
9 years ago
Alex Morcos
b6d5e32e0e
Make fee aware of min relay in pruning.py RPC test
9 years ago
Alex Morcos
0658d0ba82
temporarily comment out rpcbind.py
...
until libevent is fixed. also remove duplicate commented-out forknotify.py.
9 years ago
James O'Beirne
1488506872
Add tests for gettxoutsetinfo, CLevelDBBatch, CLevelDBIterator
...
Thanks @dexX7 .
9 years ago
MarcoFalke
d0321a4cfd
[doc] trivial: fix markdown syntax in qa/rpc-tests/README.md
9 years ago
Peter Todd
cde7ab2d4e
Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork
...
bip65-cltv.py is based on the earlier BIP66 soft-fork RPC test
implemented by Pieter Wuille's 819bcf9b99
bip65-cltv-p2p.py is based on the earlier BIP66 P2P test by Suhas
Daftuar's d76412b068
9 years ago
randy-waterhouse
efb37d4fda
Changed run-bitcoind-for-test.sh.in to non-executable mode.
...
Consistency with other *.in input files.
9 years ago
Jeff Garzik
3ab3de8ba1
qa/pull-tester/rpc-tests.py: chmod 0755
...
Fix file mode to be executable.
Include dummy whitespace change to force git to change mode.
9 years ago
ptschip
5467820be5
Migrated rpc-tests.sh to all python rpc-tests.py
...
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
9 years ago
Cory Fields
745f909925
travis: install a recent libzmq and pyzmq for tests
9 years ago
Jonas Schnelli
a9c27cdf55
[travis] add zmq python module
9 years ago
Suhas Daftuar
598b25d5ee
Add test showing bug in mempool packages
9 years ago
Wladimir J. van der Laan
ddf98d1d84
Make RPC tests cope with server-side timeout between requests
...
Python's httplib does not graciously handle disconnections from the http server, resulting in BadStatusLine errors.
See https://bugs.python.org/issue3566 "httplib persistent connections violate MUST in RFC2616 sec 8.1.4."
This was fixed in Python 3.5.
Work around it for now.
9 years ago
Suhas Daftuar
5add7a74a6
Track transaction packages in CTxMemPoolEntry
...
Associate with each CTxMemPoolEntry all the size/fees of descendant
mempool transactions. Sort mempool by max(feerate of entry, feerate
of descendants). Update statistics on-the-fly as transactions enter
or leave the mempool.
Also add ancestor and descendant limiting, so that transactions can
be rejected if the number or size of unconfirmed ancestors exceeds
a target, or if adding a transaction would cause some other mempool
entry to have too many (or too large) a set of unconfirmed in-
mempool descendants.
9 years ago
Jonas Schnelli
110a1fd727
enable zmq-test in rpc-tests.sh
9 years ago
Jeff Garzik
83f0e22497
Temporarily disable ZMQ tests in bitcoin test suite
9 years ago
Jonas Schnelli
312cfe63a3
fix rpc-tests.sh
...
`${testScripts[@]}` now does split up `testscript --agument` in two elements pushed to the array (`testscript` and `--agument`).
9 years ago
Jonas Schnelli
07f70b2dde
[QA] fix netbase tests because of new CSubNet::ToString() output
9 years ago
Jonas Schnelli
029e278286
QA: Add ZeroMQ RPC test
9 years ago
Cory Fields
1136879df8
Depends: Add ZeroMQ package
9 years ago
Wladimir J. van der Laan
d528025517
Revert "rpc-tests: re-enable rpc-tests for Windows"
...
This reverts commit bd30c3dced
.
Disable windows RPC tests for now. These should be re-enabled once a
suitable Wine version is used on Travis.
9 years ago
Wladimir J. van der Laan
ee2a42b447
tests: GET requests cannot have request body, use POST in rest.py
...
Sending a request body with GET request is not valid in HTTP spec, and
not compatible with evhttpd.
9 years ago
Wladimir J. van der Laan
8f9301cdaa
qa: Remove -rpckeepalive tests from httpbasics
...
This option was a temporary workaround, and is no longer necessary
with the new web server.
9 years ago
ptschip
060058e955
Enable python tests for Native Windows
...
1) Multiplatorm support for devnull
2) Fixed a bug in the handling of cache files
3) Deleted run-bitcoin-cli as no longer needed
9 years ago
Cory Fields
bd30c3dced
rpc-tests: re-enable rpc-tests for Windows
9 years ago
Casey Rodarmor
0ce73985a8
Add p2p-fullblocktest.py
9 years ago
Daniel Kraft
2016576998
Fix crash when mining with empty keypool.
...
Since the introduction of the ScriptForMining callback, the mining
functions (setgenerate and generate) crash with an assertion failure
(due to a NULL pointer script returned) if the keypool is empty. Fix
this by giving a proper error.
9 years ago
Pavel Janík
70180b2e57
Implement REST mempool API, add test and documentation.
9 years ago
Casey Rodarmor
45a6cce971
Fix race condition on test node shutdown
9 years ago
Veres Lajos
9f68ed6b6d
typofixes (found by misspell_fixer)
9 years ago
mruddy
af3208bfa6
Resolve issue 3166.
...
These changes decode valid SIGHASH types on signatures in assembly (asm) representations of scriptSig scripts.
This squashed commit incorporates substantial helpful feedback from jtimon, laanwj, and sipa.
10 years ago
Jonas Schnelli
7d226b7ca0
[QA] add testcases for parsing strings as values
10 years ago
Casey Rodarmor
56b28fca46
Don't share objects between TestInstances
10 years ago
Matt Corallo
6bdb474dc9
Implement watchonly support in fundrawtransaction
...
Some code and test cases stolen from
Bryan Bishop <bryan@ledgerx.com> (pull #5524 ).
10 years ago
Matt Corallo
907a425aa5
Add p2sh option to importaddress to import redeemScripts
10 years ago