Repository: zcash/zcash (language: rust)

Issue:
Release 5.5.1



Discussion / hints:

Fix patch:
diff --git a/README.md b/README.md
index 7e5743b779e..bc777728dc0 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-Zcash 5.5.0
+Zcash 5.5.1
 <img align="right" width="120" height="80" src="doc/imgs/logo.png">
 ===========
 
diff --git a/configure.ac b/configure.ac
index e068dd1c65a..37174b5f434 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
 AC_PREREQ([2.60])
 define(_CLIENT_VERSION_MAJOR, 5)
 define(_CLIENT_VERSION_MINOR, 5)
-define(_CLIENT_VERSION_REVISION, 0)
+define(_CLIENT_VERSION_REVISION, 1)
 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)))
diff --git a/contrib/debian/changelog b/contrib/debian/changelog
index 5fdfb1dff1c..072f9481fd2 100644
--- a/contrib/debian/changelog
+++ b/contrib/debian/changelog
@@ -1,3 +1,9 @@
+zcash (5.5.1) stable; urgency=medium
+
+  * 5.5.1 release.
+
+ -- Electric Coin Company <team@electriccoin.co>  Tue, 16 May 2023 11:20:05 -0600
+
 zcash (5.5.0) stable; urgency=medium
 
   * 5.5.0 release.
diff --git a/contrib/gitian-descriptors/gitian-linux-parallel.yml b/contrib/gitian-descriptors/gitian-linux-parallel.yml
index 9aa85723f39..18535c9adbd 100644
--- a/contrib/gitian-descriptors/gitian-linux-parallel.yml
+++ b/contrib/gitian-descriptors/gitian-linux-parallel.yml
@@ -1,5 +1,5 @@
 ---
-name: "zcash-5.5.0"
+name: "zcash-5.5.1"
 enable_cache: true
 distro: "debian"
 suites:
diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml
index 368fcdf6152..86229bda2b5 100644
--- a/contrib/gitian-descriptors/gitian-linux.yml
+++ b/contrib/gitian-descriptors/gitian-linux.yml
@@ -1,5 +1,5 @@
 ---
-name: "zcash-5.5.0"
+name: "zcash-5.5.1"
 enable_cache: true
 distro: "debian"
 suites:
diff --git a/doc/authors.md b/doc/authors.md
index 78d5e6ecf6e..98d33ae6173 100644
--- a/doc/authors.md
+++ b/doc/authors.md
@@ -7,7 +7,7 @@ Simon Liu (460)
 Daira Hopwood (392)
 Sean Bowe (390)
 Eirik Ogilvie-Wigley (216)
-Greg Pfeil (174)
+Greg Pfeil (184)
 Wladimir J. van der Laan (160)
 Pieter Wuille (149)
 Alfredo Garcia (120)
diff --git a/doc/book/src/user/release-support.md b/doc/book/src/user/release-support.md
index 02b961bcc14..8d8ecf89c42 100644
--- a/doc/book/src/user/release-support.md
+++ b/doc/book/src/user/release-support.md
@@ -50,4 +50,5 @@ time, and may shift due to changes in network solution power.
 | 5.5.0-rc2 | 2023-04-25 | 2193300 | 2023-08-15 |
 | 5.5.0-rc3 | 2023-04-27 | 2195224 | 2023-08-17 |
 | 5.5.0 | 2023-04-27 | 2196024 | 2023-08-17 |
+| 5.5.1 | 2023-05-16 | 2217487 | 2023-09-05 |
 <!-- RELEASE_SCRIPT_END_MARKER -->
diff --git a/doc/man/zcash-cli.1 b/doc/man/zcash-cli.1
index 75815c8f2f8..6855e0f852f 100644
--- a/doc/man/zcash-cli.1
+++ b/doc/man/zcash-cli.1
@@ -1,9 +1,9 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.1.
-.TH ZCASH-CLI "1" "April 2023" "zcash-cli v5.5.0" "User Commands"
+.TH ZCASH-CLI "1" "May 2023" "zcash-cli v5.5.1" "User Commands"
 .SH NAME
-zcash-cli \- manual page for zcash-cli v5.5.0
+zcash-cli \- manual page for zcash-cli v5.5.1
 .SH DESCRIPTION
