holiman / billy

Very simple datastore
BSD 3-Clause "New" or "Revised" License
50 stars 7 forks source link

Corruption seems to be able to lead to EOF error #21

Closed karalabe closed 4 months ago

karalabe commented 4 months ago

No idea what and how yes, just this reference issue https://github.com/ethereum/go-ethereum/issues/28990

karalabe commented 4 months ago

Should be fixed by https://github.com/holiman/billy/pull/22 and https://github.com/holiman/billy/pull/23. The former ensuring the Billy magic cannot be corrupted, whilst the latter supporting repairing anything else.