mirror of https://github.com/zcash/halo2.git
9b41a06363
We change `CellValue` into a typedef of `AssignedCell` to simplify the migration in this commit. The migration from `CellValue` to `AssignedCell` requires several other changes: - `<CellValue as Var>::value()` returned `Option<F>`, whereas `AssignedCell::<F, F>::value()` returns `Option<&F>`. This means we need to dereference, use `Option::cloned`, or alter functions to take `&F` arguments. - `StateWord` in the Poseidon chip has been changed to a newtype around `AssignedCell` (the chip was written before `CellValue` existed). |
||
---|---|---|
.github/workflows | ||
benches | ||
book | ||
proptest-regressions/constants | ||
src | ||
.gitignore | ||
CHANGELOG.md | ||
COPYING | ||
Cargo.toml | ||
LICENSE-BOSL | ||
README.md | ||
katex-header.html | ||
rust-toolchain |
README.md
orchard
IMPORTANT: This library is being actively developed and should not be used in production software.
Requires Rust 1.51+.
Documentation
License
Copyright 2020-2021 The Electric Coin Company.
You may use this package under the Bootstrap Open Source Licence, version 1.0,
or at your option, any later version. See the file COPYING
for
more details, and LICENSE-BOSL
for the terms of the Bootstrap
Open Source Licence, version 1.0.
The purpose of the BOSL is to allow commercial improvements to the package while ensuring that all improvements are open source. See here for why the BOSL exists.