holepunchto / hypercore

Hypercore is a secure, distributed append-only log.
https://docs.holepunch.to
MIT License
2.59k stars 182 forks source link

Hypercore fails if random-access-storage is read only. #135

Closed e-e-e closed 2 years ago

e-e-e commented 6 years ago

As per quick discussion of gitter with @mafintosh.

We should make hypercore check if storage.writable === false and not try the write in that case.

mafintosh commented 2 years ago

Closing cause old and lots have changed