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 235] Deposit 60% of Transaction Fees to the ZSF #718

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Changes from 5 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7b8eb0a
draft: ZSF 90/10 split
aphelionz Sep 21, 2023
5ef964a
fix: 10% -> 50%
aphelionz Sep 21, 2023
16fa913
Update draft-zip.md
aphelionz Sep 27, 2023
7858c79
Update draft-zip.md
aphelionz Sep 27, 2023
9139ff6
Update draft-zip.md
aphelionz Sep 27, 2023
effc321
Update draft-zip.md
aphelionz Sep 27, 2023
66e7e85
Update draft-zip.md
aphelionz Sep 27, 2023
529e251
Update draft-zip.md
aphelionz Sep 27, 2023
b23ab0b
update: draft-zip.md
aphelionz Sep 27, 2023
efd69f7
fix: ZIP header credits
aphelionz Sep 27, 2023
28d6404
update: definitions and references
aphelionz Sep 27, 2023
dd0cac4
update: remove network upgrade line
aphelionz Sep 27, 2023
dacf0ec
fix: date
aphelionz Sep 29, 2023
1cf67e8
update: change split to 60%
aphelionz Oct 4, 2023
2993a5c
update: future implications
aphelionz Oct 7, 2023
cd9e1af
Update draft-zip.md
aphelionz Oct 9, 2023
30381fe
Update draft-zip.md
aphelionz Oct 9, 2023
44e3864
Update draft-zip.md
aphelionz Oct 9, 2023
c6422c7
Update draft-zip.md
aphelionz Oct 9, 2023
73a3e6a
Update draft-zip.md
aphelionz Oct 9, 2023
4cabaa2
Update draft-zip.md
aphelionz Oct 9, 2023
ad2467b
Update draft-zip.md
aphelionz Oct 9, 2023
16e536a
update: add tautology
aphelionz Oct 20, 2023
e3055c2
Update draft-zip.md
tomekpiotrowski Nov 7, 2023
5ecb9a1
Update draft-zip.md
tomekpiotrowski Nov 7, 2023
040a379
Add deployment information
tomekpiotrowski Nov 8, 2023
6f4532b
Add dependency information in the abstract
tomekpiotrowski Nov 8, 2023
bdf0447
Remove the use of MUST
tomekpiotrowski Nov 8, 2023
ce76fab
Update draft-zip.md
tomekpiotrowski Nov 13, 2023
7ab294a
Update draft-zip.md
tomekpiotrowski Nov 13, 2023
49dbbad
Update draft-zip.md
tomekpiotrowski Nov 13, 2023
fda38cb
Update draft-zip.md
tomekpiotrowski Nov 16, 2023
2fbee33
Update draft-zip.md
tomekpiotrowski Nov 16, 2023
4da390e
Update draft-zip.md
tomekpiotrowski Nov 16, 2023
e7c7f27
Update draft-zip.md
tomekpiotrowski Nov 16, 2023
716e011
Add estimated impact on miners
tomekpiotrowski Dec 7, 2023
a780b9c
Update estimated impact
tomekpiotrowski Dec 7, 2023
aa38632
Update estimated impact numbers
tomekpiotrowski Dec 7, 2023
a7ae24f
Remove uses of `ZSF_BALANCE_AFTER` from non-technical sections
tomekpiotrowski Dec 7, 2023
a6a10ee
Remove `ZSF_BALANCE_AFTER` definition
tomekpiotrowski Dec 7, 2023
c1ef6d1
expand 'dApps'
tomekpiotrowski Dec 7, 2023
03fa419
Update impact estimation to account for sandblasting
tomekpiotrowski Dec 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 9 additions & 2 deletions draft-zip.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ This ZIP attempts to establish a symbiotic relationship between miner incentives

Implementing this change allows the ZSF to accrue value earlier. By ensuring a consistent source of funding, the ZSF contributes to bolstering the Zcash network’s long-term security and sustainability.
teor2345 marked this conversation as resolved.
Show resolved Hide resolved

This ZIP depends on the ZIP introducing the Zcash Sustainability Fund (ZIP-XXX).
tomekpiotrowski marked this conversation as resolved.
Show resolved Hide resolved

# Motivation

While ZIP-XXX (Establishing the Zcash Sustainability Fund) describes a method by which funds can be added to the Zcash Sustainability Fund by a voluntary `ZSF_DEPOSIT` transaction field. The default value of this field is zero and it is left up to the app, wallet, and mining software implementers to make use of it.
Expand Down Expand Up @@ -70,7 +72,7 @@ This ZIP only proposes a single modification to the transaction fees:

## Transaction fee routing requirements

- For each transaction, 60% of the total fee MUST be paid to the ZSF
- For each transaction, 60% of the total fee are be paid to the ZSF
- Any fractions are rounded in favour of the miner

### Consensus Rule Changes
tomekpiotrowski marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -80,12 +82,17 @@ The coinbase transaction at block height `height` MUST have a `zsfDeposit` that
TODO ZIP Editors:
- work out how to deal with pre-v6 transactions which don't have the zsfDeposit() field. For example, by requiring the remaining value in the transparent transaction value pool of a coinbase transaction to be greater than or equal to 60% of the fee
- consider imposing this requirement on v6 transactions instead of an explicit `ZSF_DEPOSIT` field requirement
- work out the necessary protocol spec changes.

## Deployment
tomekpiotrowski marked this conversation as resolved.
Show resolved Hide resolved

The implementation of this ZIP MUST be deployed at the same time or after the Zcash Sustainability Fund is established.
tomekpiotrowski marked this conversation as resolved.
Show resolved Hide resolved

tomekpiotrowski marked this conversation as resolved.
Show resolved Hide resolved
# Rationale

We believe that is ultimately a very minor change to the protocol, and quite simple in terms of implementation overhead. Additionally – and at the time of this writing – transaction fees are so small that 60% will likely not have a major impact.
tomekpiotrowski marked this conversation as resolved.
Show resolved Hide resolved

If transaction fees were to increase, future ZIPs can be written to change the 60%/40% split. Finding the optimal fee split may require an iterative approach involving adjustments based on real-world data and network dynamics. However, before the issuance reaches 0, these kinds of 0-issuance security issues are much less severe.
If transaction fees were to increase, future ZIPs can be written to change the 60%/40% split. Finding the optimal fee split may require an iterative approach involving adjustments based on real-world data and network dynamics.

In the future, other ZIPs may be written to fund the ZSF in various ways, including but not limited to:
- ZSA fees
Expand Down