[][src]Struct bitcoin_rpc_client::BitcoinStubClient

pub struct BitcoinStubClient {}

Methods

impl BitcoinStubClient[src]

pub fn new() -> Self[src]

Trait Implementations

impl BitcoinRpcApi for BitcoinStubClient[src]

fn add_multisig_address(
    &self,
    number_of_required_signatures: u32,
    participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn create_raw_transaction(
    &self,
    inputs: Vec<&NewTransactionInput>,
    output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn decode_rawtransaction(
    &self,
    tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn decode_script(
    &self,
    script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn dump_privkey(
    &self,
    address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn fund_raw_transaction(
    &self,
    tx: &SerializedRawTransaction,
    options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn generate(
    &self,
    number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_address_info(
    &self,
    address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_balance(&self) -> Result<Result<f32, RpcError>, ClientError>[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_best_block_hash(
    &self
) -> Result<Result<BlockHash, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_block(
    &self,
    header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_block_verbose(
    &self,
    header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_blockchain_info(
    &self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_block_count(&self) -> Result<Result<BlockHeight, RpcError>, ClientError>[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_block_hash(
    &self,
    height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_new_address(&self) -> Result<Result<Address, RpcError>, ClientError>[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_raw_transaction_serialized(
    &self,
    tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn get_raw_transaction_verbose(
    &self,
    tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn list_unspent(
    &self,
    min_confirmations: TxOutConfirmations,
    max_confirmations: Option<u32>,
    recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn send_raw_transaction(
    &self,
    tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn send_to_address(
    &self,
    address: &Address,
    amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn sign_raw_transaction_with_key(
    &self,
    tx: &SerializedRawTransaction,
    private_keys: Option<Vec<&PrivateKey>>,
    dependencies: Option<Vec<&TransactionOutputDetail>>,
    signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

fn validate_address(
    &self,
    address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
[src]

Deprecated since 0.6.1:

This library is deprecated in favor of bitcoincore-rpc.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Configure for T where
    T: ?Sized
[src]

fn readable(self) -> Readable<Self>[src]

Marks self as using is_human_readable == true

fn compact(self) -> Compact<Self>[src]

Marks self as using is_human_readable == false

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err