Auto merge of #4541 - ebfull:release-v3.0.0, r=ebfull

Release v3.0.0
This commit is contained in:
Homu 2020-05-26 21:32:20 +00:00
commit de2e1160db
12 changed files with 163 additions and 47 deletions

View File

@ -1,4 +1,4 @@
Zcash 3.0.0-rc1
Zcash 3.0.0
<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, 3)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 0)
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 (3.0.0) stable; urgency=medium
* 3.0.0 release.
-- Electric Coin Company <team@electriccoin.co> Fri, 22 May 2020 11:48:24 -0600
zcash (3.0.0~rc1) stable; urgency=medium
* 3.0.0-rc1 release.

View File

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

View File

@ -1,26 +1,27 @@
Zcash Contributors
==================
Jack Grigg (1022)
Jack Grigg (1027)
Simon Liu (460)
Sean Bowe (314)
Sean Bowe (325)
Eirik Ogilvie-Wigley (214)
Daira Hopwood (181)
Taylor Hornby (99)
Daira Hopwood (183)
Taylor Hornby (101)
Marshall Gaucher (99)
Wladimir J. van der Laan (96)
Jay Graber (89)
Jonas Schnelli (71)
Alfredo Garcia (71)
Pieter Wuille (66)
Alfredo Garcia (59)
Nathan Wilcox (56)
Larry Ruane (43)
Cory Fields (41)
Kevin Gallagher (38)
Marco Falke (31)
Matt Corallo (25)
Dimitris Apostolou (21)
Jonathan "Duke" Leto (17)
Kris Nuttycombe (25)
Dimitris Apostolou (22)
Jonathan "Duke" Leto (18)
Luke Dashjr (16)
syd (15)
avnish (14)
@ -57,6 +58,7 @@ Jeremy Rubin (4)
James O'Beirne (4)
George Tankersley (4)
Daniel Kraft (4)
Ben Wilson (4)
zancas (3)
lpescher (3)
Per Grön (3)
@ -72,6 +74,7 @@ kpcyrd (2)
face (2)
aniemerg (2)
UdjinM6 (2)
Tim Ruffing (2)
Scott (2)
Robert C. Seacord (2)
Pejvan (2)
@ -95,6 +98,7 @@ Alex Tsankov (2)
zathras-crypto (1)
unsystemizer (1)
tpantin (1)
therealyingtong (1)
ptschip (1)
murrayn (1)
mrbandrews (1)
@ -116,6 +120,7 @@ William M Peaster (1)
Ulrich Kempken (1)
Tom Ritter (1)
Tom Harding (1)
Thomas Snider (1)
Stephen (1)
S. Matthew English (1)
Ross Nicoll (1)
@ -172,6 +177,8 @@ Allan Niemerg (1)
Alex van der Peet (1)
Alex (1)
Adam Weiss (1)
Adam Langley (1)
Adam Brown (1)
Aaron Clauson (1)
4ZEC (1)
21E14 (1)

View File

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ZCASH-CLI "1" "May 2020" "zcash-cli v3.0.0-rc1" "User Commands"
.TH ZCASH-CLI "1" "May 2020" "zcash-cli v3.0.0" "User Commands"
.SH NAME
zcash-cli \- manual page for zcash-cli v3.0.0-rc1
zcash-cli \- manual page for zcash-cli v3.0.0
.SH DESCRIPTION
Zcash RPC client version v3.0.0\-rc1
Zcash RPC client version v3.0.0
.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.13.
.TH ZCASH-TX "1" "May 2020" "zcash-tx v3.0.0-rc1" "User Commands"
.TH ZCASH-TX "1" "May 2020" "zcash-tx v3.0.0" "User Commands"
.SH NAME
zcash-tx \- manual page for zcash-tx v3.0.0-rc1
zcash-tx \- manual page for zcash-tx v3.0.0
.SH DESCRIPTION
Zcash zcash\-tx utility version v3.0.0\-rc1
Zcash zcash\-tx utility version v3.0.0
.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.13.
.TH ZCASHD "1" "May 2020" "zcashd v3.0.0-rc1" "User Commands"
.TH ZCASHD "1" "May 2020" "zcashd v3.0.0" "User Commands"
.SH NAME
zcashd \- manual page for zcashd v3.0.0-rc1
zcashd \- manual page for zcashd v3.0.0
.SH DESCRIPTION
Zcash Daemon version v3.0.0\-rc1
Zcash Daemon version v3.0.0
.PP
In order to ensure you are adequately protecting your privacy when using Zcash,
please see <https://z.cash/support/security/>.

View File

