Trait BitcoinRpcExt

Source
pub trait BitcoinRpcExt: RpcApi {
    // Provided methods
    fn custom_get_raw_transaction_info(
        &self,
        txid: &Txid,
        block_hash: Option<&BlockHash>,
    ) -> RpcResult<Option<GetRawTransactionResult>> { ... }
    fn broadcast_tx(&self, tx: &Transaction) -> Result<(), Error> { ... }
    fn tip(&self) -> Result<BlockRef, Error> { ... }
    fn deep_tip(&self) -> Result<BlockRef, Error> { ... }
    fn tx_status(&self, txid: &Txid) -> Result<TxStatus, Error> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§