Trait sapio_base::txindex::TxIndex[][src]

pub trait TxIndex {
    fn lookup_tx(&self, b: &Txid) -> Result<Arc<Transaction>, TxIndexError>;
fn add_tx(&self, tx: Arc<Transaction>) -> Result<Txid, TxIndexError>; fn lookup_output(&self, b: &OutPoint) -> Result<TxOut, TxIndexError> { ... } }

Required methods

Loading content...

Provided methods

Loading content...

Implementors

impl TxIndex for TxIndexLogger[src]

impl<Cache, Primary> TxIndex for CachedTxIndex<Cache, Primary> where
    Cache: TxIndex,
    Primary: TxIndex
[src]

Loading content...