1a562fb208
zcash/librustzcash@72d8df8e68 altered the `v_received_notes` view to include transparent coins (renaming it to `v_received_outputs`), and updated `v_transactions` to not separately query transparent coins. The latter queried `v_received_notes` twice, once to fetch notes received in a transaction, and again to fetch notes spent in a transaction. The spent notes were obtained by joining on the junction table `v_received_note_spends` to get the spent-in transaction's ID. The commit retained the junction table join, but didn't use it due to a typo, leading to notes being "spent-in" the transaction they were received in. This bug had several effects: - `account_balance_delta` showed `+change` for transactions in which a change note was received that had not yet been spent. - `account_balance_delta` showed `0` for transactions in which all received notes had been subsequently spent. - Transactions that spent funds with no change were omitted. |
||
---|---|---|
.github | ||
.vscode | ||
components | ||
devtools | ||
librustzcash | ||
supply-chain | ||
zcash | ||
zcash_client_backend | ||
zcash_client_sqlite | ||
zcash_extensions | ||
zcash_history | ||
zcash_keys | ||
zcash_primitives | ||
zcash_proofs | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
COPYING.md | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
deny.toml | ||
rust-toolchain.toml |
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.