pub trait ProofStore {
    fn insert(&self, proof: &Proof) -> Result<(), Error>;
    fn proofs_iter(&self) -> Result<Box<dyn Iterator<Item = Proof>>, Error>;
}
Expand description

Trait representing a place that can keep proofs (all reviews and trust proofs)

See ProofDb.

Typically serialized and persisted.

Required Methods

Implementors