Commit Graph

16589 Commits

Author SHA1 Message Date
Kris Nuttycombe 15d1bb6ce9 scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM 6a08c225674df23f1c7f214bcb94732dba688d39..a960e896dd4c0b6d96db3d5ebbb1caa6c92a9f39 -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2020-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:32:39 -06:00
Kris Nuttycombe 940dd0d426 scripted-diff: Add 2019-2022 copyright headers for files added/modified in 2019
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM 8df7a073ce13ec057b94b5a813bb5534cdfa6809..6a08c225674df23f1c7f214bcb94732dba688d39 -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2019-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:29:59 -06:00
Kris Nuttycombe 73fcef8035 scripted-diff: Add 2018-2022 copyright headers for files added/modified in 2018
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM b2a114a8c99947b66d1fbdc70278f13e7a415d2a..8df7a073ce13ec057b94b5a813bb5534cdfa6809 -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2018-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:28:03 -06:00
Kris Nuttycombe d9aeefc54a scripted-diff: Add 2017-2022 copyright headers for files added/modified in 2017
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM 94f427a211bb337200c29a1e19be0f5ad2f171b0..b2a114a8c99947b66d1fbdc70278f13e7a415d2a -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2017-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:25:51 -06:00
Kris Nuttycombe 28040f9ce4 scripted-diff: Add 2016-2022 copyright headers for files added/modified in 2016
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM bitcoin-v0.11.2..94f427a211bb337200c29a1e19be0f5ad2f171b0 -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2016-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:23:09 -06:00
Kris Nuttycombe 5ae1772d2b scripted-diff: Update Zcash copyrights to 2022
-BEGIN VERIFY SCRIPT-
git grep "// Copyright (c) .* The Zcash developers" \
  | awk -F ':' '{print $1}' \
  | xargs -I {} sed -i"" -e "s#// Copyright (c) \([0-9]\{4\}\)\(-[0-9]\{4\}\)\? The Zcash developers#// Copyright (c) \1-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 16:47:12 -06:00
Kris Nuttycombe 83c1938af3 Fix inconsistent caplitalization in copyright notices. 2022-05-11 16:40:25 -06:00
Kris Nuttycombe aeea89f704
Merge pull request #5948 from nuttycom/fix/nu5_release_notes_links
Fix incorrect links in 5.0.0 release notes.
2022-05-11 16:28:55 -06:00
Kris Nuttycombe 40c2d02997 Fix incorrect links in 5.0.0 release notes. 2022-05-11 14:54:22 -06:00
Kris Nuttycombe 8764f636e5
Merge pull request #5945 from zcash/version-5.0.0
Merge 5.0.0 release branch back to master.
2022-05-11 10:25:35 -06:00
Kris Nuttycombe cc1a52e89d
Merge pull request #5944 from nuttycom/release-v5.0.0
Release v5.0.0
2022-05-10 21:47:20 -06:00
Kris Nuttycombe 16b49eadd5 Update v5.0.0 release notes to note NU5 upgrade 2022-05-10 20:14:00 -06:00
Kris Nuttycombe ca7323cc77 Set NU5 activation height & bump protocol version. 2022-05-10 19:58:35 -06:00
Kris Nuttycombe 10fb705f45 make-release.py: Updated release notes and changelog for 5.0.0. 2022-05-10 19:52:28 -06:00
Kris Nuttycombe f97d83981f make-release.py: Updated manpages for 5.0.0. 2022-05-10 19:52:28 -06:00
Kris Nuttycombe 04d0da1391 make-release.py: Versioning changes for 5.0.0. 2022-05-10 19:48:53 -06:00
Kris Nuttycombe a4518b729e Revert "Set RELEASE_TO_DEPRECATION_WEEKS to 2 weeks to provide RC EOS halt."
This reverts commit 9fe516576f.
2022-05-10 19:46:24 -06:00
str4d 6c26d08970
Merge pull request #5943 from str4d/zcash_primitives-0.6
Migrate to `zcash_primitives 0.6` et al
2022-05-11 02:21:30 +01:00
str4d 4c2e9c34ac
Merge pull request #5938 from nuttycom/test/block_auth_data_root
Add tests to check auth data commitments committing to Orchard actions.
2022-05-11 02:14:07 +01:00
str4d dd8a9e938c
Merge pull request #5942 from nuttycom/deprecate_legacy_wallet_rpcs
Deprecate legacy RPCs & update rpc docs to clarify which are transparent-only.
2022-05-11 01:36:38 +01:00
Jack Grigg 5fc38dd091 Migrate to `zcash_primitives 0.6` et al 2022-05-11 00:04:34 +00:00
Kris Nuttycombe 113cfa3ec5 Update rpcwallet help to better distinguish transparent-only APIs.
Fixes #5675
2022-05-10 16:23:15 -06:00
Kris Nuttycombe 721e5d85ab Deprecate `getrawchangeaddress` and `z_listaddresses` 2022-05-10 16:23:15 -06:00
Kris Nuttycombe 1b8a9af946 Add tests to check auth data commitments committing to Orchard actions.
In the process of adding these tests, I also found and fixed a number
of type errors in Orchard auth data root computation.

