Jonathan "Duke" Leto
8774b1031c
Various branding changes and some copyrights
7 years ago
Larry Ludlow
030ceb26c5
fix qa tests
7 years ago
Jack Grigg
091c089d03
Fix incorrect failure in memory benchmark
7 years ago
Jack Grigg
72b4f0b3e6
Individualise performance-measurements.sh errors for debugging
7 years ago
Simon
5023af7bd5
Closes #2637 . Make z_shieldcoinbase an experimental feature where it
can be enabled with: zcashd -experimentalfeatures -zshieldcoinbase.
7 years ago
Jack Grigg
f897e075c2
Fix pyflakes warnings in RPC tests
7 years ago
Simon
06c19063bb
Implement RPC shield_coinbase #2448 .
7 years ago
Jack Grigg
109fed51ff
Additional test cases for importprivkey RPC test
7 years ago
Simon
5a0721f0fe
Set up a clean chain.
Delete redundant method wait_until_miner_sees() via use of sync_all().
7 years ago
Simon
b17e1b4080
Closes #2583 . Exclude watch-only utxos from z_sendmany coin selection.
7 years ago
Ariel Gabizon
2e8aefdce1
add load-wallet benchmark
7 years ago
Nathan Wilcox
3e92c028ce
Add a new requirement that `importprivkey` API is idempotent.
7 years ago
Nathan Wilcox
63cdea4233
Add a new rpc-test-specified requirement: `importprivkey` outputs the associated address. (Test fails.)
7 years ago
Nathan Wilcox
d29b6b042f
key_import_export rpc-test: verify that UTXO view co-evolves for nodes sharing a key.
7 years ago
Jack Grigg
e719bf75d4
Adjust instructions for UTXO dataset creation
--nocleanup is sufficient to leave the data directories behind. --noshutdown is
only useful if you want to inspect the nodes afterwards, and you'd need to
manually shut down both nodes before copying the data directories.
7 years ago
Jack Grigg
d669871e8b
Fix bug in benchmark data generation script
7 years ago
Jack Grigg
a76174b76b
Benchmark time to call sendtoaddress with many UTXOs
7 years ago
Simon
d77a0ac4a0
Closes #2446 by adding generated field to listunspent.
If generated is true, the unspent transaction output is from a
coinbase transaction and can only be sent to a shielded address.
7 years ago
Daira Hopwood
ff0f305497
Cosmetics (trailing whitespace, comment conventions, etc.)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Daira Hopwood
811b36ba80
For unused variables reported by pyflakes, either remove the variable,
suppress the warning, or fix a bug (if the wrong variable was used).
refs #2450
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Daira Hopwood
aff0bf7fa1
Clean up imports to be pyflakes-checkable. fixes #2450
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Jack Grigg
6ea58d1531
Use sendfrom for both t-addr calls
7 years ago
Simon
99f6d5da6c
Fix #b1eb4f2 so test checks sendfrom as originally intended.
Also reduce number of z_sendmany calls made so test runs quicker.
7 years ago
Daira Hopwood
193b3e8b28
Delete test that is redundant and inapplicable to Zcash.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Jack Grigg
b1eb4f251a
Fix comment
7 years ago
Jack Grigg
4ef014151d
Additional testing of -mempooltxinputlimit
7 years ago
Daira Hopwood
4a785b0a5b
Repair tests for strict DER signatures.
While we're at it, repair a similar test for CLTV, and make the repaired RPC tests run by default.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Nathan Wilcox
5a027a4a6e
Do not use `-rpcwait` on all `zcash_rpc` invocations, only block when starting zcashd.
7 years ago
Nathan Wilcox
4e47698633
Reuse zcash_rpc.
7 years ago
Nathan Wilcox
453c74743c
Fix a variable name typo.
7 years ago
Nathan Wilcox
0cfc9d65fa
Enable set -u mode.
7 years ago
Jack Grigg
08dc7889d2
Remove additional sources of determinism from benchmark archive
The archive has also been moved from .tar.gz to .tar.xz for a
33% reduction in size.
Closes #2388 .
7 years ago
Jack Grigg
c66c731adf
Add a benchmark for calling ConnectBlock on a block with many inputs
Requires placing block-107134.tar.gz (containing the block, and a fake CoinsDB
containing its inputs) into the base directory of the repository. This can be
generated using qa/zcash/create_benchmark_archive.py (see the script for usage
details).
To facilitate generation of the fake CoinsDB, an additional field 'valueZat' has
been added to 'getrawtransaction' containing the integer number of zatoshis
instead of a decimal number of ZEC.
Closes #2355 .
7 years ago
Jay Graber
0a56135336
Poll on getblocktemplate result rather than use bare sleep to avoid race condition.
7 years ago
Daira Hopwood
80cbdbc749
Fix an error reporting bug due to BrokenPipeError and ConnectionResetError not existing in Python 2.
refs #2263
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Jack Grigg
338ff45787
Use a larger -rpcclienttimeout for slow performance measurements
Closes #2238 .
7 years ago
Simon
99eb947a98
Add AMQP 1.0 support via Apache Qpid Proton C++ API 0.17.0
7 years ago
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
dec148f498
Fix prioritisetransaction RPC test
Part of #1884 .
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
8 years ago