[][src]Trait lnpbp::seals::TxGraph

pub trait TxGraph {
    type AccessError: Error;
    pub fn spending_status(
        &self,
        outpoint: &OutPoint
    ) -> Result<SpendingStatus, Self::AccessError>;
pub fn fetch_spending_tx(
        &self,
        outpoint: &OutPoint
    ) -> Result<Transaction, Self::AccessError>;
pub fn create_spending_tx(
        &self,
        outpoint: &OutPoint
    ) -> Result<Transaction, Self::AccessError>;
pub fn fetch_tx(&self, txid: Txid) -> Result<Transaction, Self::AccessError>;
pub fn apply_tx(
        &self,
        signed_tx: &Transaction
    ) -> Result<Transaction, Self::AccessError>; }

Associated Types

Loading content...

Required methods

pub fn spending_status(
    &self,
    outpoint: &OutPoint
) -> Result<SpendingStatus, Self::AccessError>
[src]

pub fn fetch_spending_tx(
    &self,
    outpoint: &OutPoint
) -> Result<Transaction, Self::AccessError>
[src]

pub fn create_spending_tx(
    &self,
    outpoint: &OutPoint
) -> Result<Transaction, Self::AccessError>
[src]

pub fn fetch_tx(&self, txid: Txid) -> Result<Transaction, Self::AccessError>[src]

pub fn apply_tx(
    &self,
    signed_tx: &Transaction
) -> Result<Transaction, Self::AccessError>
[src]

Loading content...

Implementors

Loading content...