Matt Corallo
b0f8c83f95
Add failing test checking timelocked-txn removal during reorg
9 years ago
libscott
ccb128503e
Update README.md
6 years ago
Scott Sadler
f5cf215f71
extra tests for failure modes and remove CRYPTOCONDITION_OVERSIZE error state
6 years ago
Scott Sadler
456c9e72fd
simplify CC tests
6 years ago
Scott Sadler
82e6c35430
test with invalid crypto-condition fulfillment
6 years ago
Jack Grigg
57e6ecda5a
Implement roll-back limit for reorganisation
Closes #713 .
7 years ago
Scott Sadler
d17b8ec6a2
use a fanout tx to create inputs
6 years ago
libscott
a236c673fe
Update cryptoconditions test suite README
6 years ago
Scott Sadler
4f0da23b91
integration test for hoek and komodod with -ac_cc
6 years ago
Scott Sadler
33c35a949d
remove test file that shoudnt be there
6 years ago
Simon
072099d788
Implementation of Overwinter transaction format ZIP 202.
6 years ago
Scott Sadler
6585a02268
cli method to create CC transaction
6 years ago
Jack Grigg
9e8f1d09ca
zkey_import_export: Synchronize mempools before mining
Resolves a race condition that caused the RPC test to intermittently fail.
Closes #2892 .
6 years ago
Jack Grigg
44e5b42751
Check chainValueZat when checking value pool monitoring
7 years ago
Jack Grigg
5d9cf8ae23
Fix pyflakes warnings in zkey_import_export RPC test
7 years ago
Jack Grigg
44e37656bf
Add watch-only support to Zcash RPC methods
Balance totals do not include spends linked to viewing key addresses, as
nullifiers cannot be calculated and therefore spends cannot be detected.
7 years ago
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