Commit Graph

16928 Commits

Author SHA1 Message Date
Greg Pfeil 7e6c53323a Improve PrivacyPolicy comments
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-12-07 11:09:27 -07:00
Greg Pfeil d462f8a5b0 Add PrivacyPolicyMeet
And redefine various `TransactionStrategy` operations in terms of it.
2022-11-10 11:03:36 -07:00
Kris Nuttycombe ac128a0b2c Add TransactionStrategy::IsCompatibleWith 2022-11-10 11:03:36 -07:00
str4d fadbb794f1
Merge pull request #6205 from nuttycom/zcash_inspect/transparent_detail
[zcash-inspect] Add extra detail related to transparent inputs and outputs
2022-11-08 08:42:06 +00:00
Greg Pfeil 8edd987ed1
Merge pull request #6230 from daira/librustzcash-authors2 2022-11-01 10:10:37 -06:00
Daira Hopwood 36a2541f64 Update authors of librustzcash to include Greg Pfeil.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-11-01 14:40:47 +00:00
Daira Hopwood 1889a466ec Report the prevout for each transparent input as it is being checked
Author: Kris Nuttycombe <kris@nutty.land>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-29 18:46:58 +01:00
Kris Nuttycombe fd2cd0f02b Add extra detail related to transparent inputs and outputs. 2022-10-29 18:44:53 +01:00
Kris Nuttycombe e417ba89a6
Merge pull request #6211 from sellout/updatecheck-token-path
Improve token handling in the updatecheck script
2022-10-26 12:15:29 -06:00
Greg Pfeil 1296b646b3
Apply suggestions from code review
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-10-26 09:07:58 -06:00
Greg Pfeil f9871c4ca6
Merge pull request #6222 from sellout/remove-pr-template
Remove the PR template
2022-10-24 17:31:16 -06:00
Greg Pfeil 463259be0a Remove the PR template
Parts of it are automated (successful test, code review) and while the other
parts are useful, I haven’t seen this checklist be used as such.
2022-10-24 15:56:53 -06:00
Greg Pfeil 9cb63cf5f7
Merge pull request #6218 from sellout/more-help-fixes
`zcash --help` test improvements
2022-10-24 15:40:36 -06:00
sasha b908beae7d
Merge pull request #6215 from superbaud/fix-version-string
Fix gitian version string issue by reverting the GIT_DIR backport commit
2022-10-24 10:03:07 -07:00
Greg Pfeil 87aa33ecc4 `zcash --help` test improvements
Applying suggestions from @daira’s review of #6204.

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-10-21 19:03:13 -06:00
sasha acabec7ae0 Remove `git_check_in_repo` from genbuild.sh to fix gitian version string
This removes the git hash from gitian-build zcash version strings when
built inside gitian (when the state of the working tree is clean and
corresponds to an annotated tag).
2022-10-21 14:39:21 -07:00
sasha 15b7f93177 Fix gitian version string issue by reverting the GIT_DIR backport commit
We partially revert 8dbd2edd98 by removing
all instances of setting `GIT_DIR` in the gitian descriptors. Currently,
gitian builds cause zcash to have version strings which look like
`Zcash Daemon version v5.3.0-35186b009-dirty`, which is inaccurate.

Setting `GIT_DIR` with a current working directory of
`/home/debian/build/zcash/distsrc-x86_64-linux-gnu` makes the git
invocations in `genbuild.sh` see that directory as the top of the
working tree, which causes git to believe that a bunch of tracked files
were deleted (namely, those not included by the `make dist` step).

This causes `genbuild.sh` to believe that it is working with a dirty
tree, and with the help of `src/clientversion.cpp`, zcash gets a version
string that includes a hash ending in `-dirty`.
2022-10-21 10:50:22 -07:00
sasha 34ca70d7a9
Merge pull request #6214 from zcash/update-parallel-gitian-descriptor
Update gitian-linux-parallel.yml
2022-10-21 10:42:43 -07:00
Daira Hopwood e89d94d8b9
Merge pull request #6213 from zcash/version-5.3.0
Merge v5.3.0 release branch back to `master`.
2022-10-21 14:01:42 +01:00
sasha a524061861
Update gitian-linux-parallel.yml
The release commit was built with a `make-release.py` that was before the parallel-gitian commit, causing the parallel gitian descriptor to not be updated.
2022-10-20 18:12:07 -07:00
Kris Nuttycombe 35186b0092
Merge pull request #6210 from sellout/release-v5.3.0
Release v5.3.0
2022-10-20 12:25:20 -06:00
Greg Pfeil 8e333b3f49 updatecheck: support XDG-based token location
Have updatecheck look in $XDG_DATA_HOME/zcash/updatecheck/token for the GH
token. Having one in the repo will still take precedence (for pre-existing
users, as well as if you want to override the token used in a particular
case). The new location is standardized, exists at the user level (as the token
logically does), and means that you don't need to copy files around if you get a
new clone or worktree to do a release.
2022-10-20 12:25:13 -06:00
Greg Pfeil 4c21d6f444 updatecheck: simplify token handling
- make the token optional (just will hit a rate limit after a few runs of the
  script)
