Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Lighthouse slasher history size variable #297

Open
romainreuillon opened this issue Oct 2, 2021 · 1 comment
Open

Lighthouse slasher history size variable #297

romainreuillon opened this issue Oct 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@romainreuillon
Copy link

Dear Stereum Devs,

thank you for the work, stereum is lovely to use.

Using lighhouse with stereum the slasher db size is configured to 16 GB by default and the slasher history size is left to its default value which is 4096. According to the lighthouse doc, this default history size would require a db size of 256GB .

Would it be possible to have an env variable to specify this slasher history size?

I would recommand to set the slasher history size to 256 by default. From what I understand of how the slashing database is filled up it would be coherent with the 16GB default size in stereum.

cheers,
Romain

@stefa2k
Copy link
Member

stefa2k commented Oct 4, 2021

Hi @romainreuillon,

Thank you for raising this issue. I agree this should be configured via some setting and also be persistent with Stereum updates.

@stefa2k stefa2k added the enhancement New feature or request label Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants