Wladimir J. van der Laan
f3e1770cfb
tests: Disable Tor interaction
This is unnecessary during the current tests (any test for Tor
interaction can explicitly enable it) and interferes with the proxy
test.
9 years ago
Jack Grigg
47855b599d
Revert "Revert "rpc-tests: re-enable rpc-tests for Windows""
This reverts commit 7fd5d4e30e
.
We need to un-revert this before pulling in
https://github.com/bitcoin/bitcoin/pull/6616
7 years ago
Wladimir J. van der Laan
e93a3e1945
test: Avoid ConnectionResetErrors during RPC tests
This is necessary on FreeBSD and MacOSX, at least.
See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
8 years ago
Pieter Wuille
2edad86b2d
Fix interrupted HTTP RPC connection workaround for Python 3.5+
8 years ago
Jack Grigg
53c96bfa6c
Test boolean fallback in z_importkey
7 years ago
Wladimir J. van der Laan
7b41e725d0
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
Wladimir J. van der Laan
7fd5d4e30e
Revert "rpc-tests: re-enable rpc-tests for Windows"
This reverts commit bd30c3dced21fca869a14c75081f15195762afe1.
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
cc14ac45f4
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
14dcc6ab96
qa: Remove -rpckeepalive tests from httpbasics
This option was a temporary workaround, and is no longer necessary
with the new web server.
10 years ago
Jack Grigg
bec25c91cb
Revert "Closes #1680 , temporary fix for rpc deadlock inherited from upstream."
This reverts commit f4404d7b5b
.
7 years ago
Jack Grigg
b7e5b7d5ee
Simplify z_importkey by making rescan a string
Transparently handles older boolean values as well.
7 years ago
Jack Grigg
a31ba7a0cb
Usability improvements for z_importkey
- Add height parameter to z_importkey to reduce rescan range
- Change semantics of rescan parameter, so users can explicitly force a rescan
for existing keys.
Closes #2032
7 years ago
Jack Grigg
542a7a40f1
Add tests for getmempoolinfo
7 years ago
Pavel Janík
30c163d99d
Implement REST mempool API, add test and documentation.
9 years ago
Casey Rodarmor
df8f8095b6
Don't share objects between TestInstances
9 years ago
Wladimir J. van der Laan
7cc6648341
tests: Extend RPC proxy tests
Also test -noonion
9 years ago
Jack Grigg
25b8f796ff
Re-encode t-addrs in disablewallet.py with Zcash prefixes
7 years ago
Jack Grigg
5329495fe4
Adjust fundrawtransaction RPC test for Zcash
- Enable wallet encryption
- Correct block reward
7 years ago
Wladimir J. van der Laan
56215c77d8
Fix crash in validateaddress with -disablewallet
Fix a null pointer dereference in validateaddress with -disablewallet. Also add a regression testcase.
9 years ago
Jonas Schnelli
c2616abb3c
[QA] add testcases for parsing strings as values
9 years ago
Wladimir J. van der Laan
d101d7b8e6
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).
Zcash: cherry-picked from commit 7650449a6777710cf818d41862626164da0cd412
Left over from 2aee461930
9 years ago
zathras-crypto
a11c4bbd26
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
9 years ago
Jonas Schnelli
5bfd954fc6
[QA] remove rawtransactions.py from the extended test list
rawtransactions.py is already in the standard test list
9 years ago
Jonas Schnelli
897a370c39
[QA] fix possible reorg issue in rawtransaction.py/fundrawtransaction.py RPC test
- added missing mempool sync between block generations
9 years ago
Jonas Schnelli
81eb80d841
[REST] add JSON support for /rest/headers/
10 years ago
mruddy
81ae51c883
add tests for the decodescript rpc. add mention of the rpc regression tests to the testing seciton of the main readme.
9 years ago
Wladimir J. van der Laan
bf890b6518
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.
9 years ago
Jonas Schnelli
788d8e6a6f
fundrawtransaction tests
9 years ago
Jonas Schnelli
2ab237a088
add RPC tests for setban & disconnectnode
9 years ago
Jonas Schnelli
e521939942
[RPC] extend setban to allow subnets
9 years ago
Jonas Schnelli
962ec4b5e4
[QA] add setban/listbanned/clearbanned tests
9 years ago
Stephen
6699b42518
Add paytxfee to getwalletinfo, warnings to getnetworkinfo
9 years ago
Simon
85c9ecb846
Part of #1969 . Update tests to avoid error 'absurdly high fee' from change in min fee calc.
7 years ago
Simon
ebe750a882
Part of #1969 . Changing min fee calculation also changes the dust threshold.
7 years ago
Jay Graber
8d2dac6e3f
Inc num of txs in test mempool
7 years ago
Jay Graber
cc64e2ccc8
Add rpc test for prioritisetransaction
8 years ago
Simon
238fec642d
Update test to check for updated error messages in AmountFromValue().
7 years ago
Simon
91270dcfbc
Update test to check for more joinsplit related fields in getrawtransaction
7 years ago
Jack Grigg
b8eb37757b
Require -experimentalmode for wallet encryption
7 years ago
Jack Grigg
8db0dd93e4
Add test to check for presence of vpub_old & vpub_new in getrawtransaction
7 years ago
Jonas Schnelli
9bbc220641
fix rpc-tests.sh
`${testScripts[@]}` now does split up `testscript --agument` in two elements pushed to the array (`testscript` and `--agument`).
9 years ago
Simon
75bb764bb8
Add test for z_sendmany with fee of 0
7 years ago
Jonas Schnelli
3ba2e19e2b
[ZMQ] append a message sequence number to every ZMQ notification
8 years ago
Jack Grigg
c7cb3c13ea
[qa] py2: Unfiddle strings into bytes explicitly in ZMQ RPC test
Extracted from bitcoin/bitcoin#7853
commit faa41ee204124da19dcf1e5b8a3aef1e216bf5e6
7 years ago
Jack Grigg
a9445db62f
Fix python syntax in ZMQ RPC test
Extracted from bitcoin/bitcoin#7335
commit 7777994846cdb9b9cf69e391a33eeed30393bbcf
7 years ago
Cory Fields
5088de4bb8
travis: install a recent libzmq and pyzmq for tests
9 years ago
Jonas Schnelli
5c7f84cf26
[travis] add zmq python module
9 years ago
Jonas Schnelli
da0e7aa1d7
QA: Add ZeroMQ RPC test
9 years ago
Cory Fields
cce7754eb8
Depends: Add ZeroMQ package
9 years ago
Simon
aa0ab69a15
Closes #2024 by documenting and testing method field in z_getoperationstatus
7 years ago