Trait sapio_base::txindex::TxIndex [−][src]
Required methods
fn lookup_tx(&self, b: &Txid) -> Result<Arc<Transaction>, TxIndexError>
[src]
fn add_tx(&self, tx: Arc<Transaction>) -> Result<Txid, TxIndexError>
[src]
Provided methods
fn lookup_output(&self, b: &OutPoint) -> Result<TxOut, TxIndexError>
[src]
Implementors
impl TxIndex for TxIndexLogger
[src]
fn lookup_tx(&self, b: &Txid) -> Result<Arc<Transaction>, TxIndexError>
[src]
fn add_tx(&self, tx: Arc<Transaction>) -> Result<Txid, TxIndexError>
[src]
impl<Cache, Primary> TxIndex for CachedTxIndex<Cache, Primary> where
Cache: TxIndex,
Primary: TxIndex,
[src]
Cache: TxIndex,
Primary: TxIndex,