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

refactor: include version in the wallet_tx_history table to avoid a JOIN on tx_history query #204

Open
andreabadesso opened this issue Apr 14, 2022 · 0 comments

Comments

@andreabadesso
Copy link
Collaborator

I know that we already have this information on another table and searching for it makes sense, but why not add the version on the wallet_tx_history table?

This would involve more work to update, but the update of old data can be done in the migration and it would be faster to get the tx history (a query that will be made very frequently)

Originally posted by @r4mmer in HathorNetwork/hathor-wallet-service#199 (review)

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