Commit Graph

17018 Commits

Author SHA1 Message Date
Kris Nuttycombe 1ef254ca80
Merge pull request #6160 from str4d/migrate-to-latest-zcash_primitives
rust: Migrate to latest `zcash_primitives` revision
2022-09-14 18:32:16 -06:00
Jack Grigg c21786c351 rust: Migrate Rust tests to latest `zcash_primitives` revision 2022-09-14 20:02:54 +00:00
Daira Hopwood fe5faf94f2 Update librustzcash commit and adapt to changes in `DiversifierKey`.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-09-14 19:39:20 +01:00
Jack Grigg b05b1dafa6 rust: Migrate to latest `zcash_primitives` revision 2022-09-14 18:20:20 +00:00
Daira Hopwood 8930cf44d3
Merge pull request #6155 from sellout/reindex-chainstate
Don't recommend -reindex-chainstate.
2022-09-13 12:34:53 +01:00
Greg Pfeil db1b4313c3 Don't recommend -reindex-chainstate.
As mentioned in #5964 and #5977, `-reindex-chainstate` is currently broken. This
removes it from error messages so that we don't suggest its use, but rather a
full `-reindex`.

This change should be reverted if/when those issues are fixed.
2022-09-12 11:28:51 -06:00
Kris Nuttycombe 50b5cdfec3
Merge pull request #6146 from nathan-at-least/improve-book-on-adding-rust-dependencies
`./doc/book/src/dev/rust.md`: Clarify docs for adding rust dependencies.
2022-09-10 11:09:09 -06:00
Daira Hopwood 0c76702f59
Merge pull request #6147 from nathan-at-least/readme-clarify-protocol-vs-zcashd
`README.md`: Clarify distinction between protocol vs zcashd implementation; link to Zebra; line wrapping.
2022-09-07 10:53:45 +01:00
Kris Nuttycombe 6f49cc709b
Apply suggestions from code review
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-09-06 15:36:31 -06:00
user ebac50aa24 README.md: Clarify distinction between protocol vs zcashd implementation; link to Zebra; line wrapping. 2022-09-02 10:15:34 -07:00
Nathan Wilcox b8ed6aaa99
Update rust.md 2022-09-01 10:01:38 -07:00
Kris Nuttycombe 294d96778a
Merge pull request #5953 from nuttycom/doc/reclaim_gitlab_docs
Restore documentation that had been moved to zcash.readthedocs.io
2022-09-01 09:42:34 -06:00
Daira Hopwood 2621efd0da
Update doc/book/src/user/security-warnings.md 2022-08-30 14:40:34 +01:00
Daira Hopwood a6c05f1a28
Apply suggestions from code review 2022-08-30 14:39:37 +01:00
Daira Hopwood bf2ad58114
Merge pull request #6140 from nuttycom/cxx_sapling_prover
Replace manual mangement of the Sapling proving context with cxx
2022-08-30 14:20:16 +01:00
str4d 2df8b253f7
Merge pull request #6141 from str4d/6065-rust-parallel-lib-and-bins
build: Build Rust library and binaries at the same time
2022-08-29 14:15:58 +01:00
Jack Grigg 5609706d9b build: Build Rust library and binaries at the same time
This enables `cargo` to parallelize the library and binary builds
internally, reducing the Rust build time by the build time of the
binaries (because they are overall faster than the library build).

Part of zcash/zcash#6065.
2022-08-29 11:27:20 +00:00
Kris Nuttycombe 3ef12e98c1 Replace manual mangement of the Sapling proving context with cxx
Co-authored-by: Jack Grigg <jack@z.cash>
2022-08-25 22:07:23 -06:00
Kris Nuttycombe d3e8b3b114
Merge pull request #6118 from sellout/canonical-paths
Canonicalize some user-provided paths
2022-08-25 16:11:34 -06:00
Kris Nuttycombe fbdfbae593 Move restored documentation into the zcashd book 2022-08-25 10:44:11 -06:00
Greg Pfeil 07d52d006e Backport tor.md changes from readthedocs
This is an separate from the other backporting because this was an upstream
document, so isolating it helps with future backports from upstream.
2022-08-25 10:44:11 -06:00
Kris Nuttycombe ad72a606c2 Backport changes from zcash.readthedocs.io 2022-08-25 10:44:11 -06:00
Kris Nuttycombe e9234ed50f Fix documentation line wrapping 2022-08-25 10:44:09 -06:00
Kris Nuttycombe ef07ba47bc Revert "redirect and update source documentation"
This reverts commit 70ebc0942a.
2022-08-25 10:29:54 -06:00
Greg Pfeil a5d1088683 Also canonicalize paramsdir. 2022-08-25 09:46:17 -06:00
Kris Nuttycombe f84a57e71b
Merge pull request #6106 from centromere/fix-compile-and-linker-errors
Fix compile and linker errors
2022-08-23 07:36:06 -06:00
Kris Nuttycombe e9b1d9d35f
Merge pull request #6114 from DeckerSU/fix-miner-maxsols
miner: fix MAXSOLS
2022-08-23 07:18:09 -06:00
Kris Nuttycombe da5fbfe747
Merge pull request #6132 from sellout/rpc-test-improvements
RPC test improvements
2022-08-22 16:06:50 -06:00
Greg Pfeil 6766e39ad1 Add simplejson to requirements for rpc-tests 2022-08-22 13:38:16 -06:00
Greg Pfeil 113d7a4840 Add an `rpc-tests` make target
This ensures that zcashd is up-to-date with any changes before running the
tests.
2022-08-22 13:38:16 -06:00
str4d 46d6636a68
Merge pull request #6131 from conradoplg/patch-1
Include algorithm.h in cuckoocache.h
2022-08-22 17:26:00 +01:00
str4d 520b58f632
Merge pull request #5617 from str4d/zcash-inspect
rust: Add `zcash-inspect` binary for inspecting Zcash data
2022-08-22 17:24:59 +01:00
Jack Grigg 2a21051fbe rust: `zcash-inspect` 32-byte hex as maybe a commitment or nullifier 2022-08-22 13:52:43 +00:00
Jack Grigg a0efb40632 rust: Add shielded sighash to `zcash-inspect` output for txs 2022-08-22 13:47:10 +00:00
Conrado Gouvea b49dc8a100
Include algorithm.h in cuckoocache.h 2022-08-22 10:46:32 -03:00
Kris Nuttycombe acacf64331
Merge pull request #6129 from str4d/backport-shell-lints
Backport shell lint changes
2022-08-20 09:04:16 -06:00
Ben Woosley dd84f66600 doc: Correct spelling errors in comments
And ci script output.

