diff --git a/README.md b/README.md index a1ff6e34e..d04105591 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -Zcash 1.0.7-1 -============= +Zcash 1.0.8 +=========== What is Zcash? -------------- diff --git a/configure.ac b/configure.ac index 70ba71601..e356b9e07 100644 --- a/configure.ac +++ b/configure.ac @@ -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, 7) -define(_CLIENT_VERSION_BUILD, 51) +define(_CLIENT_VERSION_REVISION, 8) +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) diff --git a/contrib/debian/changelog b/contrib/debian/changelog index eb95b3ba3..c400dca73 100644 --- a/contrib/debian/changelog +++ b/contrib/debian/changelog @@ -1,3 +1,9 @@ +zcash (1.0.8) jessie; urgency=medium + + * 1.0.8 release. + + -- Zcash Company Mon, 27 Mar 2017 21:30:07 +0100 + zcash (1.0.7+1) jessie; urgency=medium * 1.0.7-1 release. diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml index f2006c7ce..90c21be45 100644 --- a/contrib/gitian-descriptors/gitian-linux.yml +++ b/contrib/gitian-descriptors/gitian-linux.yml @@ -1,5 +1,5 @@ --- -name: "zcash-1.0.7-1" +name: "zcash-1.0.8" enable_cache: true distro: "debian" suites: diff --git a/doc/authors.md b/doc/authors.md index 7036c4a9d..f9fc63367 100644 --- a/doc/authors.md +++ b/doc/authors.md @@ -1,47 +1,54 @@ Zcash Contributors ================== -Jack Grigg (367) -Simon Liu (250) -Sean Bowe (183) +Jack Grigg (392) +Simon Liu (254) +Sean Bowe (185) +Daira Hopwood (80) Taylor Hornby (65) -Daira Hopwood (65) -Jonas Schnelli (47) -Jay Graber (42) +Wladimir J. van der Laan (58) +Jonas Schnelli (48) +Jay Graber (47) Kevin Gallagher (38) -Wladimir J. van der Laan (30) -Cory Fields (13) -Pieter Wuille (11) +Cory Fields (15) +Pieter Wuille (14) Nathan Wilcox (10) nomnombtc (9) +fanquake (5) Paige Peterson (5) +MarcoFalke (5) Johnathan Corgan (5) -fanquake (4) +Gregory Maxwell (5) Philip Kaufmann (4) +Peter Todd (4) +Patrick Strateman (4) Matt Corallo (4) +Karl-Johan Alm (4) Jeff Garzik (4) David Mercer (4) +Daniel Cousens (4) lpescher (3) -Patrick Strateman (3) -MarcoFalke (3) -Daniel Cousens (3) +Pavel Janík (3) Alfie John (3) +paveljanik (2) aniemerg (2) Scott (2) Robert C. Seacord (2) -Peter Todd (2) +Luke Dashjr (2) João Barbosa (2) Joe Turgeon (2) +Jack Gavigan (2) ITH4Coinomia (2) -Gregory Maxwell (2) Gavin Andresen (2) zathras-crypto (1) -paveljanik (1) +unsystemizer (1) mruddy (1) mrbandrews (1) kazcw (1) isle2983 (1) +instagibbs (1) dexX7 (1) +calebogden (1) ayleph (1) Tom Ritter (1) Stephen (1) @@ -49,13 +56,15 @@ S. Matthew English (1) Pavel Vasin (1) Paul Georgiou (1) Paragon Initiative Enterprises, LLC (1) +Nathaniel Mahieu (1) Murilo Santana (1) -Luke Dashjr (1) +Matt Quinn (1) Louis Nyffenegger (1) Leo Arias (1) Lars-Magnus Skog (1) Jorge Timón (1) Jeffrey Walton (1) +Ian Kelling (1) Gaurav Rana (1) Forrest Voight (1) Florian Schmaus (1) @@ -67,9 +76,11 @@ Chirag Davé (1) Casey Rodarmor (1) Cameron Boehmer (1) Bryan Stitt (1) +Bob McElrath (1) Bitcoin Error Log (1) Allan Niemerg (1) Alex van der Peet (1) Alex (1) Adam Weiss (1) +Adam Brown (1) 4ZEC (1) diff --git a/doc/man/zcash-cli.1 b/doc/man/zcash-cli.1 index 582861f7b..9dbefb9e8 100644 --- a/doc/man/zcash-cli.1 +++ b/doc/man/zcash-cli.1 @@ -1,9 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. -.TH ZCASH-CLI "1" "March 2017" "zcash-cli v1.0.7" "User Commands" +.TH ZCASH-CLI "1" "March 2017" "zcash-cli v1.0.8" "User Commands" .SH NAME -zcash-cli \- manual page for zcash-cli v1.0.7 +zcash-cli \- manual page for zcash-cli v1.0.8 .SH DESCRIPTION -Zcash RPC client version v1.0.7-1 +Zcash RPC client version v1.0.8 +.PP +In order to ensure you are adequately protecting your privacy when using Zcash, +please see . .SS "Usage:" .TP zcash\-cli [options] [params] @@ -57,6 +60,11 @@ Username for JSON\-RPC connections \fB\-rpcpassword=\fR .IP Password for JSON\-RPC connections +.HP +\fB\-rpcclienttimeout=\fR +.IP +Timeout in seconds during HTTP requests, or 0 for no timeout. (default: +900) .SH COPYRIGHT Copyright (C) 2009-2017 The Bitcoin Core Developers Copyright (C) 2015-2017 The Zcash Developers diff --git a/doc/man/zcash-tx.1 b/doc/man/zcash-tx.1 index b770fd342..4bd1b6b1d 100644 --- a/doc/man/zcash-tx.1 +++ b/doc/man/zcash-tx.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. -.TH ZCASH-TX "1" "March 2017" "zcash-tx v1.0.7" "User Commands" +.TH ZCASH-TX "1" "March 2017" "zcash-tx v1.0.8" "User Commands" .SH NAME -zcash-tx \- manual page for zcash-tx v1.0.7 +zcash-tx \- manual page for zcash-tx v1.0.8 .SH DESCRIPTION -Zcash zcash\-tx utility version v1.0.7-1 +Zcash zcash\-tx utility version v1.0.8 .SS "Usage:" .TP zcash\-tx [options] [commands] diff --git a/doc/man/zcashd.1 b/doc/man/zcashd.1 index 0a94615a0..3fbfe32e6 100644 --- a/doc/man/zcashd.1 +++ b/doc/man/zcashd.1 @@ -1,9 +1,12 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. -.TH ZCASHD "1" "March 2017" "zcashd v1.0.7" "User Commands" +.TH ZCASHD "1" "March 2017" "zcashd v1.0.8" "User Commands" .SH NAME -zcashd \- manual page for zcashd v1.0.7 +zcashd \- manual page for zcashd v1.0.8 .SH DESCRIPTION -Zcash Daemon version v1.0.7-1 +Zcash Daemon version v1.0.8 +.PP +In order to ensure you are adequately protecting your privacy when using Zcash, +please see . .SS "Usage:" .TP zcashd [options] @@ -145,6 +148,10 @@ Always query for peer addresses via DNS lookup (default: 0) .IP Accept connections from outside (default: 1 if no \fB\-proxy\fR or \fB\-connect\fR) .HP +\fB\-listenonion\fR +.IP +Automatically create Tor hidden service (default: 1) +.HP \fB\-maxconnections=\fR .IP Maintain at most connections to peers (default: 125) @@ -191,6 +198,15 @@ Connect to a node to retrieve peer addresses, and disconnect .IP Specify connection timeout in milliseconds (minimum: 1, default: 5000) .HP +\fB\-torcontrol=\fR: +.IP +Tor control port to use if onion listening enabled (default: +127.0.0.1:9051) +.HP +\fB\-torpassword=\fR +.IP +Tor control port password (default: empty) +.HP \fB\-upnp\fR .IP Use UPnP to map the listening port (default: 0) @@ -295,9 +311,9 @@ Debugging/Testing options: Output debugging information (default: 0, supplying is optional). If is not supplied or if = 1, output all debugging information. can be: addrman, alert, bench, -coindb, db, estimatefee, lock, mempool, net, partitioncheck, pow, proxy, -prune, rand, reindex, rpc, selectcoins, zmq, zrpc, zrpcunsafe (implies -zrpc). +coindb, db, estimatefee, http, libevent, lock, mempool, net, +partitioncheck, pow, proxy, prune, rand, reindex, rpc, selectcoins, tor, +zmq, zrpc, zrpcunsafe (implies zrpc). .HP \fB\-experimentalfeatures\fR .IP diff --git a/doc/release-notes/release-notes-1.0.8.md b/doc/release-notes/release-notes-1.0.8.md new file mode 100644 index 000000000..7d6460c88 --- /dev/null +++ b/doc/release-notes/release-notes-1.0.8.md @@ -0,0 +1,170 @@ +Adam Brown (1): + [doc] Update port in tor.md + +Bob McElrath (1): + Add explicit shared_ptr constructor due to C++11 error + +Cory Fields (2): + libevent: add depends + libevent: Windows reuseaddr workaround in depends + +Daira Hopwood (15): + Remove src/qt. + License updates for removal of src/qt. + Correct license text for LGPL. + Remove QT gunk from Makefiles. + Remove some more QT-related stragglers. + Update documentation for QT removal. + Update which libraries are allowed to be linked to zcashd by symbol-check.py. + Remove NO_QT make option. + .gitignore cache/ and venv-mnf/ + Remove unused packages and patches. + Delete -rootcertificates from bash completion script. + Line-wrap privacy notice. Use <> around URL and end sentence with '.'. Include privacy notice in help text for zcashd -help. + Update version numbers. + Improvement to release process doc. + Generate man pages. + +Daniel Cousens (1): + torcontrol: only output disconnect if -debug=tor + +Gregory Maxwell (3): + Avoid a compile error on hosts with libevent too old for EVENT_LOG_WARN. + Do not absolutely protect local peers from eviction. + Decide eviction group ties based on time. + +Ian Kelling (1): + Docs: add details to -rpcclienttimeout doc + +Jack Gavigan (2): + Removed markdown from COPYING + Updated the Bitcoin Core copyright statement + +Jack Grigg (25): + Add anchor to output of getblock + Migrate IncrementalMerkleTree memory usage calls + Add tests for getmempoolinfo + Usability improvements for z_importkey + Implement an AtomicTimer + Use AtomicTimer for more accurate local solution rate + Metrics: Move local solution rate into stats + Metrics: Improve mining status + Expand on reasons for mining being paused + Simplify z_importkey by making rescan a string + Revert "Closes #1680, temporary fix for rpc deadlock inherited from upstream." + Add libevent to zcash-gtest + [depends] libevent 2.1.8 + Test boolean fallback in z_importkey + Require that z_importkey height parameter be in valid range + Update LocalSolPS test + Add AtomicTimer tests + Revert "Revert "rpc-tests: re-enable rpc-tests for Windows"" + Wrap error string + Fix typo + torcontrol: Improve comments + torcontrol: Add unit tests for Tor reply parsers + torcontrol: Fix ParseTorReplyMapping + torcontrol: Check for reading errors in ReadBinaryFile + torcontrol: Log invalid parameters in Tor reply strings where meaningful + +Jay Graber (5): + Document returned results of submitblock + Edit release-process.md for clarity + Add security warning to zcash-cli --help and --version message output + Add security warning to zcashd metrics display + Add security message to license text, rm url from translation string + +Jonas Schnelli (1): + Fix torcontrol.cpp unused private field warning + +Karl-Johan Alm (4): + Added std::unique_ptr<> wrappers with deleters for libevent modules. + Switched bitcoin-cli.cpp to use RAII unique pointers with deleters. + Added some simple tests for the RAII-style events. + Added EVENT_CFLAGS to test makefile to explicitly include libevent headers. + +Luke Dashjr (1): + Skip RAII event tests if libevent is built without event_set_mem_functions + +MarcoFalke (2): + [doc] [tor] Clarify when to use bind + torcontrol debug: Change to a blanket message that covers both cases + +Matt Quinn (1): + Consolidate individual references to the current maximum peer connection value of 125 into a single constant declaration. + +Nathaniel Mahieu (1): + Clarify documentation for running a tor node + +Patrick Strateman (1): + Remove vfReachable and modify IsReachable to only use vfLimited. + +Pavel Janík (3): + Implement REST mempool API, add test and documentation. + Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1. + Make some global variables less-global (static) + +Peter Todd (2): + Better error message if Tor version too old + Connect to Tor hidden services by default + +Pieter Wuille (3): + Implement accurate memory accounting for mempool + Separate core memory usage computation in core_memusage.h + Fix interrupted HTTP RPC connection workaround for Python 3.5+ + +Sean Bowe (2): + Introduce librustzcash and Rust to depends system. + Allow Rust-language related assets to be disabled with `--disable-rust`. + +Simon Liu (4): + Remove stale Qt comments and dead code + Remove QT translation support files + Remove redundant gui options from build scripts + Closes #2186. RPC getblock now accepts height or hash. + +Wladimir J. van der Laan (28): + doc: remove documentation for rpcssl + qa: Remove -rpckeepalive tests from httpbasics + Remove rpc_boostasiotocnetaddr test + build: build-system changes for libevent + tests: GET requests cannot have request body, use POST in rest.py + evhttpd implementation + Implement RPCTimerHandler for Qt RPC console + Document options for new HTTP/RPC server in --help + Fix race condition between starting HTTP server thread and setting EventBase() + Move windows socket init to utility function + Revert "rpc-tests: re-enable rpc-tests for Windows" + init: Ignore SIGPIPE + http: Disable libevent debug logging, if not explicitly enabled + rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout + Make RPC tests cope with server-side timeout between requests + chain: define enum used as bit field as uint32_t + auto_ptr → unique_ptr + bitcoin-cli: More detailed error reporting + depends: Add libevent compatibility patch for windows + bitcoin-cli: Make error message less confusing + test: Avoid ConnectionResetErrors during RPC tests + net: Automatically create hidden service, listen on Tor + torcontrol improvements and fixes + doc: update docs for Tor listening + tests: Disable Tor interaction + Fix memleak in TorController [rework] + tor: Change auth order to only use HASHEDPASSWORD if -torpassword + torcontrol: Explicitly request RSA1024 private key + +calebogden (1): + Fixing typos on security-check.py and torcontrol.cpp + +fanquake (1): + [depends] libevent 2.1.7rc + +instagibbs (1): + Add common failure cases for rpc server connection failure + +paveljanik (1): + [TRIVIAL] Fix typo: exactmath -> exactmatch + +unsystemizer (1): + Clarify `listenonion` + diff --git a/doc/release-process.md b/doc/release-process.md index 236837f57..b4e2a3565 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -4,7 +4,7 @@ Meta: There should always be a single release engineer to disambiguate responsib ## Pre-release -Check all of the following: +The following should have been checked well in advance of the release: - All dependencies have been updated as appropriate: - BDB @@ -16,6 +16,9 @@ Check all of the following: - miniupnpc - OpenSSL + +## Release process + ## A. Define the release version as: $ ZCASH_RELEASE=MAJOR.MINOR.REVISION(-BUILD_STRING) @@ -30,7 +33,10 @@ previous release: $ ZCASH_RELEASE_PREV=1.0.0-beta1 ## B. Create a new release branch / github PR -### B1. Update (commit) version in sources + +### B1. Check that you are up-to-date with current master, then create a release branch. + +### B2. Update (commit) version in sources. README.md src/clientversion.h @@ -63,7 +69,7 @@ Then perform the following command: Commit the changes. -### B2. Write release notes +### B3. Generate release notes Run the release-notes.py script to generate release notes and update authors.md file. For example: @@ -83,13 +89,13 @@ Update the Debian package changelog: (`dch` comes from the devscripts package.) -### B3. Change the network magics +### B4. Change the network magics If this release breaks backwards compatibility, change the network magic numbers. Set the four `pchMessageStart` in `CTestNetParams` in `chainparams.cpp` to random values. -### B4. Merge the previous changes +### B5. Merge the previous changes Do the normal pull-request, review, testing process for this release PR. diff --git a/src/clientversion.h b/src/clientversion.h index 5bd1f2760..fb934ab24 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -1,4 +1,5 @@ // Copyright (c) 2009-2014 The Bitcoin Core developers +// Copyright (c) 2016-2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -16,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 7 -#define CLIENT_VERSION_BUILD 51 +#define CLIENT_VERSION_REVISION 8 +#define CLIENT_VERSION_BUILD 50 //! Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true