-Zcash RPC client version v5.5.0
+Zcash RPC client version v5.5.1
 .PP
 In order to ensure you are adequately protecting your privacy when using Zcash,
 please see <https://z.cash/support/security/>.
diff --git a/doc/man/zcash-tx.1 b/doc/man/zcash-tx.1
index 2d238e6cc9b..35b3cc39cf6 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.49.1.
-.TH ZCASH-TX "1" "April 2023" "zcash-tx v5.5.0" "User Commands"
+.TH ZCASH-TX "1" "May 2023" "zcash-tx v5.5.1" "User Commands"
 .SH NAME
-zcash-tx \- manual page for zcash-tx v5.5.0
+zcash-tx \- manual page for zcash-tx v5.5.1
 .SH DESCRIPTION
-Zcash zcash\-tx utility version v5.5.0
+Zcash zcash\-tx utility version v5.5.1
 .SS "Usage:"
 .TP
 zcash\-tx [options] <hex\-tx> [commands]
diff --git a/doc/man/zcashd-wallet-tool.1 b/doc/man/zcashd-wallet-tool.1
index 674602617e3..5c96fc00f79 100644
--- a/doc/man/zcashd-wallet-tool.1
+++ b/doc/man/zcashd-wallet-tool.1
@@ -1,7 +1,7 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.1.
-.TH ZCASHD-WALLET-TOOL "1" "April 2023" "zcashd-wallet-tool v5.5.0" "User Commands"
+.TH ZCASHD-WALLET-TOOL "1" "May 2023" "zcashd-wallet-tool v5.5.1" "User Commands"
 .SH NAME
-zcashd-wallet-tool \- manual page for zcashd-wallet-tool v5.5.0
+zcashd-wallet-tool \- manual page for zcashd-wallet-tool v5.5.1
 .SH SYNOPSIS
 .B zcashd-wallet-tool
 [\fI\,OPTIONS\/\fR]
diff --git a/doc/man/zcashd.1 b/doc/man/zcashd.1
index 1f032c443ea..42bf4d73619 100644
--- a/doc/man/zcashd.1
+++ b/doc/man/zcashd.1
@@ -1,9 +1,9 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.1.
-.TH ZCASHD "1" "April 2023" "zcashd v5.5.0" "User Commands"
+.TH ZCASHD "1" "May 2023" "zcashd v5.5.1" "User Commands"
 .SH NAME
-zcashd \- manual page for zcashd v5.5.0
+zcashd \- manual page for zcashd v5.5.1
 .SH DESCRIPTION
-Zcash Daemon version v5.5.0
+Zcash Daemon version v5.5.1
 .PP
 In order to ensure you are adequately protecting your privacy when using Zcash,
 please see <https://z.cash/support/security/>.
@@ -98,7 +98,7 @@ Keep at most <n> unconnectable transactions in memory (default: 100)
 .HP
 \fB\-par=\fR<n>
 .IP
