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<DebugInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DebugInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DebugInfo
impl Serialize for DebugInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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