0xMiden / 0xMiden/protocol

Handling of IO errors

Aperta
#2,010 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
132
Fork
167
Merge medio
1g 23h
PR unite (30g)
110

Descrizione

Currently any IO errors are going to cause a panic, for the most part since our trait design evolved around in-memory only. Now this is fine for the most part, most libraries like rocksdb do this internally, however, for custom code we require diligence to not i.e. panic on an `EAGAIN` which is non-fatal (not specific to `SmtStore`). These are two separate concerns, yet they're closely related - error handling of IO related errors.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.