[−][src]Struct testutils::TestClient
Implementations
impl TestClient
[src]
pub fn new() -> Self
[src]
pub fn receive(&mut self, meta_tx: TestIncomingTx) -> Txid
[src]
pub fn bump_fee(&mut self, txid: &Txid) -> Txid
[src]
pub fn generate_manually(&mut self, txs: Vec<Transaction>) -> String
[src]
pub fn generate(&mut self, num_blocks: u64, address: Option<Address>)
[src]
pub fn invalidate(&mut self, num_blocks: u64)
[src]
pub fn reorg(&mut self, num_blocks: u64)
[src]
pub fn get_node_address(&self, address_type: Option<AddressType>) -> Address
[src]
Methods from Deref<Target = RpcClient>
pub fn get_jsonrpc_client(&self) -> &Client
[src]
Get the underlying JSONRPC client.
Trait Implementations
impl Deref for TestClient
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TestClient
[src]
impl Send for TestClient
[src]
impl Sync for TestClient
[src]
impl Unpin for TestClient
[src]
impl !UnwindSafe for TestClient
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,