Skip to content

Commit

Permalink
Auto merge of zcash#2985 - str4d:release-v1.0.15-rc1, r=ebfull
Browse files Browse the repository at this point in the history
Release v1.0.15-rc1
  • Loading branch information
zkbot committed Feb 24, 2018
2 parents a418756 + 34ce29b commit be262f0
Show file tree
Hide file tree
Showing 10 changed files with 195 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Zcash 1.0.14
Zcash 1.0.15-rc1
=============

What is Zcash?
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 1)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 14)
define(_CLIENT_VERSION_BUILD, 50)
define(_CLIENT_VERSION_REVISION, 15)
define(_CLIENT_VERSION_BUILD, 25)
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)
Expand Down
6 changes: 6 additions & 0 deletions contrib/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
zcash (1.0.15~rc1) stable; urgency=medium

* 1.0.15-rc1 release.

-- Zcash Company <team@z.cash> Sat, 24 Feb 2018 04:20:05 +0000

zcash (1.0.14) stable; urgency=medium

* 1.0.14 release.
Expand Down
2 changes: 1 addition & 1 deletion contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: "zcash-1.0.14"
name: "zcash-1.0.15-rc1"
enable_cache: true
distro: "debian"
suites:
Expand Down
6 changes: 3 additions & 3 deletions doc/man/zcash-cli.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH ZCASH-CLI "1" "January 2018" "zcash-cli v1.0.14" "User Commands"
.TH ZCASH-CLI "1" "February 2018" "zcash-cli v1.0.15-rc1" "User Commands"
.SH NAME
zcash-cli \- manual page for zcash-cli v1.0.14
zcash-cli \- manual page for zcash-cli v1.0.15-rc1
.SH DESCRIPTION
Zcash RPC client version v1.0.14
Zcash RPC client version v1.0.15\-rc1
.PP
In order to ensure you are adequately protecting your privacy when using Zcash,
please see <https://z.cash/support/security/>.
Expand Down
8 changes: 4 additions & 4 deletions doc/man/zcash-tx.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH ZCASH-TX "1" "January 2018" "zcash-tx v1.0.14" "User Commands"
.TH ZCASH-TX "1" "February 2018" "zcash-tx v1.0.15-rc1" "User Commands"
.SH NAME
zcash-tx \- manual page for zcash-tx v1.0.14
zcash-tx \- manual page for zcash-tx v1.0.15-rc1
.SH DESCRIPTION
Zcash zcash\-tx utility version v1.0.14
Zcash zcash\-tx utility version v1.0.15\-rc1
.SS "Usage:"
.TP
zcash\-tx [options] <hex\-tx> [commands]
Expand Down Expand Up @@ -68,7 +68,7 @@ outscript=VALUE:SCRIPT
.IP
Add raw script output to TX
.IP
sign=SIGHASH\-FLAGS
sign=HEIGHT:SIGHASH\-FLAGS
.IP
Add zero or more signatures to transaction. This command requires JSON
registers:prevtxs=JSON object, privatekeys=JSON object. See
Expand Down
15 changes: 10 additions & 5 deletions doc/man/zcashd.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH ZCASHD "1" "January 2018" "zcashd v1.0.14" "User Commands"
.TH ZCASHD "1" "February 2018" "zcashd v1.0.15-rc1" "User Commands"
.SH NAME
zcashd \- manual page for zcashd v1.0.14
zcashd \- manual page for zcashd v1.0.15-rc1
.SH DESCRIPTION
Zcash Daemon version v1.0.14
Zcash Daemon version v1.0.15\-rc1
.PP
In order to ensure you are adequately protecting your privacy when using Zcash,
please see <https://z.cash/support/security/>.
Expand Down Expand Up @@ -54,15 +54,15 @@ Specify data directory
\fB\-disabledeprecation=\fR<version>
.IP
Disable block\-height node deprecation and automatic shutdown (example:
\fB\-disabledeprecation\fR=\fI\,1\/\fR.0.14)
\fB\-disabledeprecation\fR=\fI\,1\/\fR.0.15\-rc1)
.HP
\fB\-exportdir=\fR<dir>
.IP
Specify directory to be used when exporting data
.HP
\fB\-dbcache=\fR<n>
.IP
Set database cache size in megabytes (4 to 16384, default: 100)
Set database cache size in megabytes (4 to 16384, default: 450)
.HP
\fB\-loadblock=\fR<file>
.IP
Expand Down Expand Up @@ -264,6 +264,11 @@ Spend unconfirmed change when sending transactions (default: 1)
If paytxfee is not set, include enough fee so transactions begin
confirmation on average within n blocks (default: 2)
.HP
\fB\-txexpirydelta\fR
.IP
Set the number of blocks after which a transaction that has not been
mined will become invalid (default: 20)
.HP
\fB\-maxtxfee=\fR<amt>
.IP
Maximum total fees (in ZEC) to use in a single wallet transaction;
Expand Down
165 changes: 165 additions & 0 deletions doc/release-notes/release-notes-1.0.15-rc1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
Notable changes
===============

