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 wallets.wit db file #503

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

parodyBit
Copy link
Contributor

  • add method to optimize the wallets database file.
  • add methods to retrieve and set the keychain entry from the encrypted password hash.

Since sembast uses a simple file and appends each action at the end of the file, the file can grow overtime. The method recreates the database file from what is loaded in memory, which removes all the arbitrary data in the wallets.wit file.

- add methods to retrieve and set the keychain entry from the encrypted password hash.
- add method to optimize the wallets database file.

Since sembast uses a simple file and appends each action at the end of the file, the file can grow overtime. The method recreates the database file from what is loaded in memory, which removes all the arbitrary data in the wallets.wit file.
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.

1 participant