-
Notifications
You must be signed in to change notification settings - Fork 156
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 313] Reduce Conventional Transaction Fee to 1000 zatoshis #408
Conversation
BTW, here's a nicely rendered version of the submitted draft. This may be nicer for many readers. (This comes with every github pull request, but if you're not used to github it's difficult to find.) |
One more thing I'd add to the requirements section is that we need to pick a date/block starting from which this change will activate. |
Overall, I think this is a great idea, and Zecwallet will commit to implementing this ZIP across all desktop, mobile and lite wallets once we've agreed on all the parameters. |
I don't know about the timeframes for the past ZIPs, but I would propose 2-3 months from now. UPDATE: Synced up with Kevin on Keybase and he suggested that we can get this done with Canopy upgrade and providing an additional 4 weeks grace period for rest of the eco-system to follow suite. |
A couple of questions (with no value judgement attached): If transaction fees are made to be trivial, why continue to require transaction fees at all? I think it's important to agree upon the role that transaction fees are intended to play in maintaining the security of the network going forward. I am in agreement with the argument that transaction fees should not be an impediment to usage of the currency by disadvantaged communities; if transaction fees are relevant to maintaining the security of the network, what other options exist to serve the goal of accessibility? Additionally, this conversation seems to me to be inextricable from choices that may need to be made in the future with respect to scaling. Both the current fixed transaction fee and the lower fee suggested here are inelastic with respect to resource utilization. For the purposes of retaining transaction indistinguishability, a fixed fee is the simplest possible solution, but any nondiscretionary fee that is solely a function of public information would work. |
Yes, we have agreement on the role of transaction fees which is to incentivize miners to keep the Zcash network secure as the block reward keeps halving. And yes, the fees should not be an impediment to usage of the currency which is precisely the point of the ZIP as 10,000 zats is a large amount today when compared to alternatives that are most used as a currency (like BCH with 195 sats fee by paying 1 sat/byte)
Scaling work is ongoing on the front of several PoW chains and it will be pursued on the Zcash front too. The default shielded transaction fee is inelastic indeed and will stay that way till another ZIP is proposed in the future to improvise it. For now, the participants need to agree on a fee that works for all, otherwise we will see variance in transaction fees set by each wallet/app/smart contract that will cause linkability issues within shielded transactions. |
@nighthawk24 thank you! Has there been any consideration of a similar approach to that which you mention for BCH, simply making the fee a function of transaction size? That's public information and so fine as a basis for fees, right? |
@nuttycom you're welcome. Zcash docs recommend using a set fee for shielded transactions to reduce transaction linkability. I have come across transparent transactions on Zcash chain by Ledger(I may be wrong) that have set the fees based on the transaction size. But there is no official recommendation for transparent fees. |
It sounds like Zecwallet, Nighthawk, and Zbay devs like this ZIP based on my reading of the associate forum discussion. Also note that I said I support the idea on that thread, although I'd definitely defer to the actual ECC product engineering teams assessment of the ZIP. If they're all committed to it, let's make ECC teams for
|
In the SDKs, we allow librustzcash to set the fee value based on the default in zcash_primitives. I propose that we continue that approach and, thereby, reduce the friction of future changes by having the fee set in one place in the layer where most domain logic lives. That's essentially how it works today. |
Is this ZIP (near) final? I'd love to release the desktop and mobile Zecwallet apps with this change, so that they are available to users in time for the canopy upgrade. |
Yes, the feedback for the ZIP has been added and the Activation plan is as:
I will try to get follow up from someone from Zcash team to confirm. @gmale @daira |
Fantastic. I'll release new Zecwallet desktop and mobile apps with the updated fees this week. |
Just to close this conversation: New Zecwallet release is out (v1.3.3 lite client and v0.9.20 full node) that incorporates this ZIP. Default fees will switch over to 1000 zats after canopy + grace period (Block 1_080_000). Thanks @nighthawk24 for the ZIP and finally getting this done :) |
Created tickets for zcash-android-wallet-sdk & ZcashLightClientKit to update the default fees. Electric-Coin-Company/zcash-android-wallet-sdk#174 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a large suggested new section about Denial of Service, because I believe this needs to be addressed in a future ZIP.
I have one big question that needs to be addressed before I could support this ZIP: What about transactions with transparent components? I will follow up on this issue on the forum.
The other suggested changes or questions are relatively minor.
Co-authored-by: Nathan Wilcox <nathan-at-least@users.noreply.github.com>
Co-authored-by: Nathan Wilcox <nathan-at-least@users.noreply.github.com>
Update naming from zats to zatoshis Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org> Signed-off-by: Daira Hopwood <daira@jacaranda.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
Link to Zcash Forum: https://forum.zcashcommunity.com/t/zip-reduce-default-shielded-transaction-fee-to-1000-zats/37566