Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZIP-233] Network Sustainability Mechanism: Burning #88

Open
wants to merge 1,514 commits into
base: zsa1
Choose a base branch
from

Conversation

giddie
Copy link

@giddie giddie commented Dec 9, 2024

These are the librustzcash changes required for ZIP-233 (NSM - Burning), which adds a transaction field for burnAmount. This is essentially a copy of zcash#1567 that I'm posting here for convenience. Unfortunately this also includes a diff with upstream. I briefly tried rebasing on the zsa1 branch, but it looks like it could be messy. However, I can take some time to do this if you'd rather not merge with upstream librustzcash at this time?

daira and others added 30 commits August 22, 2024 15:11
…utChangeStrategy`

doc comments more accurate concerning the choice of output pool.

Signed-off-by: Daira-Emma Hopwood <[email protected]>
These operations are unused, and block heights form a vector space,
not a monoid.
zcash_client_sqlite: Add missing test of `utxos_to_txos` migration.
…dition

zcash_protocol: Remove impl {Add, Sub} for BlockHeight
zcash_protocol: Set the public testnet activation height for NU6
In contrast to the implementation of `Sub<BlockHeight> for BlockHeight`
that was removed in version `0.3.0`, a saturating subtraction for block
heights having a return type of `u32` makes sense for `BlockHeight`.
Subtracting one block height from another yields the delta between them.

Other block height addition and subtraction operations have been made
saturating, removing panics and the possibility of overflow.
The `FALSE` constant was introduced in sqlite version 3.23.0,
but Android does not support this version of sqlite until API
level 30; we support back to Android API 27 so we have to use
`0` as the constant for `FALSE` instead.
Add correct `BlockHeight` subtraction & remove panics.
zcash_keys: Add `decode_extfvk_with_network`
The `reserve_until` method for generating ephemeral addresses is used in
database migrations, but it makes no sense to use this in the case that
the UFVK for an account contains no transparent component; such accounts
can never be used to make ZIP 320 spends.
nuttycom and others added 30 commits November 14, 2024 15:59
…-0.15.0

Release zcash_client_backend version 0.15.0
…0.13.0

Release/zcash client sqlite 0.13.0
…`AccountUuid`

This requires a few annoying changes to migrations in order to avoid
hitting cases where account UUIDs are expected before they exist in the
database schema.
This is now consistent with how we name other internal primary key type
wrappers.
Co-authored-by: Daira-Emma Hopwood <[email protected]>
zcash_client_sqlite: Assign UUIDs to each account
…_metadata

zcash_client_backend: Add optional derivation metadata when importing UFVKs with spending purpose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants