Nathan Wilcox
24f0aeaf7f
A script to remove "unofficial" tags from a remote, such as github.
Officialness is determined by a regular expression. ;-)
This is handy because we often want upstream Bitcoin tags for local
diffs, but sometimes we accidentally upload them to github which then
claims they are our releases, which is confusing and misleading.
8 years ago
Sean Bowe
69c0f9128c
Enforce that the `S` value of the ed25519 signature is smaller than the group order to prevent malleability attacks.
8 years ago
Sean Bowe
320f2cc7e0
Switch to Ed25519 for cryptographic binding of joinsplits to transactions.
8 years ago
Taylor Hornby
b48122b57b
Fix tests for JoinSplit signatures
8 years ago
Taylor Hornby
a138f81404
Implement signature verification in CheckTransaction
8 years ago
Taylor Hornby
ed6c1b5d15
We don't want to benchmark signature creation / verification.
8 years ago
Taylor Hornby
6aae9d1a55
Sign JoinSplit transactions
8 years ago
zkbot
212cdc4fa4
Auto merge of #972 - bitcartel:zc.v0.11.2.z3_issue_651_remove_bitcoin_seeds, r=ebfull
Remove Bitcoin mainnet and testnet seeds.
Simple patch for issue #651 to remove hard-coded mainnet and testnet seeds
- they currently point to bitcoin nodes
- some are .onion addresses but Tor support has not yet been added
- gets rid of error messages in debug.log which might confuse people testing the alpha builds
8 years ago
Simon
17c4c0db48
Remove Bitcoin mainnet seeds.
8 years ago
zkbot
b1f699660f
Auto merge of #887 - str4d:mining-slow-start, r=ebfull
Implement mining slow start
Closes #762 .
8 years ago
Jack Grigg
068e2f1a09
Fix comment
8 years ago
Simon
1cf94c69e8
Remove Bitcoin testnet seeds.
8 years ago
Sean Bowe
6ef996a3b6
Make sigop limit `20000` just as in Bitcoin, ignoring our change to the blocksize limit.
8 years ago
Taylor Hornby
fc8c101acf
Enable -v for valgrind so we can see counts for each error.
8 years ago
Taylor Hornby
0af5e31282
Pass -DPURIFY to OpenSSL so it doesn't clutter valgrind output.
8 years ago
Taylor Hornby
d578de8e27
Add ability to run things under valgrind.
8 years ago
Sean Bowe
fd7c139e37
Pass `-fopenmp` at compile-time to enable MULTICORE.
8 years ago
Sean Bowe
e6c2d66c93
Enable MULTICORE proving behavior with omp.
8 years ago
zkbot
8ff7c0752e
Auto merge of #954 - ebfull:fix-cpourtx-structure, r=ebfull
CPourTx structural changes
* Enable binary serialization of proofs and the proving key (closes #799 ) and make the proofs fixed-size.
* Reorder fields of CPourTx to match the spec (closes #927 )
8 years ago
zkbot
1f07deb5db
Auto merge of #956 - ebfull:uint252, r=ebfull
Enforce first four bits are zero for all spending keys and phi.
This introduces a `uint252` to ensure these fields are 252-bits for the PRFs.
Closes #899
8 years ago
Simon
0dd2bf94dd
Declare constants for the maximum number of retries, when to sleep
between retries and how long for.
8 years ago
Philip Kaufmann
0116e20ea1
remove using namespace std from addrman.cpp
Signed-off-by: Simon <simon@bitcartel.com>
9 years ago
Patrick Strateman
7bfb552f63
CAddrMan::Deserialize handle corrupt serializations better.
Signed-off-by: Simon <simon@bitcartel.com>
8 years ago
Ethan Heilman
1bf2cb1a06
Increase test coverage for addrman and addrinfo
Adds several unittests for CAddrMan and CAddrInfo.
Increases the accuracy of addrman tests.
Removes non-determinism in tests by overriding the random number generator.
Extracts testing code from addrman class to test class.
Signed-off-by: Simon <simon@bitcartel.com>
9 years ago
EthanHeilman
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.
Signed-off-by: Simon <simon@bitcartel.com>
9 years ago
Sean Bowe
23c6d3aba8
Increase block size limit to 2MB.
8 years ago
Sean Bowe
6b5d608899
Update proving key and tests that depend on transaction structure changes
8 years ago
Sean Bowe
3ebca007f3
Reorder fields of CPourTx to reflect the spec.
8 years ago
Sean Bowe
9285bba885
Enable binary serializations of proofs and r1cs keys, and make the `CPourTx` proof field fixed-size.
8 years ago
Sean Bowe
defe37a6d4
Enforce first four bits are zero for all spending keys and phi.
8 years ago
Jack Grigg
b5c6a3af12
Use optimised Equihash solver for miner and benchmarks
The basic solver is still used for regtest-only purposes.
8 years ago
Jack Grigg
d4d76536a5
Use fixed-width array for storing hash and indices
8 years ago
Jack Grigg
29d9986c83
Store full indices in the same char* as the hash
8 years ago
Jack Grigg
639c40047f
Use comparator object for sorting StepRows
8 years ago
Jack Grigg
a683cc85d9
Merge *StepRow XOR and trimming operations
8 years ago
Jack Grigg
e95747288a
Use template parameters to statically initialise Equihash
8 years ago
zkbot
9cf13a3e85
Auto merge of #955 - loxal:zc.v0.11.2.latest, r=ebfull
#776 add sha256sum support for Mac OS X
8 years ago
zkbot
4ac1841614
Auto merge of #958 - ebfull:prf-refactor, r=ebfull
Refactor PRF_gadget to hand responsibility to PRF_addr_a_pk_gadget for creating the '0' argument to the PRF
Closes #930
8 years ago
Jack Grigg
39f5cb35f9
Store truncated indices in the same char* as the hash (H/T tromp for the idea!)
8 years ago
Jack Grigg
c92c1f6050
Implement index-truncation Equihash optimisation
8 years ago
Jack Grigg
6afef0dd6d
Cleanups
8 years ago
Jack Grigg
a3361e778b
Refactor StepRow to make optimisation easier
8 years ago
zkbot
0395055549
Auto merge of #961 - alfiedotwtf:zc.v0.11.2.latest, r=ebfull
Rename libzerocash to libzcash
Rename libzerocash to libzcash in Makefiles and source (C++ namespace) #960
8 years ago
Alfie John
1785bdb98a
Rename libzerocash to libzcash
8 years ago
Alex
7e540a0b6f
add sha256sum support for Mac OS X
8 years ago
zkbot
a09517f313
Auto merge of #948 - nathan-at-least:t946.fix-cov-zcash, r=nathan-at-least
Fix a test name bug so that ``make cov-zcash`` correctly runs the ``zcash-gtest`` binary. Fixes #946 .
8 years ago
Sean Bowe
1bcdec40a4
Refactor PRF_gadget to hand responsibility to PRF_addr_a_pk_gadget for creating the '0' argument to the PRF.
8 years ago
zkbot
671b9562f1
Auto merge of #943 - str4d:938-clientversion, r=ebfull
Update version and help strings for Zcash
Closes #938 .
8 years ago
Jack Grigg
b3e712a4d2
Minor error message tweak
8 years ago
Jack Grigg
c5d080bb83
Add Zcash Developers to CLI copyright notice
8 years ago