Commit Graph

17757 Commits

Author SHA1 Message Date
Marshall Gaucher a23a435c1a
Update prometheus.yaml
Remove hardcoded uid that prevents graceful import and export of dashboard
2023-05-17 14:26:43 -07:00
Marshall Gaucher 1e31f23d2d
Update zcashd-metrics.json
To allow other users to gracefully use(import/export) this dashboard, update the hardcoded uid to the proper field.
2023-05-17 13:18:18 -07:00
Daira Hopwood d9e6e6afe6
Merge pull request #6666 from zcash/heaptrack_output_patch2
Update performance-measurements.sh
2023-05-15 23:01:40 +00:00
Marshall Gaucher f1e7a37fc9
Update performance-measurements.sh
To properly allow tekton benchmark pipelines to clean data, explicitly output the name of the test. Also using heaptrack compiled from source, avoid issues from heaptrack gui and profile creation procedures.

Example:
```
./qa/zcash/performance-measurements.sh memory createsaplingspend | tail -n 7 | python ./mem_metrics.py
```

Cannot parse because the profile is ONLY setup after runtime

Fix:

```
./qa/zcash/performance-measurements.sh memory createsaplingspend 

(performance_measurements has -o to output createsaplingspend.gz)

heaptrack -a createsaplingspend.gz | tail -n 7 | python ./mem_metrics.py
```
2023-05-12 13:32:33 -07:00
Kris Nuttycombe 829dd94f9d
Merge pull request #6656 from sellout/sprout-cache-docs
Document the Sprout cache used for RPC tests
2023-05-12 09:11:25 -06:00
Greg Pfeil 8aceeed804
Document the Sprout cache used for RPC tests
This also removes some entries from .gitignore that were hiding the cache
directory, and didn’t seem to be hiding any other artifacts.
2023-05-11 11:22:33 -06:00
Daira Hopwood 10894e09d3
Merge pull request #6653 from sellout/action-limit-message
Fix a minor bug in an error message
2023-05-11 14:07:07 +00:00
Greg Pfeil a7b57a9140
Fix a minor bug in an error message
Excess Orchard actions would always report “Orchard actions” rather than the specific “Orchard
inputs” or “Orchard outputs” when creating a tx. “Actions” wasn’t incorrect per se, but it was only
a bug in a `switch` that prevented a more helpful message from being presented to the user.
2023-05-10 09:31:57 -06:00
Kris Nuttycombe 7dc1f634e3
Merge pull request #6637 from str4d/6397-sapling-getters
Place Sapling components behind getters
2023-05-08 21:33:23 -06:00
Kris Nuttycombe ede49e22d6
Merge pull request #6640 from str4d/tier-3-ubuntu-22.04
Add Ubuntu 22.04 as a Tier 3 platform
2023-05-08 18:11:52 -06:00
Kris Nuttycombe e225b27f8c
Merge pull request #6639 from str4d/remove-ubuntu-18.04
Remove Ubuntu 18.04 as a supported platform
2023-05-08 18:11:34 -06:00
Daira Hopwood 3684972b53
Merge pull request #6647 from str4d/refactor-libs-build
build: Fix `--with-libs` linking errors for MinGW cross-compilation
2023-05-08 22:00:15 +00:00
Jack Grigg 450bab10a4 build: Fix `--with-libs` linking errors for MinGW cross-compilation
- `zcash/cache.{cpp,h}` is only directly used by the `cxx` bridge, so we
  move them into `libcxxbridge`.
- `libbitcoin_script` depends on `libcxxbridge`, so we add the sources
  for the latter to `libzcash_script`.
- `libbitcoin_script` depends on the non-`cxx` Rust FFI, so we add
  `librustzcash` as a dependency.
