Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions key-wallet/src/wallet/managed_wallet_info/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ impl ManagedWalletInfo {
pub fn increment_transactions(&mut self) {
self.metadata.total_transactions += 1;
}

/// Read-only access to the InstantSend lock txid set.
///
/// Exposes `instant_send_locks` (a `pub(crate)` field marked
/// `serde(skip)`) so external diagnostic surfaces (e.g. the iOS
/// memory explorer) can list the txids that have received an
/// IS-lock without bypassing the encapsulation that keeps mutation
/// inside this crate.
pub fn instant_send_locks(&self) -> &HashSet<Txid> {
&self.instant_send_locks
}
}

/// Re-export types from account module for convenience
Expand Down
Loading