We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-401 weights transactions by their transaction fee, so we need to return the transaction fee in successful mempool verification responses.
remaining_transaction_value needs the UTXOs spent by the block:
remaining_transaction_value
verify_transparent_inputs_and_outputs
low_fee_penalty is 16000 if the transaction pays a fee less than the conventional fee, otherwise 0
low_fee_penalty
https://zips.z.cash/zip-0401#specification
This function already calculates the transaction fee - it can be easily modified to return it.
zebra/zebra-state/src/service/check/utxo.rs
Lines 224 to 227 in 1ccb2de
The text was updated successfully, but these errors were encountered:
Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @upbqdn
Sorry, something went wrong.
This ticket's dependencies conflict with the NU5 block validation code freeze, so it needs to be done after NU5 testnet activation in sprint 19.
Unblocked by PR #2849
upbqdn
Successfully merging a pull request may close this issue.
Motivation
ZIP-401 weights transactions by their transaction fee, so we need to return the transaction fee in successful mempool verification responses.
This Ticket Depends On
remaining_transaction_value
needs the UTXOs spent by the block:verify_transparent_inputs_and_outputs
#2440Consensus Rules
https://zips.z.cash/zip-0401#specification
Design
This function already calculates the transaction fee - it can be easily modified to return it.
zebra/zebra-state/src/service/check/utxo.rs
Lines 224 to 227 in 1ccb2de
The text was updated successfully, but these errors were encountered: