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

add config option for CachedCoinView size #4047

Closed
jlopp opened this issue Oct 29, 2019 · 1 comment · Fixed by #4048
Closed

add config option for CachedCoinView size #4047

jlopp opened this issue Oct 29, 2019 · 1 comment · Fixed by #4048

Comments

@jlopp
Copy link

@jlopp jlopp commented Oct 29, 2019

The cache is currently hard coded to 100,000 UTXOs, but when doing a sync on a beefy system with a ton of RAM it would be helpful if this number could be increased in order to speed up initial sync.

@dangershony

This comment has been minimized.

Copy link
Contributor

@dangershony dangershony commented Oct 30, 2019

While true unfortunately the given value does not represent UTXOs but whole transactions, Stratis coinview implementation is still based on the previous coinview design (per trx not UTXO).

Still I agree it's useful to be able to boost total cache count.

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