Add poh verification before processing entries

- Replicate stage now verifies entries delivered
  by the window
- Minor refactor of entries_from_blobs
This commit is contained in:
Sagar Dhawan
2018-11-12 12:41:19 -08:00
parent 66e9d30fda
commit 729d28d910
9 changed files with 85 additions and 61 deletions

View File

@ -152,6 +152,8 @@ impl Default for Blob {
pub enum BlobError {
/// the Blob's meta and data are not self-consistent
BadState,
/// Blob verification failed
VerificationFailed,
}
impl Packets {