Duke Leto
a20b975a52
Update performance-measurements.sh
Fix error message, as per @daira
7 years ago
Jack Grigg
692bf7a6df
Add --list-stages argument to full_test_suite.py
7 years ago
Jack Grigg
91dd425b4a
Add libsnark tests to full_test_suite.py
7 years ago
Jack Grigg
6e98511cf1
Add stdout notice if any stage fails
7 years ago
Jack Grigg
88fbdc4868
Add bitcoin-util-test.py to full_test_suite.py
Not moved, because upstream makes improvements to this script, and the need to
set environment variables makes it simpler to just use the given script.
7 years ago
Jonathan "Duke" Leto
147fffb7ec
Fix bug where performance-measurements.sh fails hards when given no args
Better than "$1: unbound variable", we ran into this when testing this
script in the Hush repo, so we are pushing this fix upstream.
7 years ago
Jack Grigg
94790c5d8f
Add memory benchmark for validatelargetx
7 years ago
Jack Grigg
c6af0aa453
Move check-security-hardening.sh into full_test_suite.py
7 years ago
Jack Grigg
105b2b6248
Move ensure-no-dot-so-in-depends.py into full_test_suite.py
7 years ago
Jack Grigg
aadf3aa159
Replace full-test-suite.sh with a new test suite driver script
This will be the canonical location for the entire Zcash merge test suite.
7 years ago
Jack Grigg
f8ef223ce3
Un-indent RPC test output in test runner
The indentation caused the test stdout to be buffered and only printed at the
end of the test, which makes it harder to diagnose hanging tests.
7 years ago
Jack Grigg
5455ca0d0e
Fix BIP65 and BIP66 tests
Blocks were being created that didn't satisfy the regtest consensus rules.
7 years ago
Jack Grigg
c10c40779d
[Test] MiniNode: Implement Zcash coinbase
7 years ago
Jack Grigg
7596a4922d
[Test] MiniNode: Coerce OP_PUSHDATA bytearrays to bytes
If a bytearray is passed in as part of an iterable, the CScript constructor
fails because b''.join() cannot be used to join a bytearray to a bytes or str in
Python 2.
7 years ago
Jack Grigg
643235859a
[Test] MiniNode: Fix coinbase creation
CScriptNum is only used for heights > 16.
7 years ago
Jack Grigg
e68c3ec188
[Test] MiniNode: Use Zcash PoW
Equihash solver code extracted from https://github.com/str4d/zcash-pow
RPC tests now require pyblake2 to be installed
7 years ago
Jack Grigg
0de9a481ab
[Test] MiniNode: Update protocol version and network magics
7 years ago
Jack Grigg
31bc3d2581
[Test] MiniNode: Implement Zcash block parsing
7 years ago
Jack Grigg
c47dc872a7
[Test] MiniNode: Implement v2 CTransaction parsing
7 years ago
Jack Grigg
13ca1e8011
[Test] MiniNode: Implement JSDescription parsing
7 years ago
Jack Grigg
99dd50c30c
Add benchmark for listunspent
Closes #2645 .
7 years ago
Jack Grigg
243b6a9d4b
Add connections in BIP65 and BIP66 tests to the test manager
Fixes a bug in the tests causing them to silently pass instead of correctly
reporting other errors. Introduced in 4a785b0a5b
during the test rewrites.
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