Commit Graph

12913 Commits

Author SHA1 Message Date
Eirik Ogilvie-Wigley 06f511f88e make-release.py: Updated manpages for 2.1.0. 2019-11-02 11:01:00 -06:00
Eirik Ogilvie-Wigley 5be8d1ecd1 make-release.py: Versioning changes for 2.1.0. 2019-11-02 10:53:13 -06:00
Homu fe89651189 Auto merge of #4184 - ebfull:blossom-fixups, r=Eirik0
Set Blossom activation height

* This PR sets Blossom activation to height 653600.
* This PR bumps the protocol version to 170009.
* This PR hardcodes the deprecation height to 734240 to account for the fact that activation of Blossom decreases the block interval prior to the deprecation height, so the ordinary formula for deciding deprecation does not work.
2019-11-01 15:42:17 -07:00
Eirik Ogilvie-Wigley 5371e0cffb fix comment 2019-11-01 14:46:15 -06:00
Eirik Ogilvie-Wigley 0950c94c13 Fix getblocksubsidy tests 2019-11-01 12:10:15 -06:00
Alfredo Garcia 2d13be55c4
change target spacing to up to upgrade height
suggested change by review.

Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
2019-11-01 15:06:56 -03:00
Homu 2b38e20ef1 Auto merge of #4185 - Eirik0:4175-notable-changes, r=Eirik0
Release notes for bug fix

These are release notes for https://github.com/zcash/zcash/pull/4177
2019-11-01 10:10:15 -07:00
Eirik Ogilvie-Wigley e7a84d7bd8
Fix wording
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
2019-11-01 09:52:15 -06:00
Sean Bowe 4180589f02
Set mainnet activation of Blossom 2019-11-01 09:31:55 -06:00
Eirik Ogilvie-Wigley ee5569207b Better wording in release notes 2019-10-31 21:22:47 -06:00
Eirik Ogilvie-Wigley 1d3c5b04ac Release notes for bug fix 2019-10-31 15:54:18 -06:00
Alfredo Garcia 6650aed46b add next upgrade info to metrics console 2019-10-30 15:19:22 -03:00
Alfredo Garcia 12dd81614c add version to thank you string 2019-10-29 14:44:27 -03:00
Taylor Hornby f189a5f09d Pass AFL input file path to zcashd 2019-10-28 18:30:20 -06:00
Taylor Hornby bfa8da3852 Have make clean delete fuzz.cpp 2019-10-28 11:54:19 -06:00
Taylor Hornby b25a14f433 Separate AFL build, run fuzz stages, and add afl argument pass-through 2019-10-28 11:54:13 -06:00
Homu cc77724081 Auto merge of #4177 - LarryRuane:4175-coinbase-zaddr-error, r=Eirik0
#4175 z_sendmany coinbase to zaddr with change: report error status

Closes #4175
2019-10-28 09:03:57 -07:00
Alfredo Garcia cbf1a85013 remove z_mergetoaddress from experimental 2019-10-26 12:52:36 -03:00
Larry Ruane 07f2edc91c #4175 z_sendmany coinbase to zaddr with change: report error status 2019-10-24 22:47:31 -06:00
Alfredo Garcia b3594b5273 limit blockchain progress to a max of 1.000000 2019-10-24 15:51:00 -03:00
Homu d54f6c9072 Auto merge of #4157 - rex4539:catalina-fix, r=Eirik0
depends macOS: point --sysroot to SDK

Fixes https://github.com/zcash/zcash/issues/4149
Fixes https://github.com/zcash/zcash/issues/4150
Fixes https://github.com/zcash/zcash/issues/4151
Fixes https://github.com/zcash/zcash/issues/4152
2019-10-24 08:30:11 -07:00
Eirik Ogilvie-Wigley 1ddc9ff231 Show time elapsed when running RPC tests 2019-10-23 15:04:14 -06:00
Taylor Hornby f968506039 Add all-in-one script for starting AFL fuzzing 2019-10-23 11:15:09 -06:00
Homu 6865539f3d Auto merge of #4169 - Eirik0:release-v2.1.0-rc1, r=Eirik0
Release v2.1.0 rc1
2019-10-22 14:47:31 -07:00
Eirik Ogilvie-Wigley fd8004d2bd make-release.py: Updated release notes and changelog for 2.1.0-rc1. 2019-10-22 14:52:02 -06:00
Eirik Ogilvie-Wigley 17a70bcd67 make-release.py: Updated manpages for 2.1.0-rc1. 2019-10-22 14:52:01 -06:00
Eirik Ogilvie-Wigley bdfed7e178 make-release.py: Versioning changes for 2.1.0-rc1. 2019-10-22 14:35:07 -06:00
Alfredo Garcia a913574b0e change some wallet functions from bool to void 2019-10-22 17:23:53 -03: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
Homu 63c5cf366e Auto merge of #4166 - Eirik0:4145-fix-macos-compilation, r=Eirik0
Use same type when calling max