2023-05-08 19:19:00 +00:00
Jack Grigg a7d7baea01 build: Use libtool for linking `librustzcash.a` to the C++ code
This enables us to add it to `*_LIBADD` lists in addition to the
`*_LDADD` lists it was already present in.

Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-05-08 19:19:00 +00:00
Jack Grigg 58dc34abb8 build: Consensus: Move Bitcoin script files from consensus to its own module/package
A single consensus module made sense for upstream Bitcoin Core, but
after we refactored `libbitcoinconsensus` into `libzcash_script` in
zcash/zcash#4966, we need to distinguish between the two.
2023-05-08 19:19:00 +00:00
Jorge Timón 48c021bcdd Build: Consensus: Make libbitcoinconsensus_la_SOURCES fully dynamic and dependend on both crypto and consensus packages
Some extra bytes in libconsensus to get all the crypto (except for signing, which is in the common module) below the libconsensus future independent repo (that has libsecp256k1 as a subtree).
hmac_sha256.o seems to be the only thing libbitcoinconsensus doesn't depend on from crypto, some more bytes for the final libconsensus: I'm not personally worried.

(cherry picked from commit bitcoin/bitcoin@cf82d05dd4)
2023-05-08 19:19:00 +00:00
Jorge Timón 9896e4ec07 Build: Libconsensus: Move libconsensus-ready files to the consensus package
(cherry picked from commit bitcoin/bitcoin@4feadec98e)

Zcash: Adapted to our local changes.
2023-05-08 19:19:00 +00:00
Jorge Timón 1ed961112f Build: Consensus: Move consensus files from common to its own module/package
(cherry picked from commit bitcoin/bitcoin@a3d5eec546)

Zcash: Adapted to our local changes. We don't move `uint256.{cpp,h}`
because `uint256::SetHex` is depended on by `zcash-cli` via other code
in `libbitcoin_util`.
2023-05-08 19:19:00 +00:00
str4d 5678ccd4e5
Merge pull request #6594 from str4d/libsecp256k1-0.2.0
Migrate to `libsecp256k1 0.2.0`
2023-05-08 18:55:24 +01:00
Jack Grigg 0dbe94b836 Add Ubuntu 22.04 as a Tier 3 platform 2023-05-05 00:44:04 +00:00
Jack Grigg e1388f8816 contrib: Update `contrib/devtools/symbol-check.py` 2023-05-05 00:21:06 +00:00
Jack Grigg da49a8bba1 Remove Ubuntu 18.04 as a supported platform 2023-05-05 00:15:58 +00:00
Jack Grigg 77692f7732 Place `vShieldedSpend`, `vShieldedOutput` behind getters 2023-05-04 23:50:50 +00:00
Jack Grigg 5bcd4f1a60 Place Sapling {Spend, Output}Description fields behind getters 2023-05-04 23:50:50 +00:00
Greg Pfeil 5613d4ebae
Merge pull request #6624 from sellout/initial-warnings
Enable & error on all un-violated warnings
2023-05-04 16:59:52 -06:00
Greg Pfeil b66efda72d
Update comments on disabled warnings
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2023-05-04 14:11:34 -06:00
Greg Pfeil 2198c6f408
Move warning flags to configure.ac
- `-Werror` is now controlled by `--enable-werror` as it was before the previous
  commit, but now it defaults to `yes`
