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
zkbot
c9a2eea5e2
Auto merge of #905 - ebfull:test-suite-fixes, r=ebfull
...
Run `zcash-gtest` in `make check` and fix performance tests.
* gtest tests weren't being run by make check
* performance tests were broken
* We need to automatically upload graphs of performance, [see this PR](https://github.com/Electric-Coin-Company/bbotzc/pull/15 ).
* Moves zerocash tests into `zcash`'s full test suite, we're removing them anyway later and it'd be nice to remove them in the PR instead of from buildbot
2016-05-05 23:29:34 +00:00
zkbot
87485d5ff3
Auto merge of #907 - DoNotUseThisCodeJUSTFORKS:t844-rename-bitcoin-conf, r=defuse
...
Rename bitcoin.conf and bitcoind.pid
This leaves the mentions of those files in `doc/` and `contrib/` unchanged.
**FORCE PUSHED**
2016-05-04 00:55:10 +00:00
Taylor Hornby
aaf6495948
Rename bitcoin.conf and bitcoind.pid to zcash.conf and zcashd.pid in qa/ and src/
2016-05-03 14:01:01 -06:00
Sean Bowe
956dcdde80
Perform zerocash tests as part of full-test-suite, in preparation for removal of zerocash waterfall.
2016-05-03 06:49:15 -06:00
Sean Bowe
6bd8e46922
Run `zcash-gtest` in `make check` and fix performance tests.
2016-05-02 23:14:53 -06:00
Sean Bowe
1760b3cd88
Deprecate the old tree and remove old tree tests from the test suite.
2016-04-28 16:07:52 -06:00
Taylor Hornby
b2cf9ba300
Fix RPC tests
2016-04-28 13:35:47 -06:00
zkbot
f2e157ab25
Auto merge of #846 - DoNotUseThisCodeJUSTFORKS:automated-performance-measurement-zcash-cli-method, r=ebfull
...
Automated performance measurement
Supersedes #843 because that one would have merged into the wrong branch. (Oh yeah and I rebased).
**REBASED AND FORCE PUSHED**
2016-04-11 21:56:12 +00:00
Sean Bowe
6ca317e1cc
Fix remaining RPC tests.
2016-04-11 12:46:46 -06:00
Taylor Hornby
36b1269bc3
Make benchmark specified by command-line arguments
2016-04-11 10:54:55 -06:00
Taylor Hornby
51c8c56b4a
Use a separate datadir for the benchmarks
2016-04-11 10:20:42 -06:00