Auto merge of #4108 - Eirik0:release-v2.0.7, r=str4d

Release v2.0.7
This commit is contained in:
Homu 2019-08-19 16:03:06 -07:00
commit 0512e9eb00
13 changed files with 180 additions and 34 deletions

View File

@ -1,4 +1,4 @@
Zcash 2.0.7-rc1
Zcash 2.0.7
<img align="right" width="120" height="80" src="doc/imgs/logo.png">
===========

View File

@ -3,7 +3,7 @@ AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 7)
define(_CLIENT_VERSION_BUILD, 25)
define(_CLIENT_VERSION_BUILD, 50)
define(_ZC_BUILD_VAL, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, m4_incr(_CLIENT_VERSION_BUILD), m4_eval(_CLIENT_VERSION_BUILD < 50), 1, m4_eval(_CLIENT_VERSION_BUILD - 24), m4_eval(_CLIENT_VERSION_BUILD == 50), 1, , m4_eval(_CLIENT_VERSION_BUILD - 50)))
define(_CLIENT_VERSION_SUFFIX, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, _CLIENT_VERSION_REVISION-beta$1, m4_eval(_CLIENT_VERSION_BUILD < 50), 1, _CLIENT_VERSION_REVISION-rc$1, m4_eval(_CLIENT_VERSION_BUILD == 50), 1, _CLIENT_VERSION_REVISION, _CLIENT_VERSION_REVISION-$1)))
define(_CLIENT_VERSION_IS_RELEASE, true)

View File

@ -1,3 +1,9 @@
zcash (2.0.7) stable; urgency=medium
* 2.0.7 release.
-- Electric Coin Company <team@z.cash> Mon, 19 Aug 2019 15:09:14 -0600
zcash (2.0.7~rc1) stable; urgency=medium
* 2.0.7-rc1 release.

View File

@ -1,5 +1,5 @@
---
name: "zcash-2.0.7-rc1"
name: "zcash-2.0.7"
enable_cache: true
distro: "debian"
suites:

View File

@ -1,11 +1,11 @@
Zcash Contributors
==================
Jack Grigg (873)
Simon Liu (451)
Jack Grigg (874)
Simon Liu (459)
Sean Bowe (278)
Eirik Ogilvie-Wigley (152)
Daira Hopwood (124)
Eirik Ogilvie-Wigley (160)
Daira Hopwood (135)
Jay Graber (89)
Wladimir J. van der Laan (82)
Taylor Hornby (73)
@ -14,7 +14,7 @@ Nathan Wilcox (56)
Pieter Wuille (54)
Kevin Gallagher (38)
Cory Fields (35)
Larry Ruane (23)
Larry Ruane (29)
Marshall Gaucher (22)
Jonathan "Duke" Leto (17)
syd (15)
@ -26,10 +26,12 @@ Jorge Timón (10)
nomnombtc (9)
kozyilmaz (8)
fanquake (8)
Luke Dashjr (8)
Dimitris Apostolou (8)
Jeff Garzik (7)
Gregory Maxwell (7)
Benjamin Winston (7)
Marius Kjærstad (6)
Luke Dashjr (6)
David Mercer (6)
Daniel Cousens (6)
Charlie O'Keefe (6)
@ -46,14 +48,12 @@ João Barbosa (4)
George Tankersley (4)
Gareth Davies (4)
Daniel Kraft (4)
Benjamin Winston (4)
lpescher (3)
ca333 (3)
Per Grön (3)
Patick Strateman (3)
Jason Davies (3)
James O'Beirne (3)
Dimitris Apostolou (3)
Alfie John (3)
rofl0r (2)
mruddy (2)
@ -89,9 +89,11 @@ instagibbs (1)
emilrus (1)
dexX7 (1)
daniel (1)
codetriage-readme-bot (1)
calebogden (1)
ayleph (1)
Za Wilcox (1)
William M Peaster (1)
Tom Ritter (1)
Tom Harding (1)
Stephen (1)

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH ZCASH-CLI "1" "August 2019" "zcash-cli v2.0.7-rc1" "User Commands"
.TH ZCASH-CLI "1" "August 2019" "zcash-cli v2.0.7" "User Commands"
.SH NAME
zcash-cli \- manual page for zcash-cli v2.0.7-rc1
zcash-cli \- manual page for zcash-cli v2.0.7
.SH DESCRIPTION
Zcash RPC client version v2.0.7\-rc1
Zcash RPC client version v2.0.7
.PP
In order to ensure you are adequately protecting your privacy when using Zcash,
please see <https://z.cash/support/security/>.

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH ZCASH-TX "1" "August 2019" "zcash-tx v2.0.7-rc1" "User Commands"
.TH ZCASH-TX "1" "August 2019" "zcash-tx v2.0.7" "User Commands"
.SH NAME
zcash-tx \- manual page for zcash-tx v2.0.7-rc1
zcash-tx \- manual page for zcash-tx v2.0.7
.SH DESCRIPTION
Zcash zcash\-tx utility version v2.0.7\-rc1
Zcash zcash\-tx utility version v2.0.7
.SS "Usage:"
.TP
zcash\-tx [options] <hex\-tx> [commands]

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH ZCASHD "1" "August 2019" "zcashd v2.0.7-rc1" "User Commands"
.TH ZCASHD "1" "August 2019" "zcashd v2.0.7" "User Commands"
.SH NAME
zcashd \- manual page for zcashd v2.0.7-rc1
zcashd \- manual page for zcashd v2.0.7
.SH DESCRIPTION
Zcash Daemon version v2.0.7\-rc1
Zcash Daemon version v2.0.7
.PP
In order to ensure you are adequately protecting your privacy when using Zcash,
please see <https://z.cash/support/security/>.

