Commit Graph
15485 Commits
Author SHA1 Message Date
Homu 4ca8f506d7 Auto merge of #2652 - str4d:820-libsnark-subtree, r=str4d
Move libsnark in-repo as a git subtree

This PR pulls in the libsnark subtree at the exact commit that we currently fetch via the depends system. To verify:

```
$ ./contrib/devtools/git-subtree-check.sh src/snark
src/snark in HEAD was last updated to upstream commit 9ada3f84ab484c57b2247c2f41091fd6a0916573 (tree c10a38c759)
src/snark in HEAD currently refers to tree 34e916d3f6
:100644 100644 427f4f4ce9 13e54da68b M	Makefile
:040000 040000 42f29e42d1 dd73536163 M	src
FAIL: subtree directory tree doesn't match subtree commit tree
```

This shows that there are changes relative to what we currently use, due to the later commits in the PR. If we exclude them, we see that the code is identical:

```
$ git checkout 26a8f68ea8
$ ./contrib/devtools/git-subtree-check.sh src/snark
src/snark in HEAD was last updated to upstream commit 9ada3f84ab484c57b2247c2f41091fd6a0916573 (tree c10a38c759)
src/snark in HEAD currently refers to tree c10a38c759
GOOD
```

Closes #820.
2017-10-17 20:41:11 -07:00
Jack Grigg d43b32bbfe Remove OpenSSL libraries from libsnark LDLIBS
Unnecessary in the Zcash libsnark fork.
2017-10-17 20:33:28 -07:00
Jack Grigg 99ca5e1a22 Ensure that libsnark is built first, so its headers are available 2017-10-17 19:04:38 -07:00
Jack Grigg e2283742db Add libsnark to "make clean" 2017-10-17 19:03:41 -07:00
Homu 4c9b77d8fb Auto merge of #2654 - str4d:429-test-driver-script, r=str4d
[Test] New merge test suite driver script

Running the script with no arguments will run all test stages in succession.
Passing one or more stages as arguments will run just those stages.

Closes #429.
2017-10-16 21:51:21 -07:00
Jack Grigg 6e98511cf1 Add stdout notice if any stage fails 2017-10-16 16:16:14 -04:00
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.
2017-10-16 16:15:10 -04:00
jl777 89559d8575 Remove print 2017-10-16 21:16:37 +03:00
Homu a2dc9be5c5 Auto merge of #2533 - str4d:2530-mininode, r=str4d
Migrate MiniNode to Zcash

This enables various RPC tests that use it (most of them in the extended test suite) to properly test Zcash code.

The PR also fixes bugs in the BIP65 and BIP66 tests that were both masking and masked by the un-migrated MiniNode.

The Python module `pyblake2` is now a requirement for the RPC tests.

Part of #2530.
2017-10-16 08:43:58 -07:00
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.
2017-10-16 08:39:59 -07:00
ca333 db402e48fc linux build os detection 2017-10-15 23:51:22 +02:00
ca333 4ea96514c7 Merge pull request #57 from jl777/dev
dev update
2017-10-15 03:44:46 +02:00
jl777 2dbc8e995f Merge pull request #485 from jl777/dev
WIN32 -> _WIN32
2017-10-15 02:06:26 +03:00
jl777 9cb1ec9c6e WIN32 -> _WIN32 2017-10-15 02:04:29 +03:00
jl777 1248a49e4f Fix windows .conf locations 2017-10-15 01:54:15 +03:00
Homu af549fe6ed Auto merge of #2650 - str4d:2645-listunspent-benchmark, r=str4d
Add benchmark for listunspent

Closes #2645.
2017-10-12 15:24:53 -07:00
Homu d7c4e19f80 Auto merge of #2648 - str4d:ci-workers-grind, r=str4d
Add Ansible playbook for grind workers
2017-10-12 14:09:08 -07:00
jl777 1625f62f58 More delay for assetchains.old 2017-10-12 23:51:01 +03:00
Homu 4ad2f17fcb Auto merge of #2659 - str4d:2377-memory-validatelargetx, r=str4d
Add memory benchmark for validatelargetx

Closes #2377.
2017-10-12 13:05:11 -07:00
Jack Grigg 8598c20d40 Changes to get test_r1cs_ppzksnark passing 2017-10-11 21:15:49 +01:00
Jack Grigg 82e839e4ff Add "make libsnark-tests" that runs libsnark's "make check" 2017-10-11 15:22:24 +01:00
Jack Grigg 19f6668c27 Add "make check" to libsnark that runs the Google Tests 2017-10-11 15:21:44 +01:00
Jack Grigg 638e742f3f Update libsnark LDLIBS
-lsodium is necessary as we altered libsnark to use libsodium's RNG.
2017-10-11 15:19:33 +01:00
Jack Grigg 4699d0eb36 Add alt_bn128 to QAP and Merkle tree gadget tests 2017-10-11 15:18:01 +01:00
Jack Grigg df3083fe4e Remove test code corresponding to removed code 2017-10-11 14:59:51 +01:00
Jack Grigg 054ae60645 Migrate libsnark test code to Google Test 2017-10-11 14:54:42 +01:00
jl777 fb58b26e51 Test 2017-10-10 16:00:35 +03:00
jl777 6cfebd395a Test 2017-10-10 15:44:55 +03:00
jl777 fc28273bfe Test 2017-10-10 15:20:08 +03:00
jl777 2ec7c24dc7 Test 2017-10-10 15:11:11 +03:00
jl777 4a5b2da93b Test 2017-10-10 15:04:52 +03:00
jl777 f71a47b0fa Test 2017-10-10 14:59:33 +03:00
jl777 319fa8be55 Test 2017-10-10 14:42:34 +03:00
jl777 1f8581e154 Test 2017-10-10 14:29:37 +03:00
jl777 6da8d0d55e Test 2017-10-10 14:15:58 +03:00
jl777 5dd58d6112 Test 2017-10-10 13:49:50 +03:00
jl777 2f38e8886b Test 2017-10-10 13:36:03 +03:00
jl777 2f38ea0f1f Test 2017-10-10 13:34:24 +03:00
jl777 50a979bc87 Test 2017-10-10 13:32:02 +03:00
jl777 42c6ba054c New interest 2017-10-10 13:17:06 +03:00
Jack Grigg 94790c5d8f Add memory benchmark for validatelargetx 2017-10-09 22:18:28 +01:00
jl777 a08b1ae8e8 README 2017-10-09 21:51:32 +03:00
jl777 30781748c4 Merge pull request #482 from jl777/dev
universal OS tree
2017-10-09 21:35:02 +03:00
jl777 bd901dd742 Reduce print 2017-10-09 18:58:40 +03:00
jl777 c452b1d712 Test 2017-10-09 18:28:12 +03:00
jl777 c2f1df5e07 Test 2017-10-09 18:25:01 +03:00
jl777 827756b650 Test 2017-10-09 18:23:09 +03:00
jl777 3c9b7fbb46 Test 2017-10-09 18:16:41 +03:00
jl777 7a36605c11 Test 2017-10-09 18:15:24 +03:00
jl777 00603efa67 Test 2017-10-09 18:10:08 +03:00