pub type WalletTx<'a> = CanonicalTx<'a, Arc<Transaction>, ConfirmationBlockTime>;
Expand description
A CanonicalTx
managed by a Wallet
.
Aliased Type§
struct WalletTx<'a> {
pub chain_position: ChainPosition<ConfirmationBlockTime>,
pub tx_node: TxNode<'a, Arc<Transaction>, ConfirmationBlockTime>,
}
Fields§
§chain_position: ChainPosition<ConfirmationBlockTime>
How the transaction is observed in the canonical chain (confirmed or unconfirmed).
tx_node: TxNode<'a, Arc<Transaction>, ConfirmationBlockTime>
The transaction node (as part of the graph).
Trait Implementations
§impl<'a, T, A> Ord for CanonicalTx<'a, T, A>
impl<'a, T, A> Ord for CanonicalTx<'a, T, A>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more