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

calculate fee_rate for transactions with altered fee estimations #2211

Open
rafaelcr opened this issue Jan 28, 2025 · 0 comments
Open

calculate fee_rate for transactions with altered fee estimations #2211

rafaelcr opened this issue Jan 28, 2025 · 0 comments

Comments

@rafaelcr
Copy link
Collaborator

It's only an informative value, but in case wallets choose to use it we should reflect an accurate fee_rate for modified fee estimations in the /v2/fees/transaction proxy.

The new behavior should reflect Stacks core functionality: https://github.com/stacks-network/stacks-core/blob/9c8ed7b9df51a0b5d96135cb594843091311b20e/stackslib/src/cost_estimates/fee_scalar.rs#L164-L214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant