pub struct Update {
pub last_active_indices: BTreeMap<KeychainKind, u32>,
pub tx_update: TxUpdate<ConfirmationBlockTime>,
pub chain: Option<CheckPoint>,
}
Expand description
An update to Wallet
.
It updates [KeychainTxOutIndex
], [bdk_chain::TxGraph
] and [LocalChain
] atomically.
Fields§
§last_active_indices: BTreeMap<KeychainKind, u32>
Contains the last active derivation indices per keychain (K
), which is used to update the
[KeychainTxOutIndex
].
tx_update: TxUpdate<ConfirmationBlockTime>
Update for the wallet’s internal [TxGraph
].
chain: Option<CheckPoint>
Update for the wallet’s internal [LocalChain
].
Trait Implementations§
Source§impl From<FullScanResponse<KeychainKind>> for Update
impl From<FullScanResponse<KeychainKind>> for Update
Source§fn from(value: FullScanResponse<KeychainKind>) -> Self
fn from(value: FullScanResponse<KeychainKind>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more