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

implement zip-0317 fee calculation for ZEC #2266

Open
cipig opened this issue Nov 6, 2024 · 0 comments
Open

implement zip-0317 fee calculation for ZEC #2266

cipig opened this issue Nov 6, 2024 · 0 comments
Labels
bug: protocol priority: high Important tasks that need attention soon.

Comments

@cipig
Copy link
Member

cipig commented Nov 6, 2024

ZEC switched to a new fee system:
https://zips.z.cash/zip-0317
https://forum.zcashcommunity.com/t/understanding-why-transactions-are-taking-longer-to-be-mined-and-what-is-going-on-with-the-mempool/45399

the rule is basically this:
The new default fee is then 5000 zatoshis per logical action, with a minimum of 10000 zatoshis.
every input is a "logical action"

in coins file ZEC has "txfee": 10000, which covers the minimum, but each input needs 5000 sats additionally.
if fee is too low, tx is rejected with the transaction was rejected by network rules.\\n\\n66: tx unpaid action limit exceeded: 8 action(s) exceeds limit of 0

will set txfee to 100000 in coins, so that it's enough for txes with up to 20 inputs, but that's just a workaround till we have a better solution

@shamardy shamardy added priority: high Important tasks that need attention soon. bug: protocol labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: protocol priority: high Important tasks that need attention soon.
Projects
None yet
Development

No branches or pull requests

2 participants