-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csn/ibd: Don't set UTXOs to be remembered
UTXOs are currently marked with ttl value of 0. Since 0 < 1000 is true, the pollard was remembering all the UTXOs ever, leading to a ton of memory usage. With this change, CSNs see a lot less memory usage. This PR still sees the remembered leaves growing over time so there might still be a problem yet to be fixed.
- Loading branch information
1 parent
0c940de
commit 857aa63
Showing
3 changed files
with
9 additions
and
3 deletions.
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