- only load the token once, rather than once per request (this is necessary
  after the above change, so you don't get the warning printed repeatedly)
- switch from BasicAuth to an Authorization header (this means we no longer need
  the GitHub username, just the token)
- support a token file that doesn't contain a username (it will still parse old
  versions of the file properly)
2022-10-20 12:13:30 -06:00
Kris Nuttycombe 654180df21
Merge pull request #6104 from superbaud/parallel-gitian-descriptor
Add a new gitian descriptor to enable parallel gitian builds
2022-10-20 11:03:23 -06:00
Greg Pfeil d557b6e5c5 make-release.py: Updated release notes and changelog for 5.3.0. 2022-10-20 10:52:37 -06:00
Greg Pfeil b6681791fc make-release.py: Updated manpages for 5.3.0. 2022-10-20 10:52:37 -06:00
Greg Pfeil 9c4bf36c45 updatecheck: fix GitHub auth
The script was accessing nonexistent vars, so auth wasn't working. Mostly not
noticable until you hit the API's unauthed request rate limit.
2022-10-20 10:48:02 -06:00
Greg Pfeil 5a084253d6 make-release.py: Versioning changes for 5.3.0. 2022-10-20 10:38:42 -06:00
sasha 6c85d52504 Add `-j$(nproc)` to the parallel gitian descriptor 2022-10-20 09:26:59 -07:00
sasha 75397a623e Use linux gitian descriptor as a base for the parallel linux descriptor 2022-10-20 09:25:43 -07:00
sasha e1b716b753 Make make-release.py aware of the parallel build gitian descriptor file 2022-10-20 09:24:36 -07:00
Kris Nuttycombe cc34f4f9ba
Merge pull request #6207 from sellout/fix-release-script
Check dependency updates on the correct branch
2022-10-20 09:46:53 -06:00
Kris Nuttycombe 5e05f060ef
Merge pull request #6208 from zcash/5.3.0-dependency_updates
Update to released versions of librustzcash crates.
2022-10-20 09:33:24 -06:00
Kris Nuttycombe 16c49a844e Fix clippy lints. 2022-10-20 08:35:29 -06:00
Kris Nuttycombe 06a1c78941 Certify librustzcash crate upgrades. 2022-10-20 08:35:29 -06:00
Kris Nuttycombe 741e6b1108 Update to released versions of librustzcash crates. 2022-10-20 08:35:29 -06:00
Greg Pfeil 65d04eed60 Check dependency updates on the correct branch
Previously make-release.py checked dependency updates before checking out the
commit to be released. This could be annoying if the release branch had
everything up-to-date, but you ran the script from a different branch. Worse,
you could accidentally update the dependencies on your original branch, and have
it pass the release process with outdated dependencies.
2022-10-19 14:50:46 -06:00
Daira Hopwood 66ee214954
Merge pull request #6206 from zcash/5.3.0-dependency_updates
Update and/or postpone dependencies for 5.3.0
2022-10-19 21:00:58 +01:00
Kris Nuttycombe 2f734ce6ea Vet cxxbridge upgrade. 2022-10-19 12:21:37 -06:00
Kris Nuttycombe 05110068d9 Update and/or postpone dependencies for 5.3.0 2022-10-19 10:09:03 -06:00
Daira Hopwood a6141281d4
Merge pull request #6201 from sellout/fix-disable-wallet
Fix building with --disable-wallet
2022-10-19 07:36:23 +01:00
Greg Pfeil a9528ca0a3
Merge pull request #6204 from sellout/fix-zcashd-help
Fix broken `zcashd --help`
2022-10-18 14:53:52 -06:00
Greg Pfeil dd7b8b580f Don’t define wallet-needing code when --disable-wallet
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 13:52:04 -06:00
Greg Pfeil 669a1b9ba0 Qualify a `string`
This only gets triggered with `./configure --disable-wallet`, but clang
complains about this unqualified identifier.
2022-10-18 13:52:04 -06:00
Greg Pfeil 04d314d067 Apply suggestions from code review
Co-authored-by: Kris Nuttycombe <kris.nuttycombe@gmail.com>
2022-10-18 13:43:14 -06:00
Greg Pfeil fa494a10a1 Fix `zcashd --help`
When I cleaned up the debug log reporting, I included the path to the debug log
in the help message, which unfortunately required the base params to be
loaded. They don’t get loaded before the help message (and they shouldn’t), so
this caused an assertion failure.

The fix is to use “debug log” in the help message, rather than the path to the
actual debug log. This is the right thing to do, because the help message
explains how to set the path to the debug log, so the literal path when run with
`--help` would possibly not be the correct one at runtime.

Fixes #6184.
2022-10-18 13:42:02 -06:00
Greg Pfeil 5c19487991 Add test for `zcashd --help`
Currently failing.
2022-10-18 13:42:02 -06:00
Daira Hopwood 774fa691aa Always use a tuple as right argument of % in new Python code.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 13:42:02 -06:00
Greg Pfeil 1e480d2b4d Address review feedback and fixed test failures
Some tests were checking error message strings, but the check was still
hardcoded to “bitcoind”.
2022-10-18 13:42:02 -06:00
Greg Pfeil 8cb655c3ff Fix display of binary name in error messages.
Ensures that test failures report the name of the actual binary that was run.
2022-10-18 13:42:02 -06:00