pub struct LocalWalletClient {
pub id: String,
pub proxy_tx: Arc<Mutex<Sender<WalletProxyMessage>>>,
pub rx: Arc<Mutex<Receiver<WalletProxyMessage>>>,
pub tx: Arc<Mutex<Sender<WalletProxyMessage>>>,
}
wallet identifier for the proxy queue
proxy's tx queue (receive messages from other wallets or node
get an instance of the send queue for other senders
Send the slate to a listening wallet instance
Whether this adapter supports sync mode
Send the slate to a listening wallet instance
Send a transaction asynchronously (result will be returned via the listener)
Receive a transaction async. (Actually just read it from wherever and return the slate)
Start a listener, passing received messages to the wallet api directly Takes a wallet config for now to avoid needing all sorts of awkward type parameters on this trait Read more
Return the URL of the check node
Return the node api secret
Posts a transaction to a grin node
In this case it will create a new block with award rewarded to
Return the chain tip from a given node
Retrieve outputs from node
Get a list of outputs from the node by traversing the UTXO set in PMMR index order. Returns (last available output index, last insertion index retrieved, outputs(commit, proof, is_coinbase, height, mmr_index)) Read more
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
impl<T> CloneAny for T where T: Clone + Any, | |
impl<T> UnsafeAny for T where T: Any, | |
impl<T> SafeBorrow for T where T: ?Sized, | |
Given ptr
, which was obtained from a prior call to Self::borrow()
, return a value with the same nominal lifetime which is guaranteed to survive mutations to Self
. Read more
impl<'a, T> DefaultFeatures for T where T: 'a + Send + Sync + Clone, | |
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
impl<'a, T> NonSyncFeatures for T where T: 'a + Clone, | |
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more