zips/zip-reduce-shielded_tx_fee.rst

142 lines
5.2 KiB
ReStructuredText
Raw Normal View History

2020-10-11 20:47:16 -07:00
::
ZIP: 313
2020-10-11 20:47:16 -07:00
Title: Reduce default Shielded Transaction fee to 1000 zats
Owners: Aditya Bharadwaj <nighthawk24@gmail.com>
Original-Author: Aditya Bharadwaj
Status: Active
2020-10-11 20:47:16 -07:00
Community Status: Request for comments : https://forum.zcashcommunity.com/t/zip-reduce-default-shielded-transaction-fee-to-1000-zats/37566
Category: Consensus
Created: 2020-10-11
License: MIT
Terminology
===========
The key words "MUST", "SHOULD", "SHOULD NOT", "MAY", "RECOMMENDED",
"OPTIONAL", and "REQUIRED" in this document are to be interpreted as
described in RFC 2119. [#RFC2119]_
"Z" refers to shielded address.
"T" refers to transparent address.
The term "default transaction fee" or "conventional transaction fee"
in this document is in reference to Z to Z transaction fee paid
to miners on the Zcash network for the work on including
the shielded transaction in a block.
2020-10-11 20:47:16 -07:00
Abstract
========
The goal of this ZIP is to gather wallet developers, miners & Zcash users
2020-10-11 20:47:16 -07:00
for consensus on reducing the default transaction fees and
to get the Zcash default transaction fee reduced from 10,000 zats
2020-10-11 20:47:16 -07:00
to 1000 zats.
With reduced fees, it will be cheaper to transact on the Zcash network,
while also inviting novel use cases for privacy
preserving applications that would benefit from the Privacy,
Security and Programmable Money aspects of the Zcash chain.
Out of Scope for this Proposal
============
Discussion around transaction fees for T to T, T to Z or Z to T.
Motivation
============
The default transaction fee presently is 0.0001 ZEC or 10,000 zats.
With ZEC market price of $100, a user can send 10,000 transactions
for 1 ZEC, that turns out to 1 cent per transaction and it rises
with the increase in the price of ZEC.
With increase in light wallet adoptions on mobile clients, many users
will be new to the Zcash eco-system. And the fact that the
transaction fees are paid by the sender (not the receiver) is
new information to users who might use Zcash for e-commerce
and app interactions that might result in several transactions each day.
Privacy must not cost a premium. The cost of 10 shielded transactions
buys 1GB of mobile data `in India today <https://www.cable.co.uk/mobiles/worldwide-data-pricing/>`.
2020-10-11 20:47:16 -07:00
Zcash users must be able to do more with their ZEC balance
than worry about paying the premium for shielded transactions.
Requirements for consensus
-------------------------
The change to the conventional transaction fees must be undertaken sooner
2020-10-11 20:47:16 -07:00
as it gets difficult to gain consensus with the growth in the network
of wallets, exchanges, miners and third parties involved.
2020-10-11 20:47:16 -07:00
The following parties need to be part of the consensus:
* A guarantee from mining groups is required to include the lowered default fee transactions in the next block.
* Wallet developers need to provide commitment to update the software to use the new fee.
* Zcash documentation and community outreach must be undertaken to make the change known.
2020-10-11 20:47:16 -07:00
Security and privacy considerations
-----------
Unique transaction fees can cause linkability within transactions,
hence this change must be accepted by majority, if not all popular
shielded transaction software providers before announcing the change.
2020-10-11 20:47:16 -07:00
Varying/unique fees are bad for privacy, for the short term before blocks get full,
its fine for everyone to use a constant fee. [#nathan-1]_
Long term, the issue of fees needs to be re-visited as the blocks start getting consistently full.
And the possibility of a DoS scenario becomes critical in nature. New ZIP with flexible fees [#ian-1]_
along with scaling solutions need to be evaluated and applied.
Activation
============
* The recommended fee of 0.00001 or 1000 zats must start activation at block 1046400 to coincide with the `Canopy upgrade. <https://z.cash/upgrade/canopy/>`
* With a grace period of ~4 weeks (block 1080000) to upgrade to the reduced default transaction fee for zcashd and core clients used by exchanges & service providers.
Support
============
Zbay, Zecwallet Suite(Zecwallet Lite for Desktop/iOS/Android & Zecwallet FullNode) and Nighthawk Wallet Android & iOS have agreed to implement the reduced fees.
UX Guidance
============
Wallets must prevent users from altering the fee for shielded transactions.
2020-10-11 20:47:16 -07:00
ZIP Owners
2020-10-11 20:47:16 -07:00
-----------
The current ZIP Owner is Aditya Bharadwaj, representing the Nighthawk Wallet.
2020-10-11 20:47:16 -07:00
Additional Editors will be selected by consensus among the current Editors.
ZIP Comments
============
Comments from the community on the ZIP should occur on the Zcash
Community Forum and the comment fields of the pull requests in
any open ZIPs. Editors will use these sources to judge rough consensus.
References
==========
.. [#RFC2119] `Key words for use in RFCs to Indicate Requirement Levels <https://www.rfc-editor.org/rfc/rfc2119.html>`_
.. [#nathan-1] `Conventional Shielded Fees <https://forum.zcashcommunity.com/t/zip-reduce-default-shielded-transaction-fee-to-1000-zats/37566/40>`_
.. [#ian-1] `Mechanism for fee suggester/oracle <https://forum.zcashcommunity.com/t/zip-reduce-default-shielded-transaction-fee-to-1000-zats/37566/31>`_
2020-10-11 20:47:16 -07:00
.. [#zooko-1] `Zooko tweet on reducing tx fees <https://twitter.com/zooko/status/1295032258282156034?s=20>`_
.. [#zooko-2] `Zooko tweet on sharing tx fee with wallet developer <https://twitter.com/zooko/status/1295032621294956545?s=20>`_