View File

@ -4,14 +4,3 @@ release-notes at release time)
Notable changes
===============
Shorter Block Times
-------------------
Shorter block times are coming to Zcash! In the v2.0.7 release we have implemented [ZIP208](https://github.com/zcash/zips/blob/master/zip-0208.rst) which will take effect when Blossom activates. Upon activation, the block times for Zcash will decrease from 150 seconds to 75 seconds, and the block reward will decrease accordingly. This affects at what block height halving events will occur, but should not affect the overall rate at which Zcash is mined. The total founders' reward stays the same, and the total supply of Zcash is decreased only microscopically due to rounding.
Blossom Activation on Testnet
-----------------------------
The v2.0.7 release includes Blossom activation on testnet, bringing shorter block times. The testnet Blossom activation height is 584000.
Insight Explorer
----------------
Changes needed for the Insight explorer have been incorporated into Zcash. *This is an experimental feature* and therefore is subject to change. To enable, add the `experimentalfeatures=1`, `txindex=1`, and `insightexplorer=1` flags to `zcash.conf`. This feature adds several RPCs to `zcashd` which allow the user to run an Insight explorer.

View File

@ -0,0 +1,149 @@
Notable changes
===============
Shorter Block Times
-------------------
Shorter block times are coming to Zcash! In the v2.0.7 release we have implemented [ZIP208](https://github.com/zcash/zips/blob/master/zip-0208.rst) which will take effect when Blossom activates. Upon activation, the block times for Zcash will decrease from 150 seconds to 75 seconds, and the block reward will decrease accordingly. This affects at what block height halving events will occur, but should not affect the overall rate at which Zcash is mined. The total founders' reward stays the same, and the total supply of Zcash is decreased only microscopically due to rounding.
Blossom Activation on Testnet
-----------------------------
The v2.0.7 release includes Blossom activation on testnet, bringing shorter block times. The testnet Blossom activation height is 584000.
Insight Explorer
----------------
Changes needed for the Insight explorer have been incorporated into Zcash. *This is an experimental feature* and therefore is subject to change. To enable, add the `experimentalfeatures=1`, `txindex=1`, and `insightexplorer=1` flags to `zcash.conf`. This feature adds several RPCs to `zcashd` which allow the user to run an Insight explorer.
Changelog
=========
Daira Hopwood (11):
Add MIT license to Makefiles
Add MIT license to build-aux/m4/bitcoin_* scripts, and a permissive license to build-aux/m4/l_atomic.m4 .
Update copyright information for Zcash, leveldb, and libsnark.
Add license information for Autoconf macros. refs #2827
Update contrib/debian/copyright for ax_boost_thread.m4
Replace http with https: in links to the MIT license. Also change MIT/X11 to just MIT, since no distinction was intended.
qa/zcash/checksec.sh is under a BSD license, with a specialized non-endorsement clause.
Link to ticket #2827 using URL
Release process doc: add step to set the gpg key id.
Release process doc: mention the commit message.
Add RPC test and test framework constants for Sapling->Blossom activation.
Dimitris Apostolou (5):
Rename vjoinsplit to vJoinSplit
Fix naming inconsistency
Rename joinsplit to shielded
Rename FindWalletTx to FindWalletTxToZap
Fix RPC undefined behavior.
Eirik Ogilvie-Wigley (56):
Make nextHeight required in CalculateNextWorkRequired
Fix nondeterministic failure in sapling migration test
Clean up and fix typo
Apply suggestions from code review
Shorter block times rpc test
Update pow_tests for shorter block times
Update test_pow for shorter block times
Update block subsidy halving for zip208
Make NetworkUpgradeAvailable a method of Params
Temporarily disable test
Simplify PartitionCheck
Use static_assert
Add missing new line at end of file
pow test cleanup
Add message to static_assert
Update expiry height for shorter block times
Fix zip208 founders reward calculation and update test
PartitionCheck tests for shorter block times
Add test for Blossom default tx expiry delta
Update metrics block height estimation for shorter block times
Do not create transactions that will expire after the next epoch
Do not send migration transactions that would expire after a network upgrade
Fix integer truncation in Blossom halving calculation
Update main_tests for shorter block times
Use pre-Blossom max FR height when calculating address change interval
Make founders reward tests pass before and after Blossom activation height is set
Extract Halvings method and add tests
Add comments and fix typos
Improve EstimateNetHeight calculation
Fix check transaction tests
Make sure to deactivate blossom in test case
Fix parsing txexpirydelta argument
Do not add expiring soon threshold to expiry height of txs near NU activation
Fix/update comments
Make sure that expiry height is not less than height
Clarify documentation
Update PoW related assertions
Remove DefaultExpiryDelta method
Algebraic improvements related to halving
Distinguish between height and current header height on metrics screen
Test clean up and fixes
Add copyright info
NPE defense in metrics screen
Do not estimate height if there is no best header
Rename method and use int64_t
make-release.py: Versioning changes for 2.0.7-rc1.
make-release.py: Updated manpages for 2.0.7-rc1.
make-release.py: Updated release notes and changelog for 2.0.7-rc1.
Update download path
Set testnet Blossom activation height
Notable changes for v2.0.7
Enable shorter block times rpc test
Grammatical fixes and improvements
Remove constant
make-release.py: Versioning changes for 2.0.7.
make-release.py: Updated manpages for 2.0.7.
Eirik Ogilvie-Wigley (8):
Use CommitTransaction() rather than sendrawtransaction()
Move reused async rpc send logic to separate file
Move reused sign and send logic
Do not shadow the return value when testmode is true
Inline sign_send_raw_transaction
Allow passing optional reserve key as a parameter to SendTransaction
Use reserve key for transparent change when sending to Sapling
Fix comment in mergetoaddress RPC test
Jack Grigg (5):
test: Check for change t-addr reuse in z_sendmany
Use reserve key for transparent change when sending to Sprout
test: Fix permissions on wallet_changeaddresses RPC test
test: Fix pyflakes warnings
test: Fix AuthServiceProxy closed conn detection
Larry Ruane (6):
add addressindex related RPCs
add spentindex RPC for bitcore block explorer
add timestampindex related RPC getblockhashes
fix getblockdeltas documentation formatting
insightexplorer minor bug fixes
insightexplorer fix LogPrintf
Luke Dashjr (2):
Add MIT license to autogen.sh and share/genbuild.sh
Trivial: build-aux/m4/l_atomic: Fix typo
Simon Liu (8):
Redefine PoW functions to accept height parameter.
Remove use of redundant member nPowTargetSpacing.
Replace nPoWTargetSpacing -> PoWTargetSpacing()
Update PoW function calls to pass in height.
Update GetBlockTimeout() to take height parameter.
Replace nPoWTargetSpacing -> PoWTargetSpacing() in ProcessMessage()
Replace nPoWTargetSpacing -> PoWTargetSpacing() in tests
Modify PartitionCheck to be aware of pre & post Blossom target spacing.
William M Peaster (1):
Handful of copyedits to README.md
codetriage-readme-bot (1):
Link to development guidelines in CONTRIBUTING.md
Jack Grigg (1):
Update README.md
Benjamin Winston (3):
Updated location to new download server
Fixes 4097, improves caching on parameter downloads
Updated location to new download server, fixing #4100

View File

@ -117,7 +117,7 @@ public:
Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT;
// The best chain should have at least this much work.
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000000eeaf43c4e72d49");
consensus.nMinimumChainWork = uint256S("000000000000000000000000000000000000000000000000017e73a331fae01c");
/**
* The message start string should be awesome!

View File

@ -18,7 +18,7 @@
#define CLIENT_VERSION_MAJOR 2
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 7
#define CLIENT_VERSION_BUILD 25
#define CLIENT_VERSION_BUILD 50
//! Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true

View File

@ -8,7 +8,7 @@
// Deprecation policy:
// * Shut down 16 weeks' worth of blocks after the estimated release block height.
// * A warning is shown during the 2 weeks' worth of blocks prior to shut down.
static const int APPROX_RELEASE_HEIGHT = 584200;
static const int APPROX_RELEASE_HEIGHT = 588500;
static const int WEEKS_UNTIL_DEPRECATION = 16;
static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 24);