-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #1217: [Startup][GUI][Performance] Optimizations for huge wallets.
7a1a639 [Trivial] Adding load txs on demand todo text. (furszy) 6d5c84e [Startup] Decrease the amount of blocks checked for corruption in the startup. (furszy) 7c9dd0d [GUI][Performance] Optimizations to every list view load in the GUI. (furszy) b1aa1e2 [Model] Maximum amount of loaded record in ram, preventing any self-spamming. (furszy) Pull request description: Made several changes in order to improve the wallet startup and navigation performance in huge wallets (wallets with more than 20,000 transactions). 1) Maximum amount of loaded transaction records in the GUI set to 20,000. * If the wallet has more, then it will not load them into the UI anymore. Hard to think that any user will be benefited from having 100k txs that he/she made in 2 years always visible when them are most likely all spent and only the latest 5k txs have utxo.. 2) Optimized every listview load in the GUI. * The list items are laid out in batches of a certain size, instead of all of the items loaded at once in the first run. * Uniform row size flag enabled in every list optimizing their painting. 3) Db verification decreased to 10 blocks. * Previously our wallet was checking, disconnecting and reconnecting the last 100 blocks in the startup, looking for inconsistencies. That is really too much, if we have any inconsistency, it should appear in the last 10 blocks. ACKs for top commit: Fuzzbawls: ACK 7a1a639 random-zebra: ACK 7a1a639 and merging... Tree-SHA512: 66f2241d881bd82a97848ad6c3975b7b512cde9bf6d42a6c67c2864cf7382e40ce99e611085f673abaff604decd9fd00acdd75a63211e1c89c82ce2cc0fc0bef
- Loading branch information
Showing
7 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters