From a8270035c0d3596a59af35bfdccfc7d807e2aed7 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 6 Aug 2016 15:37:24 -0700 Subject: [PATCH] Release process for z8. Issue #1140. --- configure.ac | 2 +- doc/README.md | 2 +- doc/release-notes/release-notes-0.11.2.z8.md | 61 ++++++++++++++++++++ src/chainparams.cpp | 8 +-- src/clientversion.h | 2 +- 5 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 doc/release-notes/release-notes-0.11.2.z8.md diff --git a/configure.ac b/configure.ac index c1a575d49..5cbf6fffb 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MINOR, 11) define(_CLIENT_VERSION_REVISION, 2) define(_CLIENT_VERSION_BUILD, 0) -define(_CLIENT_VERSION_ZCASH, 7) +define(_CLIENT_VERSION_ZCASH, 8) define(_CLIENT_VERSION_ZCASH_FULL, z$1) define(_CLIENT_VERSION_IS_RELEASE, false) define(_COPYRIGHT_YEAR, 2016) diff --git a/doc/README.md b/doc/README.md index 912fc27af..663364850 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1,4 +1,4 @@ -Zcash Core 0.11.2.z7 +Zcash Core 0.11.2.z8 ==================== [Zcash](https://z.cash/) is the Zcash client. It downloads and stores the entire history of Zcash transactions (which is currently several GBs); depending on the speed of your computer and network connection, the synchronization process can take anywhere from a few hours to a day or more. diff --git a/doc/release-notes/release-notes-0.11.2.z8.md b/doc/release-notes/release-notes-0.11.2.z8.md new file mode 100644 index 000000000..073d771f1 --- /dev/null +++ b/doc/release-notes/release-notes-0.11.2.z8.md @@ -0,0 +1,61 @@ +Daira Hopwood (1): + README.md: simplify the title, drop "Core" + +Jack Grigg (23): + Make Equihash solvers cancellable + Add tests that exercise the cancellation code branches + Fix segfault by indirectly monitoring chainActive.Tip(), locking on mutex + Move initialisations to simplify cancelled checks + Use std::shared_ptr to deallocate partialSolns automatically + Equihash: Pass each obtained solution to a callback for immediate checking + Remove hardfork from special testnet difficulty rules + Fix bug in 'generate' RPC method that caused it to fail with high probability + Add thread parameter to solveequihash benchmark + Eliminate some of the duplicates caused by truncating indices + Use fixed-size array in IsProbablyDuplicate to avoid stack protector warning + Eliminate probably duplicates in final round + Simplify IsProbablyDuplicate() + Add missing assert + Simplify optional parameters + Fix previous commit + Remove the assumption that n/(k+1) is a multiple of 8. + Add Equihash support for n = 200, k = 9 + Add test showing bug in IsProbablyDuplicate() + Fix bug in IsProbablyDuplicate() + Change Equihash parameters to n = 200, k = 9 (about 563-700 MiB) + Update tests to account for new Equihash parameters + Ignore duplicate entries after partial recreation + +Simon (21): + Inform user that zcraw... rpc calls are being deprecated. + Add GetTxid() which returns a non-malleable txid. + Update genesis blocks. + Update precomputed equihash solutions used in test. + Update block and tx data used in bloom filter tests. + Updated test data for script_tests by uncommenting UPDATE_JSON_TESTS flag. + Rename GetHash() method to GetSerializeHash(). + Replace calls to GetHash() with GetTxid() for transaction objects. + Set nLockTime in CreateNewBlock() so coinbase txs do not have the same txid. Update test data in miner_tests. + Refactor GetTxid() into UpdateTxid() to match coding style of hash member variable. + Revert "Set nLockTime in CreateNewBlock() so coinbase txs do not have the same txid." + Fix issue where a coinbase tx should have it's sigscript hashed to avoid duplicate txids, as discussed in BIP34 and BIP30. + Update genesis block hashes and test data. + Make txid const. + Update deprecation message for zcraw api. + Fix comment. + Update comment. + Extend try catch block around calls to libsnark, per discussion in #1126. + Remove GetSerializeHash() method. + Use -O1 opimitization flag when building libzcash. Continuation of #1064 and related to #1168. + Add test for non-malleable txids. To run just this test: ./zcash-gtest --gtest_filter="txid_tests*" + +Taylor Hornby (8): + Make the --enable-hardening flag explicit. + Enable -O1 for better FORTIFY_SOURCE protections. + Add checksec.sh from http://www.trapkit.de/tools/checksec.html + Add tests for security hardening features + Pull in upstream's make check-security, based on upstream PR #6854 and #7424. + Make security options in configure.ac fail if unavailable. + Put hardened stuff in libzcash CPPFLAGS. + Add more commands to run unit tests under valgrind. + diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 79fe73445..92c02dddd 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -145,10 +145,10 @@ public: consensus.nMajorityWindow = 400; consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); consensus.fPowAllowMinDifficultyBlocks = true; - pchMessageStart[0] = 0xa9; - pchMessageStart[1] = 0xf0; - pchMessageStart[2] = 0x94; - pchMessageStart[3] = 0x11; + pchMessageStart[0] = 0x18; + pchMessageStart[1] = 0x28; + pchMessageStart[2] = 0x38; + pchMessageStart[3] = 0x48; vAlertPubKey = ParseHex("044e7a1553392325c871c5ace5d6ad73501c66f4c185d6b0453cf45dec5a1322e705c672ac1a27ef7cdaf588c10effdf50ed5f95f85f2f54a5f6159fca394ed0c6"); nDefaultPort = 18233; nMinerThreads = 0; diff --git a/src/clientversion.h b/src/clientversion.h index 19402588b..042039f3e 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -18,7 +18,7 @@ #define CLIENT_VERSION_MINOR 11 #define CLIENT_VERSION_REVISION 2 #define CLIENT_VERSION_BUILD 0 -#define CLIENT_VERSION_ZCASH 7 +#define CLIENT_VERSION_ZCASH 8 //! Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE false