Per Grön
d4ab94a6d9
Print result of RPC call in test only when PYTHON_DEBUG is set
7 years ago
Per Grön
8993edfb77
Deduplicate test utility method wait_and_assert_operationid_status
Strictly speaking this is not a true deduplication; the test output will be
slightly different (due to inconsistent print statements) but I think this is
close enough.
7 years ago
Jay Graber
73b220cb0f
Add rpc test that exercises z_importkey
7 years ago
Jack Grigg
e319633435
Add Sprout value pool to getblock and getblockchaininfo
7 years ago
Simon
61345ae703
Closes #2746 . Payment disclosure blobs now use 'zpd:' prefix.
7 years ago
Simon
159aa37fc0
Closes #2759 . Fixes broken pipe error with QA test wallet.py.
7 years ago
Simon
ba1dbb3040
RPC dumpwallet and z_exportwallet updated to no longer allow
overwriting an existing file.
7 years ago
Simon
45232b1961
Add payment disclosure as experimental feature.
7 years ago
Simon
337bca8125
Fix an issue where qa test wallet_shieldcoinbase could hang.
The mempool was not synced so a block could be generated and not
clear out the mempool. This would then cause subsequent code
which expected the mempool of all nodes to be empty to hang.
7 years ago
Simon
c5dabd2b66
Closes #2639 . Adds optional limit parameter with a default value of 50.
The new parameter is to satisfy the principle of least astonishment
by providing a sensible default for the maximum number of transparent
inputs to shield. If users do not configure -mempooltxinputlimit
it is possible for them to create transactions with hundreds of
inputs which suffer from mining delay, due to the current state of
the network where some miners have configured -mempooltxinputlimit
as a way to deal with the problem of quadratic hashing.
7 years ago
Simon
cf72e8e06e
Closes #2263 fixing broken pipe error.
7 years ago
Simon
c2d3bafeaa
Closes #2639 . z_shieldcoinbase is now supported, no longer experimental.
This reverts commit 5023af7bd5
.
7 years ago
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