Identified via test/lint/lint-spelling

(cherry picked from commit bitcoin/bitcoin@9b0e16226e)

Zcash: Only the change to `test/lint/lint-shell.sh`
2022-08-20 03:15:12 +00:00
Hennadii Stepanov c23889a150 script: Enable SC2001 rule for Gitian scripts
(cherry picked from commit bitcoin/bitcoin@17f81e9648)
2022-08-20 03:15:12 +00:00
Hennadii Stepanov f620206f03 script: Enable SC2155 rule for Gitian scripts
Also pwd command is replaced with $PWD variable everywhere for
consistency.

(cherry picked from commit bitcoin/bitcoin@61bb21b418)
2022-08-20 03:15:12 +00:00
Hennadii Stepanov fa3abe8819 script: Enable SC2006 rule for Gitian scripts
(cherry picked from commit bitcoin/bitcoin@577682d9e8)
2022-08-20 03:15:12 +00:00
Jack Grigg 0f84499556 lint: Disable some ShellChecks on Gitian descriptors
These trigger because our Gitian descriptors are out-of-sync with
upstream.
2022-08-20 03:15:12 +00:00
Hennadii Stepanov 3cf26a1c4f script: Lint Gitian descriptors with ShellCheck
(cherry picked from commit bitcoin/bitcoin@14aded46df)

Zcash: Applies CI change to GitHub Actions workflow.
2022-08-20 03:15:12 +00:00
Jack Grigg 3dd142d605 lint: Fix ShellCheck lints in Zcash scripts 2022-08-20 03:15:12 +00:00
Hennadii Stepanov 8294e51681 Enable ShellCheck rules
Enabled ShellCheck rules:
  SC1087
  SC2001
  SC2004
  SC2005
  SC2006
  SC2016
  SC2028
  SC2048
  SC2066 (note that IFS already contains only a line feed)
  SC2116
  SC2166
  SC2181
  SC2206
  SC2207
  SC2230
  SC2236

(cherry picked from commit bitcoin/bitcoin@1ac454a384)

Zcash: Applies more of this commit. It was partially backported in
zcash/zcash#4827, and is also partially backported here for the scripts
we actually have.
2022-08-20 03:13:52 +00:00
MarcoFalke 606358aae0 Remove script to clean up datadirs
This reverts commit 33c055c4f1.
(bitcoin/bitcoin#2295)

(cherry picked from commit bitcoin/bitcoin@fa85de9ff5)
2022-08-20 03:13:52 +00:00
Luke Dashjr 7fa4df7e7a Bugfix: Detect genbuild.sh in repo correctly
(cherry picked from commit bitcoin/bitcoin@ed1fcdcac0)
2022-08-20 03:13:52 +00:00
Luke Dashjr 8dbd2edd98 Bugfix: Only use git for build info if the repository is actually the right one
Also adds ability to disable check with BITCOIN_GENBUILD_NO_GIT=1 in the environment

(cherry picked from commit bitcoin/bitcoin@e98e3dde6a)
2022-08-20 03:13:52 +00:00
James White 0f0ff451b2 Add IPv6 support to qos.sh
(cherry picked from commit bitcoin/bitcoin@fc089ae47a)
2022-08-20 03:13:52 +00:00
Wladimir J. van der Laan fad9fba1e1 build: Get rid of `CLIENT_DATE`
Putting the build date in the executable is a practice that has no place
in these days, now that deterministic building is increasingly common.

Continues #7732 which did this for the GUI.

(cherry picked from commit bitcoin/bitcoin@d096d22446)
2022-08-20 03:13:52 +00:00
Andrés G. Aragoneses e4b9235274 autogen.sh: warn about needing autoconf if autoreconf is not found
Changes the error message from:
./autogen.sh: 9: ./autogen.sh: autoreconf: not found

To:
configuration failed, please install autoconf first

(cherry picked from commit bitcoin/bitcoin@889426d37e)
2022-08-20 03:13:52 +00:00