UTXO and note merging
---------------------

In order to simplify the process of combining many small UTXOs and notes into a
few larger ones, a new RPC method `z_mergetoaddress` has been added. It merges
funds from t-addresses, z-addresses, or both, and sends them to a single
t-address or z-address.

Unlike most other RPC methods, `z_mergetoaddress` operates over a particular
quantity of UTXOs and notes, instead of a particular amount of ZEC. By default,
it will merge 50 UTXOs and 10 notes at a time; these limits can be adjusted with
the parameters `transparent_limit` and `shielded_limit`.

`z_mergetoaddress` also returns the number of UTXOs and notes remaining in the
given addresses, which can be used to automate the merging process (for example,
merging until the number of UTXOs falls below some value).

UTXO memory accounting
----------------------

The default -dbcache has been changed in this release to 450MiB. Users can set -dbcache to a higher value (e.g. to keep the UTXO set more fully cached in memory). Users on low-memory systems (such as systems with 1GB or less) should consider specifying a lower value for this parameter.

Additional information relating to running on low-memory systems can be found here: [reducing-memory-usage.md](https://github.com/zcash/zcash/blob/master/doc/reducing-memory-usage.md).

Changelog
=========

21E14 (1):
Remove obsolete reference to CValidationState from UpdateCoins.

Alex Morcos (1):
Implement helper class for CTxMemPoolEntry constructor

Ariel (2):
add blake2b writer
update SignatureHash according to Overwinter spec

Ashley Holman (1):
TxMemPool: Change mapTx to a boost::multi_index_container

Cory Fields (2):
chainparams: move CCheckpointData into chainparams.h
chainparams: don't use std namespace

Daniel Kraft (1):
Clean up chainparams some more.

Jack Grigg (38):
Scope the ECDSA constant sizes to CPubKey / CKey classes
Enable Bash completion for -exportdir
Check chainValueZat when checking value pool monitoring
Add missing namespace for boost::get
Add viewing key prefix to regtest parameters
zkey_import_export: Synchronize mempools before mining
Use JoinSplitTestingSetup for Boost sighash tests
Network upgrade activation mechanism
Allow changing network upgrade parameters on regtest
Test network upgrade logic
Adjust rewind logic to use the network upgrade mechanism
Add Overwinter to upgrade list
Add method for fetching the next activation height after a given block height
Use a boost::optional for nCachedBranchId
Change UI/log status message for block rewinding
Update quote from ZIP 200
Update SignatureHash tests for transaction format changes
Implement roll-back limit for reorganisation
Add rollback limit to block index rewinding
Remove mempool transactions which commit to an unmineable branch ID
Remove P2WPKH and P2WSH from signing logic
Add consensus branch ID parameter to SignatureHash, remove SigVersion parameter
Cleanup: Wrap function arguments
Regenerate SignatureHash tests
Make number of inputs configurable in validatelargetx test
Use v3 transactions with caching for validatelargetx benchmark
Extend CWallet::GetFilteredNotes to enable filtering on a set of addresses
Add branch IDs for current and next block to getblockchaininfo
Check Equihash solution when loading block index
Implement z_mergetoaddress for combining UTXOs and notes
Gate z_mergetoaddress as an experimental feature
Add z_mergetoaddress to release notes
Check upgrade status in wallet_overwintertx RPC test
Document that consensus.chaintip != consensus.nextblock just before an upgrade
Regenerate sighash tests
wallet_mergetoaddress: Add additional syncs to prevent race conditions
make-release.py: Versioning changes for 1.0.15-rc1.
make-release.py: Updated manpages for 1.0.15-rc1.

Jay Graber (8):
Add getdeprecationinfo rpc call to return current version and deprecation block height.
Make applicable only on mainnet
Add upgrades field to RPC call getblockchaininfo
Implement transaction expiry for Overwinter
Add -txexpirydelta cli option
Add mempool_tx_expiry.py test
Add expiry to z_mergetoaddress
Change rpc_tests to 21

Jonas Nick (1):
Reduce unnecessary hashing in signrawtransaction

Jorge Timón (3):
Chainparams: Introduce CreateGenesisBlock() static function
Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams
Mempool: Use Consensus::CheckTxInputs direclty over main::CheckInputs

Marius Kjærstad (1):
Changed http:// to https:// on some links

Mark Friedenbach (1):
Explicitly set tx.nVersion for the genesis block and mining tests

Matt Corallo (5):
Add failing test checking timelocked-txn removal during reorg
Fix removal of time-locked transactions during reorg
Fix comment in removeForReorg
Make indentation in ActivateBestChainStep readable
removeForReorg calls once-per-disconnect-> once-per-reorg

Maxwell Gubler (1):
Fix syntax examples for z_importwallet and export

Nicolas DORIER (1):
Unit test for sighash caching

Pavel Vasin (1):
remove unused NOBLKS_VERSION_{START,END} constants

Pieter Wuille (8):
Add rewind logic to deal with post-fork software updates
Support -checkmempool=N, which runs checks on average once every N transactions
Report non-mandatory script failures correctly
Refactor script validation to observe amounts
BIP143: Verification logic
BIP143: Signing logic
Precompute sighashes
Rename to PrecomputedTransactionData

Simon Liu (11):
Fixes #2793. Backport commit f33afd3 to increase dbcache default.
Add documentation about dbcache.
Add note about dbcache to 1.0.15 release notes.
Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.
Implementation of Overwinter transaction format ZIP 202.
Add test to check malformed v1 transaction against Overwinter tx parser
Closes #2964. z_sendmany once again makes v1 tx for taddr to taddr.
Closes #2954 and #2959. Fixes Overwinter issues in sighash_tests.
Add field nProtocolVersion to struct NetworkUpgrade.
Overwinter peer management and network handshaking.
Add python qa test overwinter_peer_management.

Suhas Daftuar (3):
Track coinbase spends in CTxMemPoolEntry
Don't call removeForReorg if DisconnectTip fails
Fix removeForReorg to use MedianTimePast

jc (1):
read hashReserved from disk block index

syd (2):
Fix libsnark dependency build.
Remove OSX and Windows files from Makefile + share directory.

4 changes: 2 additions & 2 deletions src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
//! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 14
#define CLIENT_VERSION_BUILD 50
#define CLIENT_VERSION_REVISION 15
#define CLIENT_VERSION_BUILD 25

//! Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
Expand Down
2 changes: 1 addition & 1 deletion src/deprecation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 249000;
static const int APPROX_RELEASE_HEIGHT = 277725;
static const int WEEKS_UNTIL_DEPRECATION = 16;
static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 24);

Expand Down

0 comments on commit be262f0

Please sign in to comment.