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

Memory allocation problems with multiple wallets #260

Open
stepansnigirev opened this issue Aug 13, 2023 · 0 comments
Open

Memory allocation problems with multiple wallets #260

stepansnigirev opened this issue Aug 13, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@stepansnigirev
Copy link
Collaborator

Steps to reproduce:

  • create 10 multisig wallets (i.e. 3 of 6)
  • enjoy the problems with memory allocation

Expected behaviour:

  • should work with arbitrary number of wallets

Solution:

Don't keep all wallets in RAM (only keep names), load them as they are needed. This will slow down PSBT parsing, but will work with any number of wallets. To speed up things maybe makes sense to off-load them to SDRAM instead of MCU internal RAM.

@stepansnigirev stepansnigirev added the bug Something isn't working label Aug 13, 2023
@stepansnigirev stepansnigirev added this to the Release 1.9.0 milestone Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant