mintlayer-core
mintlayer-core copied to clipboard
In the wallet, user_transactions can get huge. This problem requires studying
The "user transactions" refer to the signed transactions that were created by the users and are preserved in the wallet to be rebroadcast until a conflict happens in the blockchain (or the transaction is finally in a block). Currently, we store them as is in the database and retrieve them as a vector. This is a temporary solution with O(N) complexity. This problem should be studied further and must be handled better.
Given that this is an optimization that can happen over a very long period of time, I'll move it out of mainnet milestone.