Go to file
Jack Grigg 913aa0a988 zcash_client_backend: Correctly track heap usage of batch items
As of zcash/librustzcash#633, `SaplingDomain::IncomingViewingKey` now
allocates memory internally, and this memory persists as long as the
`BatchRunner` is alive. Now that we have decoupled the measurement of
heap usage for batch tasks from their internals, we can add bounds to
all of the generic parameters of `Batch` to enable correctly measuring
their actual heap usage.

We also add `DynamicUsage` impls for a bunch of `zcash_primitives` types
that will be used with `BatchRunner` (or its equivalent implementation
in `zcashd`) by callers.
2022-09-24 21:01:19 +00:00
.github CI: Migrate to `cargo-tarpaulin` branch with LLVM source coverage engine 2022-09-14 15:55:12 +00:00
components Fix problems identified by clippy's beta lints 2022-09-17 08:57:37 -06:00
librustzcash Remove librustzcash crate 2020-03-14 10:50:04 +13:00
zcash_client_backend zcash_client_backend: Correctly track heap usage of batch items 2022-09-24 21:01:19 +00:00
zcash_client_sqlite Merge pull request #645 from nuttycom/fix_beta_lints 2022-09-17 15:49:49 -06:00
zcash_extensions Fix problems identified by clippy's beta lints 2022-09-17 08:57:37 -06:00
zcash_history Fix problems identified by clippy's beta lints 2022-09-17 08:57:37 -06:00
zcash_primitives zcash_client_backend: Correctly track heap usage of batch items 2022-09-24 21:01:19 +00:00
zcash_proofs Fix problems identified by clippy's beta lints 2022-09-17 08:57:37 -06:00
.gitignore Add Cargo.lock to .gitignore 2020-03-25 17:24:50 +13:00
.gitlab-ci.yml Remove duplicate test stage for rust lastest 2018-10-09 09:34:10 -07:00
COPYING.md Ensure that GitHub's "View license" link points to complete license information. 2022-01-18 14:19:53 +00:00
Cargo.toml zcash_client_backend: Correctly track heap usage of batch items 2022-09-24 21:01:19 +00:00
LICENSE-APACHE Add license files. 2017-03-17 11:09:05 -06:00
LICENSE-MIT Update copyright year in LICENSE-MIT. 2022-01-18 14:19:53 +00:00
README.md Address feedback about the use of "permissive". 2022-06-28 16:46:13 +01:00
rust-toolchain Update MSRV to 1.56.1 2022-02-24 12:26:14 -07:00

README.md

Zcash Rust crates

This repository contains a (work-in-progress) set of Rust crates for working with Zcash.

Security Warnings

These libraries are currently under development and have not been fully-reviewed.

License

All code in this workspace is licensed under either of

at your option.

Downstream code forks should note that some (but not all) of these crates and components depend on the 'orchard' crate, which is licensed under the Bootstrap Open Source License. A license exception is provided allowing some derived works that are linked or combined with the 'orchard' crate to be copied or distributed under the original licenses (in this case MIT / Apache 2.0), provided that the included portions of the 'orchard' code remain subject to BOSL. See https://github.com/zcash/orchard/blob/main/COPYING for details of which derived works can make use of this exception, and the README.md files in subdirectories for which crates and components this applies to.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.