bee icon indicating copy to clipboard operation
bee copied to clipboard

Store block and transaction hashes to disk during "ultra" light mode boot

Open notanatol opened this issue 3 years ago • 4 comments

Summary

We want to store the provided hashes to disk so they would be available on subsequent runs in ultra light mode.

notanatol avatar May 01 '22 07:05 notanatol

Is this issue still relevant? There are config variables to store the hashes if I understand correctly.

agazso avatar Jul 01 '22 12:07 agazso

Is this issue still relevant? There are config variables to store the hashes if I understand correctly.

This is an UX improvement suggestion IIRC. If we start in chain-less mode and the values are not found in the config file we check if they are stored on the disk instead of failing to boot.

notanatol avatar Jul 01 '22 13:07 notanatol

And how would the node find about these values?

agazso avatar Jul 01 '22 14:07 agazso

And how would the node find about these values?

Initially the user provides them, but upon successful start-up the value can be stored to disk for future use, in case these values are later removed from the config file.

This allows for more seamless transition between modes.

notanatol avatar Jul 01 '22 14:07 notanatol