-Set the number of script verification threads (\fB\-16\fR to 16, 0 = auto, <0 =
+Set the number of script verification threads (\fB\-8\fR to 16, 0 = auto, <0 =
 leave that many cores free, default: 0)
 .HP
 \fB\-pid=\fR<file>
diff --git a/doc/release-notes/release-notes-5.5.1.md b/doc/release-notes/release-notes-5.5.1.md
new file mode 100644
index 00000000000..484fb78e775
--- /dev/null
+++ b/doc/release-notes/release-notes-5.5.1.md
@@ -0,0 +1,31 @@
+Notable changes
+===============
+
+Fixes
+-----
+
+Fixes an issue that could cause a node to crash if the privacy policy does not
+include `AllowRevealedRecipients` when attempting to create a transaction that
+results in transparent change. See
+[#6662](https://github.com/zcash/zcash/pull/6662) for details.
+
+Also corrects an underestimate of the [ZIP 317](https://zips.z.cash/zip-0317)
+conventional fee when spending UTXOs, which can result in mining of the
+transaction being delayed or blocked. See
+[#6660](https://github.com/zcash/zcash/pull/6660) for details.
+
+Changelog
+=========
+
+Greg Pfeil (10):
+      Add a test for WalletTxBuilder with legacy account
+      Handle errors when getting change addr for account
+      Test that WalletTxBuilder uses correct ZIP 317 fee
+      Correct fee calculation for vin in tx creation
+      Calculate consensusBranchId sooner
+      Extract fee check from test
+      Delay postponed dependencies
+      Add release notes for v5.5.1
+      make-release.py: Versioning changes for 5.5.1.
+      make-release.py: Updated manpages for 5.5.1.
+
diff --git a/qa/zcash/postponed-updates.txt b/qa/zcash/postponed-updates.txt
index ddd1614e9b6..4b96cf6cd9f 100644
--- a/qa/zcash/postponed-updates.txt
+++ b/qa/zcash/postponed-updates.txt
@@ -6,23 +6,26 @@
 
 # CCache 4.7 appears to drop support for Ubuntu 18.04.
 # We will drop Ubuntu 18.04 no later than May 2023.
-native_ccache 4.7 2023-05-01
-native_ccache 4.7.1 2023-05-01
-native_ccache 4.7.2 2023-05-01
-native_ccache 4.7.3 2023-05-01
-native_ccache 4.7.4 2023-05-01
-native_ccache 4.7.5 2023-05-01
-native_ccache 4.8 2023-05-01
+native_ccache 4.7 2023-06-01
+native_ccache 4.7.1 2023-06-01
+native_ccache 4.7.2 2023-06-01
+native_ccache 4.7.3 2023-06-01
+native_ccache 4.7.4 2023-06-01
+native_ccache 4.7.5 2023-06-01
+native_ccache 4.8 2023-06-01
 
 # Clang and Rust are currently pinned to LLVM 15
-libcxx 15.0.7 2023-04-30
-libcxx 16.0.0 2023-04-30
-libcxx 16.0.1 2023-04-30
-libcxx 16.0.2 2023-04-30
-native_clang 15.0.7 2023-04-30
-native_clang 16.0.0 2023-04-30
-native_clang 16.0.1 2023-04-30
-native_clang 16.0.2 2023-04-30
+libcxx 15.0.7 2023-06-01
+libcxx 16.0.0 2023-06-01
+libcxx 16.0.1 2023-06-01
+libcxx 16.0.2 2023-06-01
+libcxx 16.0.2 2023-06-01
+libcxx 16.0.3 2023-06-01
+native_clang 15.0.7 2023-06-01
+native_clang 16.0.0 2023-06-01
+native_clang 16.0.1 2023-06-01
+native_clang 16.0.2 2023-06-01
+native_clang 16.0.3 2023-06-01
 
 # We follow upstream Bitcoin Core's LevelDB updates
 leveldb 1.23 2023-06-01
diff --git a/src/clientversion.h b/src/clientversion.h
index cd4a976ee25..617e28e597c 100644
--- a/src/clientversion.h
+++ b/src/clientversion.h
@@ -17,7 +17,7 @@
 //! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo requires it
 #define CLIENT_VERSION_MAJOR 5
 #define CLIENT_VERSION_MINOR 5
-#define CLIENT_VERSION_REVISION 0
+#define CLIENT_VERSION_REVISION 1
 #define CLIENT_VERSION_BUILD 50
 
 //! Set to true for release, false for prerelease or test build
diff --git a/src/deprecation.h b/src/deprecation.h
index b03fe072aee..9da0337c472 100644
--- a/src/deprecation.h
+++ b/src/deprecation.h
@@ -13,7 +13,7 @@
 // Per https://zips.z.cash/zip-0200
 // Shut down nodes running this version of code, 16 weeks' worth of blocks after the estimated
 // release block height. A warning is shown during the 14 days' worth of blocks prior to shut down.
-static const int APPROX_RELEASE_HEIGHT = 2067000;
+static const int APPROX_RELEASE_HEIGHT = 2088463;
 static const int RELEASE_TO_DEPRECATION_WEEKS = 16;
 static const int EXPECTED_BLOCKS_PER_HOUR = 3600 / Consensus::POST_BLOSSOM_POW_TARGET_SPACING;
 static_assert(EXPECTED_BLOCKS_PER_HOUR == 48, "The value of Consensus::POST_BLOSSOM_POW_TARGET_SPACING was chosen such that this assertion holds.");


Test patch: