pub struct DebugInfo {
pub descriptors: OnchainDescriptors,
pub legacy_descriptors: Option<OnchainDescriptors>,
pub num_utxos: usize,
pub num_confirmed_utxos: usize,
pub num_unconfirmed_utxos: usize,
pub pending_monitor_updates: Option<usize>,
}Expand description
Diagnostic information for debugging purposes.
Fields§
§descriptors: OnchainDescriptorsOutput descriptors for the on-chain wallet.
legacy_descriptors: Option<OnchainDescriptors>Legacy descriptors for wallets created <= node-v0.9.2.
None if the node doesn’t have a legacy wallet.
num_utxos: usizeThe total # of UTXOs tracked by BDK.
num_confirmed_utxos: usizeThe # of confirmed UTXOs tracked by BDK.
num_unconfirmed_utxos: usizeThe # of unconfirmed UTXOs tracked by BDK.
pending_monitor_updates: Option<usize>The number of pending channel monitor updates. If this isn’t 0, it’s likely that at least one channel is paused.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DebugInfo
impl<'de> Deserialize<'de> for DebugInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DebugInfo
impl RefUnwindSafe for DebugInfo
impl Send for DebugInfo
impl Sync for DebugInfo
impl Unpin for DebugInfo
impl UnsafeUnpin for DebugInfo
impl UnwindSafe for DebugInfo
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