3a10823ad4
Wrap lines in *CTransaction constructors.
Sean Bowe
2016-05-30 19:35:09 -06:00
1e99cbab04
Use joinsplit_sig_t in more places.
Sean Bowe
2016-05-30 19:33:28 -06:00
24f0aeaf7f
A script to remove "unofficial" tags from a remote, such as github.
Nathan Wilcox
2016-05-30 16:54:23 -07:00
69c0f9128c
Enforce that the S value of the ed25519 signature is smaller than the group order to prevent malleability attacks.
Sean Bowe
2016-05-27 13:52:10 -06:00
320f2cc7e0
Switch to Ed25519 for cryptographic binding of joinsplits to transactions.
Sean Bowe
2016-05-30 10:59:20 -06:00
b48122b57b
Fix tests for JoinSplit signatures
Taylor Hornby
2016-05-30 10:53:04 -06:00
a138f81404
Implement signature verification in CheckTransaction
Taylor Hornby
2016-05-26 16:31:18 -06:00
ed6c1b5d15
We don't want to benchmark signature creation / verification.
Taylor Hornby
2016-05-26 16:28:59 -06:00
6aae9d1a55
Sign JoinSplit transactions
Taylor Hornby
2016-05-24 15:33:41 -06:00
212cdc4fa4
Auto merge of #972 - bitcartel:zc.v0.11.2.z3_issue_651_remove_bitcoin_seeds, r=ebfull
zkbot
2016-05-27 18:55:42 +00:00
17c4c0db48
Remove Bitcoin mainnet seeds.
Simon
2016-05-27 11:37:41 -07:00
b1f699660f
Auto merge of #887 - str4d:mining-slow-start, r=ebfull
zkbot
2016-05-27 02:15:24 +00:00
068e2f1a09
Fix comment
Jack Grigg
2016-05-27 11:29:08 +12:00
1cf94c69e8
Remove Bitcoin testnet seeds.
Simon
2016-05-25 17:00:44 -07:00
6ef996a3b6
Make sigop limit 20000 just as in Bitcoin, ignoring our change to the blocksize limit.
Sean Bowe
2016-05-25 16:46:36 -06:00
fc8c101acf
Enable -v for valgrind so we can see counts for each error.
Taylor Hornby
2016-05-18 18:49:59 -06:00
0af5e31282
Pass -DPURIFY to OpenSSL so it doesn't clutter valgrind output.
Taylor Hornby
2016-05-18 18:39:40 -06:00
d578de8e27
Add ability to run things under valgrind.
Taylor Hornby
2016-05-18 18:03:43 -06:00
fd7c139e37
Pass -fopenmp at compile-time to enable MULTICORE.
Sean Bowe
2016-05-25 15:59:59 -06:00
e6c2d66c93
Enable MULTICORE proving behavior with omp.
Sean Bowe
2016-05-25 11:19:13 -06:00
8ff7c0752e
Auto merge of #954 - ebfull:fix-cpourtx-structure, r=ebfull
zkbot
2016-05-25 16:33:31 +00:00
1f07deb5db
Auto merge of #956 - ebfull:uint252, r=ebfull
zkbot
2016-05-25 14:59:00 +00:00
0dd2bf94dd
Declare constants for the maximum number of retries, when to sleep between retries and how long for.
Simon
2016-05-24 23:56:31 -07:00
0116e20ea1
remove using namespace std from addrman.cpp
Philip Kaufmann
2015-06-15 14:45:19 +02:00
1bf2cb1a06
Increase test coverage for addrman and addrinfo
Ethan Heilman
2015-12-12 22:34:08 -05:00
8375e1a3e7
Creates unittests for addrman, makes addrman testable. Adds several unittests for addrman to verify it works as expected. Makes small modifications to addrman to allow deterministic and targeted tests.
EthanHeilman
2015-09-22 15:24:16 -04:00
23c6d3aba8
Increase block size limit to 2MB.
Sean Bowe
2016-05-24 11:23:55 -06:00
6b5d608899
Update proving key and tests that depend on transaction structure changes
Sean Bowe
2016-05-23 10:13:20 -06:00
3ebca007f3
Reorder fields of CPourTx to reflect the spec.
Sean Bowe
2016-05-23 09:50:41 -06:00
9285bba885
Enable binary serializations of proofs and r1cs keys, and make the CPourTx proof field fixed-size.
Sean Bowe
2016-05-23 09:47:23 -06:00
defe37a6d4
Enforce first four bits are zero for all spending keys and phi.
Sean Bowe
2016-05-16 09:50:31 -06:00
b5c6a3af12
Use optimised Equihash solver for miner and benchmarks
Jack Grigg
2016-05-24 12:08:13 +12:00
d4d76536a5
Use fixed-width array for storing hash and indices
Jack Grigg
2016-05-07 16:36:54 +12:00
29d9986c83
Store full indices in the same char* as the hash
Jack Grigg
2016-05-06 14:13:15 +12:00
639c40047f
Use comparator object for sorting StepRows
Jack Grigg
2016-05-06 12:17:42 +12:00
a683cc85d9
Merge *StepRow XOR and trimming operations
Jack Grigg
2016-05-05 17:05:27 +12:00
e95747288a
Use template parameters to statically initialise Equihash
Jack Grigg
2016-05-05 15:00:44 +12:00
9cf13a3e85
Auto merge of #955 - loxal:zc.v0.11.2.latest, r=ebfull
zkbot
2016-05-24 03:47:03 +00:00
4ac1841614
Auto merge of #958 - ebfull:prf-refactor, r=ebfull
zkbot
2016-05-24 01:11:44 +00:00
39f5cb35f9
Store truncated indices in the same char* as the hash (H/T tromp for the idea!)
Jack Grigg
2016-05-04 13:47:49 +12:00
c92c1f6050
Implement index-truncation Equihash optimisation
Jack Grigg
2016-04-19 13:41:06 +12:00
6afef0dd6d
Cleanups
Jack Grigg
2016-04-20 22:44:41 +12:00
a3361e778b
Refactor StepRow to make optimisation easier
Jack Grigg
2016-04-16 01:14:37 +12:00
0395055549
Auto merge of #961 - alfiedotwtf:zc.v0.11.2.latest, r=ebfull
zkbot
2016-05-23 22:49:59 +00:00
1785bdb98a
Rename libzerocash to libzcash
Alfie John
2016-05-24 08:36:48 +10:00
7e540a0b6f
add sha256sum support for Mac OS X
Alex
2016-05-23 10:30:09 +02:00
a09517f313
Auto merge of #948 - nathan-at-least:t946.fix-cov-zcash, r=nathan-at-least
zkbot
2016-05-23 21:44:20 +00:00
1bcdec40a4
Refactor PRF_gadget to hand responsibility to PRF_addr_a_pk_gadget for creating the '0' argument to the PRF.
Sean Bowe
2016-05-23 10:43:25 -06:00
671b9562f1
Auto merge of #943 - str4d:938-clientversion, r=ebfull
zkbot
2016-05-21 00:30:13 +00:00
b3e712a4d2
Minor error message tweak
Jack Grigg
2016-05-21 11:48:52 +12:00
c5d080bb83
Add Zcash Developers to CLI copyright notice
Jack Grigg
2016-05-18 17:25:04 +12:00
a1de76c7a0
Bitcoin -> Zcash in version and help text
Jack Grigg
2016-05-18 17:23:47 +12:00
7fde87cd4e
Fix a test name bug so that `make cov-zcash correctly runs the zcash-gtest` binary. Fixes#946.
Nathan Wilcox
2016-05-19 10:52:28 -07:00
be1bae14e8
Hide new Boost warnings on GCC 6.
Taylor Hornby
2016-05-18 11:19:54 -06:00
e334392fab
Patch libsnark to build with my compiler. Upstream PR #35.
Taylor Hornby
2016-05-18 10:57:30 -06:00
6dc53bdc33
Turn on -Werror for the Zcash build.
Taylor Hornby
2016-05-17 15:47:51 -06:00
7c1ccd9006
Remove unused code in libzerocash util.cpp
Taylor Hornby
2016-05-17 15:09:33 -06:00
ec3bd70b6d
Ignore deprecated declaration warnings.
Taylor Hornby
2016-05-17 14:28:51 -06:00
675e17022f
Use left shift instead of floating-point pow() in equihash.
Taylor Hornby
2016-05-17 13:44:20 -06:00
6fe2e85816
Use HARDENED_CPPFLAGS in the Makefile consistently.
Taylor Hornby
2016-05-17 13:38:17 -06:00
67f3fe3d25
Fix FORTIFY_SOURCE build errors.
Taylor Hornby
2016-05-17 13:36:44 -06:00
e857a0cd1f
Fix build warnings in sighash tests.
Taylor Hornby
2016-05-17 13:15:06 -06:00
fe0cacd2d8
Add Zcash revision to version strings
Jack Grigg
2016-05-18 16:50:28 +12:00
a6770caa45
Update versions and release notes.
Sean Bowe
2016-05-16 23:08:35 -06:00
383f8b0c8a
Change testnet network magics.
Sean Bowe
2016-05-16 20:31:38 -06:00
bf2e3122ac
Remove the Merkle tree hash function's fixed point.
Taylor Hornby
2016-05-04 09:15:14 -06:00
9e387120eb
Auto merge of #908 - ebfull:trafford, r=ebfull
zkbot
2016-05-17 01:04:49 +00:00
b0f75847ea
Fix issue #717 where if addrman is starved of addresses (e.g. on testnet) the Select_() function will loop endlessly trying to find an address, and therefore eat up 100% cpu time on the 'opencon' thread.
Simon
2016-05-13 15:48:10 -07:00
1896a89cac
Add h_sig test vectors.
Sean Bowe
2016-05-12 16:27:54 -06:00
3e0af61b86
Update zkSNARK proving/verifying keys.
Sean Bowe
2016-05-12 14:42:13 -06:00
81469bbb83Note values should be little-endian byte order.
Sean Bowe
2016-05-12 13:19:13 -06:00
032164d5d5
Rename hmac -> mac in circuit.
Sean Bowe
2016-05-11 13:06:47 -06:00
a9640f67f1
Rename ZCASH_ constants to ZC_.
Sean Bowe
2016-05-11 12:58:49 -06:00
53ab7c06ba
Use inheritance for PRF gadgets.
Sean Bowe
2016-05-10 16:20:30 -06:00
ccb439c510
Protect-style joinsplits should anchor to the latest root for now, until #604 is resolved.
Sean Bowe
2016-05-05 21:58:02 -06:00
0cdfab1d92
Remove the zerocash tests from the full test suite.
Sean Bowe
2016-05-05 21:24:49 -06:00
ddb03c3e8d
Fix performance measurements due to modified transaction structure.
Sean Bowe
2016-05-05 21:23:41 -06:00
b8d320df19
Update public zkSNARK parameters for new circuit.
Sean Bowe
2016-05-04 18:26:37 -06:00
4ec57478c4
Remove nearly all of libzerocash.
Sean Bowe
2016-05-04 18:26:35 -06:00
0d990f31a7
Stop testing old tree against new tree.
Sean Bowe
2016-05-04 18:26:33 -06:00
5975bf1c32
Added public zkSNARK parameter generation utility.
Sean Bowe
2016-05-04 18:26:24 -06:00
2dc3599271
Transplant of libzcash.
Sean Bowe
2016-05-04 18:26:21 -06:00
2140639309
Remove scriptPubKey/scriptSig from CPourTx, and add randomSeed.
Sean Bowe
2016-05-04 18:26:19 -06:00
5a2db9e283
libzcash: Add tests for API
Sean Bowe
2016-05-04 18:26:16 -06:00
dbab243725
zkSNARK: Add constraint that the total value in a JoinSplit is a 64-bit integer.
Daira Hopwood
2016-05-04 18:26:13 -06:00
59c3d926c6
zkSNARK: Enforce merkle authentication path from nonzero-valued public inputs to root.
Sean Bowe
2016-05-04 18:26:10 -06:00
fcece37f00
zkSNARK: Witness commitments to input notes.
Sean Bowe
2016-05-04 18:26:07 -06:00
e5f7c49d55
zkSNARK: Ensure that values balance correctly.
Sean Bowe
2016-05-04 18:26:05 -06:00
5e61a78fec
zkSNARK: Enforce disclosure of commitments to output notes.
Sean Bowe
2016-05-04 18:26:02 -06:00
6b010d9bfd
zkSNARK: Enforce that new output notes have unique rho to prevent faerie gold attack.
Sean Bowe
2016-05-04 18:25:59 -06:00
e52f40e839
zkSNARK: Authenticate h_sig with a_sk
Sean Bowe
2016-05-04 18:25:56 -06:00
2a2f3fb80f
zkSNARK: Enforce disclosure of input note nullifiers
Sean Bowe
2016-05-04 18:25:54 -06:00
ca8d6c9347
zkSNARK: Enforce spend-authority of input notes.
Sean Bowe
2016-05-04 18:25:51 -06:00