Commit Graph

12647 Commits

Author SHA1 Message Date
Taylor Hornby f968506039 Add all-in-one script for starting AFL fuzzing 2019-10-23 11:15:09 -06:00
Taylor Hornby 8a0fb36b21 Add configure option to replace main with a stub for fuzzing 2019-10-22 13:52:32 -06:00
Taylor Hornby 586f54fc39 Add AFL instrumentation scripts to zcutil.
Co-Authored-By: zebambam <bambam@electriccoin.co>
2019-10-22 13:52:28 -06:00
zebambam 7e8b18e480 Added basic fuzzing to the monolith, see ticket #4155 2019-10-15 00:00:21 +00:00
Larry Ruane ffb8e6747b access array element using at() 2019-10-12 19:06:51 -06:00
Larry Ruane a3eb2b8708 update unit tests to compute empty roots 2019-10-12 18:03:36 -06:00
Larry Ruane 7ec8c5d309 precompute empty merkle roots 2019-10-12 18:03:36 -06:00
Homu f25d36b9e8 Auto merge of #4129 - str4d:librustzcash-dev-tooling, r=Eirik0
Developer tooling for librustzcash

Closes #4106.
2019-10-08 10:24:35 -07:00
Homu 4eaad3f77b Auto merge of #4154 - zebambam:remove_stale_seeder, r=Eirik0
Removed stale seeder, fixing #4153

Removed old seeder.
2019-10-07 15:06:20 -07:00
zebambam 3b9237b883 Removed stale seeder, fixing #4153 2019-10-07 13:17:21 -07:00
Homu fafc479fcf Auto merge of #3765 - jeff-liang:addnetworkindicator, r=daira
Display which network the node is running on. Resolves #3760.

Resolves #3760
2019-10-02 08:41:32 -07:00
Homu 8770f88663 Auto merge of #4134 - daira:fix-disable-expiry, r=Eirik0
Fix the use of 0 as expiryheight in createrawtransaction, to disable expiry

fixes #4132
2019-09-26 12:47:13 -07:00
Daira Hopwood 3e37152bf5 Fix setting an expiry height of 0. fixes #4132
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-26 20:43:52 +01:00
Daira Hopwood 7167dc9b2c Test setting an expiry height of 0.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-26 20:43:52 +01:00
Homu 961c0d58ec Auto merge of #4060 - str4d:remove-libsnark, r=daira
Remove libsnark