Closes #4164
2019-10-22 10:57:26 -07:00
Eirik Ogilvie-Wigley 8307a5db5a Use same type when calling max 2019-10-22 11:29:55 -06:00
Alfredo Garcia 0eec096843 Consensus: Decouple pow.cpp from util.h 2019-10-22 14:16:53 -03:00
Homu fffd5da201 Auto merge of #4145 - Eirik0:limit-mempool, r=Eirik0
DoS protection: Weighted random drop of txs if mempool full
2019-10-21 12:40:50 -07:00
Alfredo Garcia f4106c65a5 remove duplicated prefix in errors and warnings 2019-10-21 13:13:59 -03:00
Eirik Ogilvie-Wigley 40a7156026 Remove dots and underscores from parameter names 2019-10-21 09:20:17 -06:00
Jack Grigg f270979acb
Migrate to librustzcash 0.2.0 API 2019-10-20 19:11:02 +13:00
Jack Grigg be2fdeaaf3
Upgrade librustzcash to 0.2.0
librustzcash now requires a minimum of Rust 1.36.0.

The proc-macro2, quote, syn, and unicode-xid dependencies are pulled in
because we moved to using ff_derive inside pairing to derive the
BLS12-381 fields. We will be going back to explicit implementations with
the jubjub and bls12_381 crates, so these dependencies will disappear
once that is done.

The autocfg crate is pulled in by the upgraded num-integer crate, which
is transitively used by fpe. Rewriting fpe to not use num-bigint would
drop:

- autocfg
- num-bigint
- num-integer
- num-traits

We primarily depend on rand_core in our crates. The rand crate, and its
other dependencies, are pulled in for two reasons:

- The group crate exposes testing helper functions in its public API
  that use distribution sampling APIs in the rand crate.

- zcash_primitives::transaction::Builder uses rand::seq::SliceRandom to
  shuffle the order of Sapling spends and outputs.

Refactoring these in order to drop rand would additionally drop:

- c2-chacha
- rand_chacha
- rand_hc
- rand_xorshift
2019-10-20 19:10:34 +13:00
Eirik Ogilvie-Wigley e744cece52 Fix test cases: default mempool limiters 2019-10-18 13:36:12 -06:00
Eirik Ogilvie-Wigley 898810213c Clarify the difference between cost and evictionWeight 2019-10-17 16:50:44 -06:00
Eirik Ogilvie-Wigley 64fc25ed6e Update parameter names to match ZIP 2019-10-17 16:39:32 -06:00
Eirik Ogilvie-Wigley e7aed48e7a Wording and grammatical fixes 2019-10-17 15:16:51 -06:00
Homu cfc5212dcb Auto merge of #4136 - LarryRuane:empty-roots, r=Eirik0
precompute EmptyMerklePath roots

This is an alternative implementation of #4131.
2019-10-17 13:35:44 -07:00
Eirik Ogilvie-Wigley 78592da52a Add explanatory comments 2019-10-17 14:18:20 -06:00
Eirik Ogilvie-Wigley 2033395e51 minor rpc test clean up 2019-10-17 12:37:05 -06:00
Eirik Ogilvie-Wigley 1edeba61ac Add test 2019-10-17 12:32:33 -06:00
Eirik Ogilvie-Wigley bbb6ce1007 Update release notes 2019-10-17 12:32:27 -06:00
Dimitris Apostolou a80942f558
depends macOS: point --sysroot to SDK 2019-10-16 15:13:57 +03: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