Commit Graph

16333 Commits

Author SHA1 Message Date
Marek c7851519e8 Specify the format and epoch 2022-04-28 23:55:32 +02:00
Marek 768bfd8d27 Document the block time in the `z_gettreestate` RPC response 2022-04-27 22:34:09 +02:00
sasha 42c5feaabd
Merge pull request #5908 from charlieok/use_bullseye_apt_source_in_dockerfile
Use bullseye apt source in Dockerfile to match debian:11 base image; merging as requested by @nuttycom
2022-04-26 14:09:04 -07:00
Marshall Gaucher 230ae805af
Merge pull request #5690 from superbaud/parallel-btests
run btests in parallel
2022-04-26 12:49:19 -07:00
Marshall Gaucher 6ce896e878
Merge pull request #5815 from daira/hotfix-versioning
Change the numbering convention for hotfixes
2022-04-26 10:32:18 -07:00
Charlie O'Keefe c5083f58a0 Use bullseye apt source in Dockerfile to match debian:11 base image 2022-04-26 10:15:04 -06:00
Kris Nuttycombe ed91377c20 Use fallible version parsing for tags.
This corrects an error in Version construction for hotfix releases,
and makes parsing of tags more robust to error by ignoring tags that
do not conform to the standard Zcash patterns such as `v4.7.0-gitian`
and some of the tags from the upstream `bitcoin/bitcoin` repository.
2022-04-26 10:04:24 -06:00
Daira Hopwood 1b967fcae2 Change the numbering convention for hotfixes to increment the patch number, not the hyphen number.
fixes #4364

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-26 09:21:00 -06:00
sasha a1e91a56ea btest parallelization work: tag #if'd out test suites 2022-04-26 07:35:01 -06:00
sasha de2f4d8e0a Allow parallel btest runs using make as the parallelization tool.
This is inspired by Bitcoin Core's #12926, but has two advantages:

1) It handles multiple test suites found in a single file and calls the
test runner with exactly one test suite every time, regardless of how
the test suites are distributed across the files.

2) There are #if'd out test suites in our codebase. By adding a comment
with DISABLED_TEST_SUITE in it, the grep will ignore them rather than
trying to run a disabled test suite.
2022-04-26 07:35:01 -06:00
sasha a08add7994 Separate test suite from tests, inspired by upstream's #12926 2022-04-26 07:35:01 -06:00
Kris Nuttycombe 862d19de84
Merge pull request #5881 from centromere/fix-cargo-source
Cargo.toml: Rename hdwallet source
2022-04-26 07:17:27 -06:00
Charlie O'Keefe f2cc1b82f6
Merge pull request #5886 from daira/fix-build-debian-package
zcutil/build-debian-package.sh: copy executable and man page for zcashd-wallet-tool
2022-04-21 16:15:17 -06:00
Kris Nuttycombe e9f0d94999
Merge pull request #5903 from superbaud/simplify-gtest-makefile
Closing #1539 simplifies gtest Makefile
2022-04-21 16:09:00 -06:00
Kris Nuttycombe f8062d3995
Merge pull request #5892 from nuttycom/fix/hide_wallet_tool_logging_init_error
Default to error logging if we cannot parse the log filter
2022-04-21 16:06:35 -06:00
Charlie O'Keefe aba8bf2041
Merge pull request #5890 from rex4539/typos
Fix typo
2022-04-21 16:06:11 -06:00
Charlie O'Keefe 9f2753ab78
Merge pull request #5616 from zcash/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-04-21 16:05:49 -06:00
sasha 075d85a2de Closing #1539 simplifies gtest Makefile. 2022-04-20 19:49:13 -07:00
Kris Nuttycombe cb1d6a02f7
Merge pull request #5900 from nuttycom/bug/mempool_nu_activation_test
Fix missing initialization for `hasActions` in Orchard builder.
2022-04-20 15:22:56 -06:00
Kris Nuttycombe 4a1fbe990e Fix boolean initialization in Orchard transaction builder. 2022-04-20 13:54:59 -06:00
Daira Hopwood fbc191a2e1 zcashd-wallet-tool: improve the error message for an invalid logging filter directive.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-18 17:31:40 +01:00
Kris Nuttycombe 195bb75502 Default to error logging if we can't parse the log filter. 2022-04-18 09:28:12 -06:00
Charlie O'Keefe a440e219d9
Merge pull request #5875 from zcash/update_boost
Update boost and native_b2 dependencies to version 1.79.0
2022-04-18 09:17:28 -06:00
Dimitris Apostolou b6f006fa6b
Fix typo 2022-04-17 18:20:22 +03:00
Daira Hopwood d7bdfddc10 zcutil/build-debian-package.sh: copy executable and man page for zcashd-wallet-tool.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-16 13:27:16 +01:00
Alex Wied 61cd19a52d Cargo.toml: Rename hdwallet source
This change fixes the following build error on Nix:

