ethereum2-docker-compose icon indicating copy to clipboard operation
ethereum2-docker-compose copied to clipboard

Lighthouse slasher history size variable

Open romainreuillon opened this issue 4 years ago • 1 comments

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

romainreuillon avatar Oct 02 '21 08:10 romainreuillon

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 avatar Oct 04 '21 07:10 stefa2k