pub trait TxPoolDb: StorageInspect<Coins, Error = KvStoreError> + StorageInspect<ContractsRawCode, Error = DbStateError> + StorageInspect<Messages, Error = KvStoreError> + Send + Sync {
    fn current_block_height(&self) -> Result<BlockHeight, KvStoreError>;

    fn utxo(&self, utxo_id: &UtxoId) -> Result<Option<Coin>, KvStoreError> { ... }
    fn contract_exist(
        &self,
        contract_id: &ContractId
    ) -> Result<bool, DbStateError> { ... } fn message(
        &self,
        message_id: &MessageId
    ) -> Result<Option<Message>, KvStoreError> { ... } }

Required Methods§

Provided Methods§

Implementors§