[][src]Trait lightning::chain::chaininterface::BroadcasterInterface

pub trait BroadcasterInterface: Sync + Send {
    fn broadcast_transaction(&self, tx: &Transaction);
}

An interface to send a transaction to the Bitcoin network.

Required methods

fn broadcast_transaction(&self, tx: &Transaction)

Sends a transaction out to (hopefully) be mined.

Loading content...

Implementors

Loading content...