[−][src]Trait exonum_btc_anchoring::sync::BitcoinRelay
Describes communication with the Bitcoin network node.
Associated Types
type Error
Error type for the current Bitcoin relay implementation.
Required methods
#[must_use]fn send_transaction<'life0, 'life1, 'async_trait>(
&'life0 self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<Sha256d, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<Sha256d, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Sends a raw transaction to the Bitcoin network node.
#[must_use]fn transaction_status<'life0, 'async_trait>(
&'life0 self,
id: Sha256d
) -> Pin<Box<dyn Future<Output = Result<TransactionStatus, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
id: Sha256d
) -> Pin<Box<dyn Future<Output = Result<TransactionStatus, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets status for the transaction with the specified identifier.
Implementations on Foreign Types
impl BitcoinRelay for Client
[src]
type Error = Error
fn send_transaction<'life0, 'life1, 'async_trait>(
&'life0 self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<Sha256d, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
transaction: &'life1 Transaction
) -> Pin<Box<dyn Future<Output = Result<Sha256d, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn transaction_status<'life0, 'async_trait>(
&'life0 self,
id: Sha256d
) -> Pin<Box<dyn Future<Output = Result<TransactionStatus, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
id: Sha256d
) -> Pin<Box<dyn Future<Output = Result<TransactionStatus, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,