-
Notifications
You must be signed in to change notification settings - Fork 60
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Memory constrained transaction caching #347
Comments
rt121212121
added a commit
that referenced
this issue
Apr 10, 2020
…Defaults to 32 MB for now. (#360)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of the problems with the old wallet file format that Electrum Core/Electron Cash has is that it is a JSON object encrypted as a whole. The initial drive for the wallet database was because as OP_RETURN data was written to the blockchain, the wallet then held the relevant transactions in memory and loaded/saved them with wallet loads/saves.
This is the final piece of the puzzle, adding a configurable cache that flushes transactions on a least recently used basis.
The text was updated successfully, but these errors were encountered: