Struct bdk_wallet::Update
source · 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 [local_chain::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<FullScanResult<KeychainKind>> for Update
impl From<FullScanResult<KeychainKind>> for Update
source§fn from(value: FullScanResult<KeychainKind>) -> Self
fn from(value: FullScanResult<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