- overriding `CXXFLAGS` no longer prevents warnings from being enabled (prior to
  the previous commit, configure was set up to enable certain warnings (`-Wall`, `-Wextra`, etc.),
  but they were never actually used, because we always had `CXXFLAGS` overridden

We also no longer `AC_CHECK_…` individual warning flags, for a few reasons
- we know the compiler that will be used (with a few variations),
- the pivot to opt-out makes it harder to consider flags in isolation,
- there are a lot of flags now (almost 200), and
- they will be changing rapidly in the short term (~150 will go away soon).
2023-05-04 14:11:34 -06:00
Greg Pfeil 3d2118c8cf
Enable & error on all un-violated warnings
This has a rather complicated set of flags that should be simplified over time.
2023-05-04 14:11:34 -06:00
Greg Pfeil 22ec2f00fe
Merge pull request #6635 from sellout/fix-macos-build-again
Fix missing includes on macOS build
2023-05-04 14:08:52 -06:00
Kris Nuttycombe 06f0879495
Merge pull request #6620 from daira/6617-followup
Avoid calling `ParseNonRFCJSONValue` for string-only parameters
2023-05-04 12:56:03 -06:00
Greg Pfeil 09bcbeb1e2
Fix missing includes on macOS build
This is presumably a transitive `include` discrepancy. I.e., there is some other `std` header that
has `#include <variant>` etc. in Clang 15 (our usual compiler) but doesn’t have it in Clang 13 (our
macOS compiler).
2023-05-04 12:01:18 -06:00
Daira Hopwood ead6e1266a
Merge pull request #6634 from sellout/remove-recent-sha-action
Remove GitHub check for recent-enough branch
2023-05-04 17:17:00 +00:00
Greg Pfeil 70e753783f
Remove GitHub check for recent-enough branch
This check ensured that PR branches were based on a recent-enough master to work
with current Tekton builds. This check is now performed on the Tekton side
(Electric-Coin-Company/infrastructure#1613), where it more correctly belongs (as
this is effectively tracking Tekton’s dependency on zcash/zcash).
2023-05-04 08:34:24 -06:00
Kris Nuttycombe 548fa74fa4
Merge pull request #6492 from sellout/rpc-pass-rate
Display pass ratio in RPC test summary
2023-05-03 15:28:52 -06:00
Kris Nuttycombe 0f8369bbf3
Merge pull request #6612 from sellout/encapsulate-memo
Encapsulate memos
2023-05-03 15:28:04 -06:00
Greg Pfeil 601fa4b7c7
Merge remote-tracking branch 'upstream/master' into encapsulate-memo 2023-05-03 01:44:17 -06:00
Kris Nuttycombe a234e5fdd9
Merge pull request #6626 from sellout/receiver-type-conversions
Centralize ReceiverType conversions
2023-05-02 07:03:44 -06:00
Kris Nuttycombe aec22d3cbf
Merge pull request #6628 from sellout/fix-macos-build
Fix macOS build on CI
2023-05-02 06:59:08 -06:00
Greg Pfeil 346cd431ba
Fix macOS build on CI
Not sure if it’s because of Clang 13 or something else, but the macOS build
seems more sensitive to some missing includes.
2023-05-01 22:17:09 -06:00
Greg Pfeil 2bf27c66d8
Print all invalid receivers when there’s a failure
This also adds a generic `FormatList` function that will print any Container human-readably.
2023-05-01 17:53:56 -06:00
Daira Emma Hopwood 4ce78324c8 Avoid calling `ParseNonRFCJSONValue` for string-only parameters.
Follow-up to #6617.

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
2023-05-01 20:36:51 +01:00
str4d 5066efbb98
Merge pull request #6565 from DeckerSU/patch-remove-consistency-checks
txdb: remove consistency checks
2023-04-28 19:28:45 +01:00
Kris Nuttycombe d78de184a9
Add a useful comment about the CheckProofOfWork check in LoadBlockIndexGuts 2023-04-28 09:45:19 -06:00
Kris Nuttycombe c5611670e7
Merge pull request #6623 from nuttycom/version-5.5.0-merge
Version 5.5.0 merge
2023-04-27 21:43:52 -06:00
Kris Nuttycombe 09d5d8c297 Merge branch 'version-5.5.0' into version-5.5.0-merge 2023-04-27 18:38:58 -06:00
Kris Nuttycombe c3474d656f
Merge pull request #6622 from zcash/release-v5.5.0
Release v5.5.0
2023-04-27 18:32:20 -06:00
Daira Hopwood c9bd4c8889
Correct "height" -> "time" in release notes 2023-04-27 23:28:57 +01:00
Kris Nuttycombe eb80047476 make-release.py: Updated book for 5.5.0. 2023-04-27 16:17:00 -06:00
Kris Nuttycombe c4ef0ee201 make-release.py: Updated release notes and changelog for 5.5.0. 2023-04-27 16:17:00 -06:00
Kris Nuttycombe 5536afd71b make-release.py: Updated manpages for 5.5.0. 2023-04-27 16:17:00 -06:00