Simon
db026807b8
Add z_sendmany rule that when sending coinbase utxos to a zaddr
they must be consumed entirely, without any change, since there
is currently no way to specify a change address in z_sendmany.
8 years ago
Jack Grigg
dfe29d5988
Disable metrics screen in performance-measurements.sh
8 years ago
Daira Hopwood
02a4ace02c
Disable metrics screen in RPC tests
Author: Jack Grigg <jack@z.cash>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Jack Grigg
bc54cf06cc
Fix RPC test
8 years ago
Jack Grigg
07064ea2d1
GBT: Add RPC tests
8 years ago
Jack Grigg
1628efedaf
GBT: Correct block header in proposals RPC test
8 years ago
Daira Hopwood
deba66ca55
Fix other potential race conditions similar to ref #1597 in RPC tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Daira Hopwood
f0f838f081
Fix race condition in rpc-tests/wallet_protectcoinbase.py. closes #1597
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Daira Hopwood
5d985da5c1
Repair check-security-hardening.sh.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Simon
5eed758493
Update test to use integer amount as well as decimal amount when calling z_sendmany
8 years ago
Jack Grigg
2b499f4386
Fix RPC tests that require wallet encryption
8 years ago
Simon
2b1cda3b6a
Return improved error message when trying to spend Coinbase coins ( #1373 ).
Extra parameter added to AvailableCoins to include or exclude Coinbase coins.
SelectCoins, used for sending taddr->taddr, will exclude Coinbase coins.
Added qa rpc test and a runtime parameter -regtestprotectcoinbase to enforce
the coinbase->zaddr consensus rule in regtest mode.
8 years ago
Jack Grigg
ddea44a27e
Update comments
8 years ago
Jack Grigg
1a62587e9a
Delay caching of nullifiers when wallet is locked
Closes #1502
8 years ago
Jack Grigg
8f445ee774
Break the RPC test by encrypting the mirroring wallet
8 years ago
Jack Grigg
52fdce985f
Add RPC test showing correct handling of JS txns from blockchain
For unencrypted wallets, the wallet correctly tracks JoinSplits made for their
zkey in a different wallet.
8 years ago
Daira Hopwood
3040239e2a
Cosmetics in RPC tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Daira Hopwood
218ded68f3
Fix RPC tests to not rely on accounts.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Simon
f7cfb52d3c
Add vjoinsplit to JSON output of RPC call gettransaction
8 years ago
Daira Hopwood
db5dd18c16
Repair rpc-tests/signrawtransactions.py.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Jack Grigg
f92f004714
Fix zkey test
8 years ago
Simon
86cf60b5c8
Fixes #1345 so that UTXO debit and credits are computed correctly for a transaction.
8 years ago
Daira Hopwood
65b502aa98
Benchmark 50 iterations of solveequihash
Since the parameters changed in z8, the benchmark on speed.z.cash is showing misleading results due to variability. (The quartile and extrema bars will still show the variability with 50 runs, they just won't jump around as much between benchmark data points.)
8 years ago
Jack Grigg
5be6abbf84
Store the Equihash solution in minimal representation in the block header
The genesis blocks and miner tests have been regenerated, because changing the
block header serialisation format changes the block hash, and thus validity.
The Equihash solutions have been removed from the bloom test inputs for
simplicity (block validity is not checked there; only a valid serialisation is
necessary).
8 years ago
Jack Grigg
649be423f8
Fix previous commit
8 years ago
Jack Grigg
6609813753
Simplify optional parameters
8 years ago
Jack Grigg
f7478de67f
Add thread parameter to solveequihash benchmark
Closes #1147
8 years ago
Taylor Hornby
88325d8abb
Add more commands to run unit tests under valgrind.
8 years ago
Taylor Hornby
56734f4b27
Pull in upstream's make check-security, based on upstream PR #6854 and #7424 .
8 years ago
Taylor Hornby
1327d1915a
Add tests for security hardening features
8 years ago
Taylor Hornby
effd7ca1d8
Add checksec.sh from http://www.trapkit.de/tools/checksec.html
8 years ago
Sean Bowe
1737627c4e
Introduce `zcsamplejoinsplit` for creating a raw joinsplit description, and use it to construct the joinsplit for the performance tests that verify joinsplits.
8 years ago
Sean Bowe
d36098f873
Rename `pour` in RPC tests.
8 years ago
Sean Bowe
22de160219
Fixes for indentation and local variable names.
8 years ago
Sean Bowe
fd933ed05e
Fix tests
8 years ago
Sean Bowe
6e33353ea2
Rename pour RPC tests
8 years ago
Sean Bowe
ffcfe76d4f
Change encryptedbucket1 to encryptednote1.
8 years ago
Sean Bowe
b7e4abd6f7
Rename some usage of 'pour'.
8 years ago
Sean Bowe
92b73b0dbb
Remove zerocash tests from full-test-suite.
8 years ago
Sean Bowe
2fbbde597c
Always check valid joinsplits during performance tests, and avoid recomputing them every time we change the circuit.
8 years ago
Sean Bowe
9c45b501ad
Make `validatelargetx` test more accurate, reduce block size limit to 1MB for now.
8 years ago
Sean Bowe
2ba9641767
Fix performance test for block verification.
8 years ago
Jack Grigg
f5edc37f3f
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
8 years ago
Jack Grigg
3985a40d1f
Change default ports
8 years ago
Jack Grigg
3fe29eab90
Fix failing tests
8 years ago
Jack Grigg
196cf25d5b
Update RPC tests to account for decreased block interval
8 years ago
Taylor Hornby
57c074e1e4
Enable -alertnotify for hard fork detection. Test it.
8 years ago
Jack Grigg
9378a04f1b
Update RPC tests to account for reserved field
8 years ago
Sean Bowe
1744fec274
Update the zkSNARK parameters.
8 years ago
Sean Bowe
3960e14d91
Update performance measurement transaction.
8 years ago