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

Count transaction fuel expended more efficiently #668

Open
dpetran opened this issue Nov 13, 2023 · 0 comments
Open

Count transaction fuel expended more efficiently #668

dpetran opened this issue Nov 13, 2023 · 0 comments

Comments

@dpetran
Copy link
Contributor

dpetran commented Nov 13, 2023

The current fluree.db.fuel/track function counts fuel differently for queries differently than it does for transactions, since the unit of tracking for queries is a flake whereas for transactions it's a node's worth of flakes.

The current implementation makes some brittle assumptions about what the input will be, so it may break if used in any new contexts.

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

No branches or pull requests

1 participant