Jack Grigg
8f445ee774
Break the RPC test by encrypting the mirroring wallet
2016-10-14 17:14:13 -05:00
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.
2016-10-14 17:14:13 -05:00
zkbot
7dc49cbc6a
Auto merge of #1490 - str4d:1454-deprecate-accounts, r=bitcartel
...
Throw an RPC error for all accounts except the default
Closes #1454
2016-10-10 23:55:02 -04:00
Daira Hopwood
3040239e2a
Cosmetics in RPC tests.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-10 20:27:16 +01:00
Daira Hopwood
218ded68f3
Fix RPC tests to not rely on accounts.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-10 20:26:52 +01:00
Simon
f7cfb52d3c
Add vjoinsplit to JSON output of RPC call gettransaction
2016-10-06 19:53:46 -07:00
Daira Hopwood
db5dd18c16
Repair rpc-tests/signrawtransactions.py.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-04 23:04:19 +01:00
Jack Grigg
f92f004714
Fix zkey test
2016-10-04 11:05:57 -07:00
zkbot
4f49d32a28
Auto merge of #1427 - bitcartel:master_1345_getbalance, r=bitcartel
...
Fixes #1345 so that RPC getbalance star calculates balance of UTXOs correctly.
2016-10-04 01:20:12 -04:00
Simon
86cf60b5c8
Fixes #1345 so that UTXO debit and credits are computed correctly for a transaction.
2016-10-03 11:06:43 -07:00
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.)
2016-09-19 19:08:24 +01:00
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).
2016-08-16 16:02:39 +12:00
Jack Grigg
649be423f8
Fix previous commit
2016-08-06 02:03:08 +12:00
Jack Grigg
6609813753
Simplify optional parameters
2016-08-06 00:36:33 +12:00
Jack Grigg
f7478de67f
Add thread parameter to solveequihash benchmark
...
Closes #1147
2016-08-05 15:05:38 +12:00
zkbot
abd4c16ae9
Auto merge of #1064 - ThisIsNotOfficialCodeItsJustForks:t915-enable-security-hardening, r=bitcartel
...
Verify security hardening features are turned on
2016-08-03 23:57:05 +00:00
Taylor Hornby
88325d8abb
Add more commands to run unit tests under valgrind.
2016-07-28 14:43:36 -06:00
Taylor Hornby
56734f4b27
Pull in upstream's make check-security, based on upstream PR #6854 and #7424 .
2016-07-21 20:45:10 -06:00
Taylor Hornby
1327d1915a
Add tests for security hardening features
2016-07-21 20:45:07 -06:00
Taylor Hornby
effd7ca1d8
Add checksec.sh from http://www.trapkit.de/tools/checksec.html
2016-07-21 20:45:07 -06:00
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.
2016-07-19 15:49:11 -06:00
Sean Bowe
d36098f873
Rename `pour` in RPC tests.
2016-07-18 10:43:17 -06:00
Sean Bowe
22de160219
Fixes for indentation and local variable names.
2016-07-18 10:07:29 -06:00
Sean Bowe
fd933ed05e
Fix tests
2016-07-18 10:06:18 -06:00
Sean Bowe
6e33353ea2
Rename pour RPC tests
2016-07-18 10:06:18 -06:00
Sean Bowe
ffcfe76d4f
Change encryptedbucket1 to encryptednote1.
2016-07-18 10:06:18 -06:00
Sean Bowe
b7e4abd6f7
Rename some usage of 'pour'.
2016-07-18 10:06:18 -06:00
zkbot
04932a64e8
Auto merge of #1080 - ebfull:performance-check-valid-pour, r=ebfull
...
Always check valid joinsplits during performance tests
This will generate a valid joinsplit instead of using one from an environment variable.
2016-07-11 22:38:25 +00:00
zkbot
ecef582339
Auto merge of #1061 - ebfull:remove-libzerocash-completely, r=ebfull
...
Remove the rest of libzerocash.
Closes #510 .
2016-07-11 16:17:35 +00:00
Sean Bowe
92b73b0dbb
Remove zerocash tests from full-test-suite.
2016-07-11 10:05:55 -06:00
Sean Bowe
2fbbde597c
Always check valid joinsplits during performance tests, and avoid recomputing them every time we change the circuit.
2016-07-09 14:31:43 -06:00
Sean Bowe
9c45b501ad
Make `validatelargetx` test more accurate, reduce block size limit to 1MB for now.
2016-07-06 12:07:50 -06:00
Sean Bowe
2ba9641767
Fix performance test for block verification.
2016-07-05 07:55:35 -06:00
Jack Grigg
f5edc37f3f
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
2016-06-21 13:48:04 +12:00
Jack Grigg
3985a40d1f
Change default ports
2016-06-17 00:21:58 +12:00
zkbot
fe97a405e3
Auto merge of #994 - ebfull:remove-redundant-constraints, r=ebfull
...
Final changes to the circuit
* Remove [redundant](https://github.com/scipr-lab/libsnark/issues/37 ) bitness constraints that I pointed out in #908 .
* The depth is increased from 20 to 29. I chose 29 because the QAP degree ends up being a power of two, which is probably going to be useful for the FFT in our MPC. (Closes #16 )
If we're happy with depth 29 (over 268 million possible joinsplits), this will probably be the final change to the constraint system before 1.0.
2016-06-15 21:39:32 +00:00
zkbot
47e6645005
Auto merge of #1009 - ThisIsNotOfficialCodeItsJustForks:t171-hard-fork-alerts-and-tests, r=ebfull
...
Enable -alertnotify for hard fork detection. Test it.
Closes #171 . Closes #131 .
2016-06-12 18:04:53 +00:00
Jack Grigg
3fe29eab90
Fix failing tests
2016-06-10 16:16:33 +12:00
Jack Grigg
196cf25d5b
Update RPC tests to account for decreased block interval
2016-06-10 12:02:49 +12:00
Taylor Hornby
57c074e1e4
Enable -alertnotify for hard fork detection. Test it.
2016-06-09 13:48:04 -06:00
Jack Grigg
9378a04f1b
Update RPC tests to account for reserved field
2016-06-07 22:45:41 +12:00
Sean Bowe
1744fec274
Update the zkSNARK parameters.
2016-06-03 21:04:07 -06:00
Sean Bowe
3960e14d91
Update performance measurement transaction.
2016-05-31 13:17:55 -06:00
Taylor Hornby
fc8c101acf
Enable -v for valgrind so we can see counts for each error.
2016-05-25 16:42:39 -06:00
Taylor Hornby
0af5e31282
Pass -DPURIFY to OpenSSL so it doesn't clutter valgrind output.
2016-05-25 16:42:39 -06:00
Taylor Hornby
d578de8e27
Add ability to run things under valgrind.
2016-05-25 16:42:36 -06:00
Sean Bowe
6b5d608899
Update proving key and tests that depend on transaction structure changes
2016-05-24 11:09:17 -06:00
Sean Bowe
3e0af61b86
Update zkSNARK proving/verifying keys.
2016-05-12 16:45:12 -06:00
Sean Bowe
0cdfab1d92
Remove the zerocash tests from the full test suite.
2016-05-12 16:44:49 -06:00
Sean Bowe
ddb03c3e8d
Fix performance measurements due to modified transaction structure.
2016-05-12 16:44:49 -06:00