@ -4,29 +4,3 @@ release-notes at release time)
Notable changes
===============
The mainnet activation of the Heartwood network upgrade is supported by this
release, with an activation height of 903000, which should occur in the middle
of July — following the targeted EOS halt of our 2.1.2-3 release. Please upgrade
to this release, or any subsequent release, in order to follow the Heartwood
network upgrade.
The following two ZIPs are being deployed as part of this upgrade:
- [ZIP 213: Shielded Coinbase](https://zips.z.cash/zip-0213)
- [ZIP 221: FlyClient - Consensus-Layer Changes](https://zips.z.cash/zip-0221)
In order to help the ecosystem prepare for the mainnet activiation, Heartwood
has already been activated on the Zcash testnet. Any node version 2.1.2 or
higher, including this release, supports the Heartwood activation on testnet.
## Mining to Sapling addresses
After the mainnet activation of Heartwood, miners can mine directly into a
Sapling shielded address. Miners should wait until after Heartwood activation
before they make changes to their configuration to leverage this new feature.
After activation of Heartwood, miners can add `mineraddress=SAPLING_ADDRESS` to
their `zcash.conf` file, where `SAPLING_ADDRESS` represents a Sapling address
that can be generated locally with the `z_getnewaddress` RPC command. Restart
your node, and block templates produced by the `getblocktemplate` RPC command
will now have coinbase transactions that mine directly into this shielded
address.

View File

@ -0,0 +1,129 @@
Notable changes
===============
The mainnet activation of the Heartwood network upgrade is supported by this
release, with an activation height of 903000, which should occur in the middle
of July — following the targeted EOS halt of our 2.1.2-3 release. Please upgrade
to this release, or any subsequent release, in order to follow the Heartwood
network upgrade.
The following two ZIPs are being deployed as part of this upgrade:
- [ZIP 213: Shielded Coinbase](https://zips.z.cash/zip-0213)
- [ZIP 221: FlyClient - Consensus-Layer Changes](https://zips.z.cash/zip-0221)
In order to help the ecosystem prepare for the mainnet activiation, Heartwood
has already been activated on the Zcash testnet. Any node version 2.1.2 or
higher, including this release, supports the Heartwood activation on testnet.
## Mining to Sapling addresses
After the mainnet activation of Heartwood, miners can mine directly into a
Sapling shielded address. Miners should wait until after Heartwood activation
before they make changes to their configuration to leverage this new feature.
After activation of Heartwood, miners can add `mineraddress=SAPLING_ADDRESS` to
their `zcash.conf` file, where `SAPLING_ADDRESS` represents a Sapling address
that can be generated locally with the `z_getnewaddress` RPC command. Restart
your node, and block templates produced by the `getblocktemplate` RPC command
will now have coinbase transactions that mine directly into this shielded
address.
Changelog
=========
Aaron Clauson (1):
Minimal code changes to allow msvc compilation.
Adam Langley (1):
Switch memory_cleanse implementation to BoringSSL's to ensure memory clearing even with link-time optimization.
Alfredo Garcia (12):
fix rpc testcase
add blockheight, blockindex and blocktime to z_listreceivedbyaddress
change time to blocktime in help
add status to transactions
minor fix
minor cleanup style, var names
Add a new safe chars rule for node version string
fix wallet nullifiers test
Fix typo
add a test case
implement z_getnotescount api call
remove not needed help parameters to dump and import impl
Ben Wilson (4):
Added Dockerfile to contrib with README
Fixed README grammar, reuse Dockerfile vars
Fixed Docker README grammar
Dockerfiles for zcashd CI builds
Daira Hopwood (2):
Fix a null pointer dereference that occurs when formatting an error message, if we haven't activated an upgrade as expected.
Explicitly assert that chainActive[upgrade.nActivationHeight] is non-null at this point.
Dimitris Apostolou (1):
Fix typos
Jack Grigg (5):
Use BOOST_SCOPE_EXIT_TPL to clean and free datValue in CDB::Read
Improve memory_cleanse documentation
Add NU4 to upgrade list
Add NU4 test helpers
Update URLs for prior network upgrades
Jonathan "Duke" Leto (1):
Add confirmations to z_listreceivedbyaddress
Kris Nuttycombe (25):
Add a test reproducing the off-by-one error.
Check network reunification.
Narrow down the test case.
Make the test reproduce the actual off-by-one error in rewind length.
Fix #4119.
The last valid height condition reads better flipped.
Restart node in a chain split state to allow the test to complete.
Trivial comment.
Remove option to load new blocks from ConnectTip
Make condition closer to original, Fix incorrect comment.
Ensure that we don't pass a null block pointer to ConnectTip.
Update all crates.
Update to the Cargo V2 lockfile format.
Clean up imports in sapling_rewind_check.py
Use `%x` formatter for branch id hex string in test_framework/util.py
Update qa/rpc-tests/test_framework/mininode.py
Update qa/rpc-tests/sapling_rewind_check.py
Add Zcash copyright to sapling_rewind_check.py
Update test description and clarify internal comments.
Revert "Update qa/rpc-tests/sapling_rewind_check.py"
Remove unused imports.
Add baseline for golden testing across network upgrade boundaries.
Update golden test for heartwood network upgrade.
Fully remove the regtest tree from restored nodes.
Remove unused imports.
Sean Bowe (11):
Add NU4 activation to golden test.
Update minimum chain work on testnet to reflect Heartwood activation.
Pass DO_NOT_UPDATE_CONFIG_SCRIPTS=1 to autogen.sh in libsodium dependency, to avoid updating config scripts over the network.
Set the Heartwood activation height to 903000.
Bump the protocol version, as this node supports Heartwood on mainnet.
make-release.py: Versioning changes for 3.0.0-rc1.
make-release.py: Updated manpages for 3.0.0-rc1.
make-release.py: Updated release notes and changelog for 3.0.0-rc1.
Set deprecation of 3.0.0 to target EOS halt mid-September.
make-release.py: Versioning changes for 3.0.0.
make-release.py: Updated manpages for 3.0.0.
Taylor Hornby (2):
Add univalue to updatecheck.py and update univalue, removing calls to deprecated methods
Avoid names starting with __.
Thomas Snider (1):
[wallet] Securely erase potentially sensitive keys/values
Tim Ruffing (2):
Clean up logic in memory_cleanse() for MSVC
Improve documentation of memory_cleanse()
therealyingtong (1):
Fix off-by-one error in CreateNewBlock()

View File

@ -18,7 +18,7 @@
#define CLIENT_VERSION_MAJOR 3
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 0
#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 = 838929;
static const int APPROX_RELEASE_HEIGHT = 840277;
// static const int WEEKS_UNTIL_DEPRECATION = 16;
// static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 48);
static const int DEPRECATION_HEIGHT = 973713;