You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extremely slow sql db operations with encumber queries when trying to spend ~60,500 dust UTXOs in 20x one-sided and 20x stealth transactions in script mode from one sender wallet to one receiver wallet.
With fn short_term_encumber_outputs and fn confirm_encumbered_outputs:
Combine the read and write operations into one sql query and remove the for loops
The text was updated successfully, but these errors were encountered:
Description
---
Optimized output manager and contacts liveness database operations to do as much work as possible inside the SQL database instead of inside Rust code. These changes are most noticeable where a query would return a number of outputs and followed by updating each output one by one.
Motivation and Context
---
See #4621
How Has This Been Tested?
---
- Passed unit tests
- Passed cucumber tests
- System-level tests
Extremely slow sql db operations with encumber queries when trying to spend ~60,500 dust UTXOs in 20x one-sided and 20x stealth transactions in script mode from one sender wallet to one receiver wallet.
With
fn short_term_encumber_outputs
andfn confirm_encumbered_outputs
:The text was updated successfully, but these errors were encountered: