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

zec: implement FeeRate to short-circuit fee checks #2336

Merged
merged 2 commits into from May 8, 2023

Conversation

buck54321
Copy link
Member

Zcash uses a standard fee of 1000 zats per tx, regardless of tx size. We aren't plumbed for that, and with ZIP-0317 not activated, we probably never will be. Instead, use a standard rate of 10 zats / byte which should guarantee that any tx will have > 1000 zats in fees.

@buck54321 buck54321 changed the title zec: implement fee-rate to short-circuit fee checks zec: implement feeRate to short-circuit fee checks May 3, 2023
@buck54321 buck54321 changed the title zec: implement feeRate to short-circuit fee checks zec: implement FeeRate to short-circuit fee checks May 3, 2023
client/asset/zec/zec.go Show resolved Hide resolved
client/asset/zec/zec.go Outdated Show resolved Hide resolved
dex/networks/zec/params.go Outdated Show resolved Hide resolved
@chappjc chappjc merged commit 0b5bd1b into decred:master May 8, 2023
5 checks passed
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.

None yet

4 participants