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

Reduce memory consumption within BlockChain<T>.FindBranchPoint #282

longfin opened this issue Jun 13, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jun 13, 2019

The latest implementation of BlockChain<T>.FindBranchPoint is to use memory very heavily by loading all the block hashes in the chain into memory and calling ImmutableHashSet.Contains().

I think we can probably reduce this memory consumption because we only need to know that block hashes belonging to BlockLocator are in the current chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.