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
10 years ago
Veres Lajos
9f68ed6b6d
typofixes (found by misspell_fixer)
10 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
zathras-crypto
0aad1f13b2
Exempt unspendable transaction outputs from dust checks
...
Since unspendable outputs can't be spent, there is no threshold at which it would be uneconomic to spend them.
This primarily targets transaction outputs with `OP_RETURN`.
---
Initially based on:
commit 9cf0ae26350033d43d5dd3c95054c0d1b1641eda
Author: zathras-crypto <zathrasc@gmail.com>
Date: Wed Mar 25 02:04:02 2015 -0700
Changes:
- cherry-picked on top of bitcoin:master
- added RPC test for fundrawtransaction
10 years ago
Wladimir J. van der Laan
7650449a67
univalue: Avoid unnecessary roundtrip through double for numbers
...
JSON makes no distinction between numbers and reals, and our code
doesn't need to do so either.
This removes VREAL, as well as its specific post-processing in
`UniValue::write`. Non-monetary amounts do not need to be forcibly
formatted with 8 decimals, so the extra roundtrip was unnecessary
(and potentially loses precision).
10 years ago
fanquake
db42558b82
Remove bash test note from rpc-tests readme
10 years ago
Wladimir J. van der Laan
ffad5aa1f4
tests: Remove old sh-based test framework
...
This removes the `conflictedbalance.sh` test as well, but that test has
been broken for a long time and isn't part of any scripts.
What it does is, IMO, sufficiently tested by other tests.
10 years ago
Jonas Schnelli
9da8fc8f26
[QA] remove rawtransactions.py from the extended test list
...
rawtransactions.py is already in the standard test list
10 years ago
Jonas Schnelli
6ed38b0b8f
[QA] fix possible reorg issue in rawtransaction.py/fundrawtransaction.py RPC test
...
- added missing mempool sync between block generations
10 years ago
Tom Harding
8a0b933aae
Fix intermittent test failure, reduce test time
...
In txn_clone.py, non-essential test transaction tx2 was asserted
to be unconfirmed, but would occasionally confirm depending on
network behavior. Fix by explicitly sharing with miner and
checking for 1 confirmation.
Reduce required conflict tests from 4 to 2, by moving one invocation
each of txn_clone.py and txn_doublespend.py to the extented test
section. This saves about 15 seconds per test run for me.
10 years ago
Jonas Schnelli
c45c7ea0fa
[REST] add JSON support for /rest/headers/
10 years ago
Wladimir J. van der Laan
56dc70439f
tests: fix txn_clone.py (retry)
...
There was a stale .pyc file around from before the move. This should
catch all missing modules and finally fix the travis build.
10 years ago
Wladimir J. van der Laan
3f16971442
tests: fix txn_clone.py
...
Solve merge conflict of test added in #5881 with #6097 .
10 years ago
Jonas Schnelli
f581d3d656
banlist.dat: store banlist on disk
10 years ago
mruddy
70ae43e9b7
add tests for the decodescript rpc. add mention of the rpc regression tests to the testing seciton of the main readme.
10 years ago
Suhas Daftuar
04b5d235f1
Replace sleep with syncing using pings
10 years ago
Wladimir J. van der Laan
4f40716dcb
test: Move reindex test to standard tests
...
This test finishes very quickly, so it should be part of the default set
of tests in rpc-tests.
10 years ago
Jonas Schnelli
9d79afe9a9
add RPC tests for setban & disconnectnode
10 years ago
Jonas Schnelli
433fb1a95d
[RPC] extend setban to allow subnets
10 years ago
Jonas Schnelli
1086ffba26
[QA] add setban/listbanned/clearbanned tests
10 years ago
Wladimir J. van der Laan
edbdf8855d
tests: Extend RPC proxy tests
...
Also test -noonion
10 years ago
Stephen
ef2a3de25c
Add paytxfee to getwalletinfo, warnings to getnetworkinfo
10 years ago
Jonas Schnelli
208589514c
fundrawtransaction tests
10 years ago
Suhas Daftuar
bfc30b3437
Ignore unrequested blocks too far ahead of tip
10 years ago
Suhas Daftuar
aa8c827968
P2P regression test for new AcceptBlock behavior
10 years ago
Jonas Schnelli
6e71efa9f0
[REST] remove json input for getutxos, limit to query max. 15 outpoints
...
Remove possibility to send json encoded parameters to `/rest/getutxos/` to avoid possible DoS scenarios.
The JSON output option is untouched.
10 years ago
Suhas Daftuar
ee9a2e4271
Fix walletbackup.py after directory restructuring
...
Also add walletbackup.py to rpc-tests.sh
10 years ago
Jonas Schnelli
7b7f258396
rpc-tests: remove python-bitcoinrpc directory
...
place authproxy.py at same level as other utility classes
10 years ago
Jonas Schnelli
a85b2e221b
pull-tester/rpc-tests.sh: disable script_test.py test
10 years ago
Jonas Schnelli
3e875b1bef
pull-tester/rpc-tests.sh: allow passing throug of arguments
10 years ago
Jonas Schnelli
00706a5436
update rpc-tests readme.md
10 years ago
Jonas Schnelli
344e08ed16
extend rpc-tests.sh control script with non-travis tests
10 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago