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

feat: optimize transaction validation for wallet #3537

Conversation

hansieodendaal
Copy link
Contributor

Description

Optimized the transaction validation memory footprint by restricting all queries to the database to only return the information that is needed. This holds two considerable advantages for databases with many or large transactions:

  • The memory footprint is reduced.
  • Overall performance is increased.

Motivation and Context

See above.

How Has This Been Tested?

Unit tests
Cucumber tests
System-level tests with a large wallet

@hansieodendaal hansieodendaal force-pushed the ho_transaction_validation_batch_query branch from 4776570 to 7d99e12 Compare November 4, 2021 12:39
@hansieodendaal hansieodendaal changed the title feat: optimize transaction validation for wallet [WIP] feat: optimize transaction validation for wallet Nov 4, 2021
@hansieodendaal hansieodendaal force-pushed the ho_transaction_validation_batch_query branch from 7d99e12 to 3e48f97 Compare November 8, 2021 16:12
@hansieodendaal hansieodendaal changed the title [WIP] feat: optimize transaction validation for wallet feat: optimize transaction validation for wallet Nov 8, 2021
Optimized the transaction validation memory footprint by restricting all
queries to the database to only return the information that is needed.
This holds two considerable advantages for databases with many or large
transactions:
- The memory foorprint is reduced.
- Overall performance is increased.
@hansieodendaal hansieodendaal force-pushed the ho_transaction_validation_batch_query branch from 3e48f97 to 3bf6001 Compare November 9, 2021 06:36
@aviator-app aviator-app bot merged commit 9064b83 into tari-project:development Nov 9, 2021
@hansieodendaal hansieodendaal deleted the ho_transaction_validation_batch_query branch November 9, 2021 09:21
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

2 participants