Fixes #5223
2022-05-09 21:01:11 -06:00
Kris Nuttycombe c6ceeb1646
Merge pull request #5934 from nuttycom/fix/release-notes-typos
Fix typos in release notes & Orchard wallet internal API doc.
2022-05-09 12:52:35 -06:00
Kris Nuttycombe 7defcb8341
Merge pull request #5926 from nuttycom/deprecation/z_getbalance
Add z_get(total)balance to deprecation flags.
2022-05-09 12:52:16 -06:00
Kris Nuttycombe ac1f6799c2
Merge pull request #5935 from str4d/release-v5.0.0-rc1
Release v5.0.0-rc1
2022-05-09 11:00:20 -06:00
Kris Nuttycombe 8f2c15cf6f Include getbalance in recommendations for z_getbalance and z_gettotalbalance replacements.
Co-authored-by: str4d <thestr4d@gmail.com>
2022-05-09 10:32:56 -06:00
Kris Nuttycombe 75055882d4 Add missing parenthesis to -reindex help. 2022-05-09 10:13:39 -06:00
Jack Grigg 64ccad1a89 make-release.py: Updated release notes and changelog for 5.0.0-rc1. 2022-05-09 15:35:33 +00:00
Jack Grigg e7f04c1741 make-release.py: Updated manpages for 5.0.0-rc1. 2022-05-09 15:35:33 +00:00
Kris Nuttycombe f41ccaf244 Fix typos in release notes & Orchard wallet internal API doc. 2022-05-09 09:30:02 -06:00
Jack Grigg a51cbfc78c make-release.py: Versioning changes for 5.0.0-rc1. 2022-05-09 15:29:29 +00:00
Kris Nuttycombe 731df21da7 Fix a typo in the release script. 2022-05-09 09:12:46 -06:00
Kris Nuttycombe 9fe516576f Set RELEASE_TO_DEPRECATION_WEEKS to 2 weeks to provide RC EOS halt. 2022-05-09 09:11:05 -06:00
Kris Nuttycombe 580bbc0b35 Postpone dependency updates prior to v5.0.0-rc1 2022-05-09 08:52:59 -06:00
Kris Nuttycombe cdcf1ee88b
Merge pull request #5927 from nuttycom/fix/transaction_field_init
Ensure boolean & integer-typed transaction fields are zero-initialized.
2022-05-09 08:40:52 -06:00
Kris Nuttycombe 8ca33e06f7
Merge pull request #5919 from nuttycom/feature/z_sendmany_tx_limit
Add -orchardactionlimit parameter to guard against memory exhaustion.
2022-05-09 08:39:09 -06:00
Kris Nuttycombe 5c1a99a288
Merge pull request #5917 from nuttycom/feature/wallet_orchard-checkpoint_depth
Select anchors at `-anchorconfirmations` depth.
2022-05-09 08:29:55 -06:00
Kris Nuttycombe 20614fdaf8 Add -orchardactionlimit help text. 2022-05-07 20:48:41 -06:00
Kris Nuttycombe a71db41d38 Add -orchardactionlimit parameter to guard against memory exhaustion.
Orchard proving can require large amounts of memory, so by default
`z_sendmany` will not attempt to create transactions containing more
than 50 Orchard inputs or outputs to reduce the risk of memory
exhaustion.  The `-orchardactionlimit` parameter allows users with
larger amounts of memory at their disposal to override this limit.

Fixes #5889
2022-05-06 22:16:13 -06:00
Kris Nuttycombe c920077a46 Use default anchor confirmations for minconf in z_mergetoaddress.
z_mergetoaddress doesn't currently have any mechanism for specifying
the minconf value. We don't want to default back to a minconf of 1,
as before, because we'll be selecting anchors with at least 3
confirmations by default, so the simplest change here is to make
the minconf value default to the number of anchor confirmations, and
add a configurable minconf at some point in the future. It's likely
that `z_mergetoaddress` will end up being deprecated in any case,
so this works for now.

Also, ensure that anywhere that we're attempting to obtain the Orchard
anchor that we don't attempt to get an anchor from a height below NU5
activation.
2022-05-06 22:15:20 -06:00
Kris Nuttycombe 295f7d9f7b Change default anchor depth from 10 confirmations to 3 2022-05-06 18:05:39 -06:00
Charlie O'Keefe c9eb25c9ee
Merge pull request #5930 from defuse/2022-05-rpc-assertion-failure
Test an assertion failure in the listaddresses RPC
2022-05-06 16:06:58 -06:00
Kris Nuttycombe 66fad22873 Fix missing handling for imported transparent multisig addresses. 2022-05-06 13:29:05 -06:00
Taylor Hornby b900c4827b Reproduce an assertion failure in the listaddresses RPC 2022-05-06 11:59:28 -06:00
Charlie O'Keefe 9227cfb5cb
Merge pull request #5883 from nuttycom/util/release_from_commit_hash
Build releases from a commit hash, rather than a named branch.
2022-05-06 09:37:29 -06:00
Kris Nuttycombe a5f6af12b8 Update release process documentation to clarify the use of release stabilization branches. 2022-05-06 07:30:32 -06:00
Kris Nuttycombe 6b80f3ba1f Apply suggestions from code review
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-05-06 07:30:29 -06:00
Kris Nuttycombe 91ef609c1b Build releases from a commit hash, rather than a named branch.
This modifies the release script to take as its first argument
the hash of the git commit to be released. It also improves the
verification of the previous commit tag by ensuring that the tag
exists in the history of the specified commit.
2022-05-06 07:29:46 -06:00