Trait sn_dbc::SpendBook [−][src]
pub trait SpendBook: Debug + Clone { type Error: Error; fn lookup(
&self,
dbc_hash: &Hash
) -> Result<Option<&DbcTransaction>, Self::Error>; fn log(
&mut self,
dbc_hash: Hash,
transaction: DbcTransaction
) -> Result<(), Self::Error>; }