0xMiden / 0xMiden/protocol

Handling of IO errors

Offen
#2,010 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
132
Forks
167
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
110

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.