Closes #167. Closes #416. Closes #418. Closes #437.
Closes #521. Closes #743. Closes #750. Closes #894.
Closes #903. Closes #1125. Closes #1136. Closes #1240.
Closes #1264. Closes #1516. Closes #1517. Closes #1651.
Closes #2064. Closes #2158. Closes #3478. Closes #3652.
Closes #3744.
2019-09-26 11:21:40 -07:00
Homu 62dc5f0821 Auto merge of #4144 - zcash:hotfix-v2.0.7-3, r=str4d
Release v2.0.7-3
2019-09-24 16:02:35 -07:00
Daira Hopwood e3983afc03
Merge pull request #21 from zcash/release-v2.0.7-3
Release v2.0.7-3
2019-09-24 21:18:53 +01:00
Daira Hopwood dffdbcf31d Set Debian changelog urgency to critical.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-24 21:04:45 +01:00
Daira Hopwood 5beb316b6b make-release.py: Updated release notes and changelog for 2.0.7-3. 2019-09-24 21:01:13 +01:00
Daira Hopwood ef508aeb5b make-release.py: Updated manpages for 2.0.7-3. 2019-09-24 21:01:13 +01:00
Daira Hopwood 1e11ffb6bb make-release.py: Versioning changes for 2.0.7-3. 2019-09-24 20:58:26 +01:00
Daira Hopwood 1ef3f7b1d6 Make a note of the shorter service period in the release notes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-24 20:57:02 +01:00
Daira Hopwood 4954114eec
Merge pull request #19 from zcash/release-notes
Add hotfix release notes.
2019-09-24 19:24:36 +01:00
Daira Hopwood 2f5d665f53 Add hotfix release notes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-24 19:23:34 +01:00
Daira Hopwood 921f326132
Merge pull request #18 from zcash/mempool-txnotify-thread
Move mempool SyncWithWallets call into its own thread
2019-09-24 19:22:08 +01:00
Daira Hopwood f5832a9549
Merge pull request #17 from zcash/exception-handling
Ignore exceptions when deserializing note plaintexts
2019-09-24 19:21:34 +01:00
Daira Hopwood 691f7dc2fa
Merge pull request #16 from zcash/disable-log-shrinking
Disable -shrinkdebugfile command
2019-09-24 19:21:07 +01:00
Jack Grigg 9d8322a341
Enable RPC tests to wait on mempool notifications 2019-09-20 21:41:49 +01:00
Jack Grigg 3ff68c5052
Move mempool SyncWithWallets call into its own thread 2019-09-20 21:00:42 +01:00
Jack Grigg f48cfeffe5
Update release notes with node abort behaviour 2019-09-20 09:40:45 +01:00
Jack Grigg c1fbf8ab5d
Ignore exceptions when deserializing note plaintexts 2019-09-19 22:29:24 +01:00
Jack Grigg 7c8111f304
Remove cs_main lock requirement from CWallet::SyncTransaction
SetMerkleBranch was the only call underneath SyncTransaction that
required the cs_main lock.
2019-09-19 20:59:05 +01:00
Jack Grigg d917c11572
SetMerkleBranch: remove unused code, remove cs_main lock requirement
Includes equivalent changes to bitcoin/bitcoin#9446
2019-09-19 20:57:39 +01:00
Jack Grigg 5ae7b70ae6
Disable -shrinkdebugfile command 2019-09-19 18:05:56 +01:00
Jack Grigg c8c43c4210
Add block hashes for Overwinter, Sapling, and testnet Blossom
Also updates nMinimumChainWork for testnet (using block 585000).
2019-09-19 16:10:35 +01:00
Jack Grigg 150e330310
Abort node if NU activations have unexpected hashes 2019-09-19 15:00:04 +01:00
Jack Grigg 10b9d6306b
Move AbortNode to the top of main.cpp
It is in an anonymous namespace, so it needs to be above all code in the
file that uses it.
2019-09-19 14:52:55 +01:00
Homu 128d863fb8 Auto merge of #4130 - fubuloubu:patch-1, r=str4d
Change Debian package description

Some GUI Debian package managers only show the first line of the description. This PR alters the description to indicate that this is a Zcash package.
2019-09-18 15:46:40 -07:00
Eirik Ogilvie-Wigley c8715f7fb3 Wrap metrics message in strprintf 2019-09-18 12:16:11 -06:00
jeff-liang 188f3254fc Display which network the node is running on.
Co-authored-by: Jeff Liang
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-09-18 12:11:17 -06:00
Bryant Eisenbach 94a4761b85
doc: Move text prior to "This package provides..." 2019-09-17 20:09:11 -04:00
Jack Grigg 4cae370328
Add libsnark removal to notable changes 2019-09-17 12:25:43 +01:00
Jack Grigg 2efcb9e592
Stop fetching old Sprout parameters
We aren't automatically deleting them yet.
2019-09-17 12:00:03 +01:00
str4d a85887ee1b
Merge pull request #3866 from garethtdavies/ipfs-fetch-params
Adding hash for complete IPFS params
2019-09-17 06:55:25 -04:00
Jack Grigg fe3cb8ec93
Remove makeGrothProof argument from JoinSplit::prove 2019-09-16 13:10:54 +01:00
Jack Grigg 982e924e98
tests: Clean up use of repr() in mininode 2019-09-16 12:23:46 +01:00
Gareth Davies cecccce6fa
Updating IPFS link for chunking 2019-09-12 21:14:23 -07:00
Homu a722aa69a2 Auto merge of #4030 - str4d:freebsd-build, r=str4d
Add FreeBSD build support

Usage on FreeBSD:

> $ pkg install autoconf automake bash cmake gcc gmake libtool pkgconf
> $ MAKE=gmake ./zcutil/build.sh

Closes #4023.
2019-09-12 10:00:28 -07:00
Bryant Eisenbach a1473b48fe
doc: Change Debian package description 2019-09-07 10:41:12 -04:00
Jack Grigg 1822eb333f
depends: Add flag for building with a local librustzcash repo
Usage:
$ ./zcutil/build.sh LIBRUSTZCASH_OVERRIDE=/path/to/librustzcash
2019-09-07 04:05:56 -04:00