error: source `https://github.com/nuttycom/hdwallet` defines source https://github.com/nuttycom/hdwallet?rev=9b4c1bdbe0517e3a7a8f285d6048a37d472ba3bc, but that source is already defined by `https://github.com/nuttycom/hdwallet.git`
note: Sources are not allowed to be defined multiple times.
make[2]: *** [Makefile:9325: cargo-build-bins] Error 101
2022-04-15 09:39:10 -04:00
Kris Nuttycombe 244276d244
Merge pull request #5721 from superbaud/loadproofs-in-gtest-utils
Move LoadProofParameters to gtest/utils.cpp
2022-04-14 18:28:45 -06:00
Kris Nuttycombe 57d9d9ee05 Update boost dependencies to version 1.79.0 2022-04-14 13:31:14 -06:00
Marshall Gaucher 958bcf2dac
Merge pull request #5870 from daira/make-reindex-imply-rescan
Make -reindex and -reindex-chainstate imply -rescan
2022-04-14 11:11:52 -07:00
Marshall Gaucher ea16573580
Merge pull request #5878 from superbaud/tx-orchard-duplicate-nullifiers
add tx-orchard-duplicate-nullifiers.h to Makefile.gtest.include
2022-04-14 11:02:03 -07:00
Kris Nuttycombe 3ee9c3accd
Merge branch 'master' into make-reindex-imply-rescan 2022-04-14 10:47:24 -06:00
Charlie O'Keefe e00a1215c0
Merge pull request #5871 from daira/clean-before-build
zcutil/build.sh: Run zcutil/clean.sh before building
2022-04-14 10:46:31 -06:00
sasha 35ed2ba344 add tx-orchard-duplicate-nullifiers.h to Makefile.gtest.include 2022-04-14 09:01:23 -07:00
Charlie O'Keefe 259b0e3643
Merge pull request #5872 from teor2345/patch-2
Fix typo in getaddressbalance RPC help
2022-04-14 09:18:01 -06:00
Charlie O'Keefe 57c1704b77
Merge pull request #5877 from daira/fix-4.7.0-release-notes
[4.7.0 release notes] testnet nodes that upgrade prior to height 1,842,420 still need to run with -reindex and -rescan
2022-04-14 09:17:38 -06:00
Daira Hopwood af7d883854 Make `-reindex` and `-reindex-chainstate` imply `-rescan`
(provided that the wallet is enabled and pruning is disabled,
and unless `-rescan=0` is specified explicitly).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-14 14:53:29 +01:00
Daira Hopwood 2807c3f1a1 zcutil/build.sh: Run zcutil/clean.sh before building.
fixes #3625

We use clean.sh rather than distclean.sh because the checksumming
and redownloading of C++ dependencies is pretty robust.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-14 14:51:49 +01:00
Daira Hopwood 265d02fa1e Fix to 4.7.0 release notes: testnet nodes that upgrade prior to height 1,842,420
actually still need to run with -reindex and -rescan.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-14 14:35:06 +01:00
Kris Nuttycombe 8793f68e5e
Merge pull request #5876 from zcash/release-v4.7.0
Release v4.7.0
2022-04-14 06:44:57 -06:00
Kris Nuttycombe 44d0cf0c7c make-release.py: Updated release notes and changelog for 4.7.0. 2022-04-13 22:14:59 -06:00
Kris Nuttycombe ec42f38cfc make-release.py: Updated manpages for 4.7.0. 2022-04-13 22:04:00 -06:00
Kris Nuttycombe b384e411c4 make-release.py: Versioning changes for 4.7.0. 2022-04-13 21:48:12 -06:00
sasha 14fc356505
Merge pull request #5874 from zcash/pre-4.7.0-postpone-deps
qa: postpone native_clang, libcxx, boost and native_b2 upgrades before 4.7.0 release. tested that it correctly shows current versions as either up-to-date or postponed.
2022-04-13 20:33:20 -07:00
Kris Nuttycombe f8f698086b qa: postpone native_clang, libcxx, boost, and native_b2 upgrades before 4.7.0 release 2022-04-13 20:49:32 -06:00
dependabot[bot] 6e96680a0c
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 01:10:19 +00:00
sasha cf4de9d03d
Merge pull request #5741 from zcash/nu5-consensus
NU5 consensus changes; merge requested by @nuttycom
2022-04-13 18:09:21 -07:00
teor 05c9fe8c1c
Fix typo in getaddressbalance RPC help
In JSON, the colon needs to be outside the field name.
2022-04-14 09:33:20 +10:00
Kris Nuttycombe 7cf4d34801
Merge pull request #5868 from zcash/nu5_testnet_reactivation
Set NU5 testnet reactivation height.
2022-04-13 17:08:17 -06:00
Kris Nuttycombe 825d8e8781 Push back NU5 testnet release height to 1842420 2022-04-13 17:01:17 -06:00
Kris Nuttycombe a9e75ed10d Apply suggestions from code review
Co-authored-by: Larry Ruane <larry@z.cash>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Steven <57410303+steven-ecc@users.noreply.github.com>
2022-04-13 17:01:17 -06:00