pub struct NodeInfoV1 {Show 14 fields
pub version: Version,
pub measurement: Measurement,
pub user_pk: UserPk,
pub node_pk: NodePk,
pub num_peers: usize,
pub num_usable_channels: usize,
pub num_channels: usize,
pub lightning_balance: LightningBalance,
pub onchain_balance: OnchainBalance,
pub num_utxos: usize,
pub num_confirmed_utxos: usize,
pub num_unconfirmed_utxos: usize,
pub best_block_height: u32,
pub pending_monitor_updates: usize,
}Fields§
§version: Version§measurement: Measurement§user_pk: UserPk§node_pk: NodePk§num_peers: usize§num_usable_channels: usize§num_channels: usize§lightning_balance: LightningBalanceOur lightning channel balance
onchain_balance: OnchainBalanceOur on-chain wallet balance
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.
best_block_height: u32The channel manager’s best synced block height.
pending_monitor_updates: usizeThe 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 Debug for NodeInfoV1
impl Debug for NodeInfoV1
Source§impl<'de> Deserialize<'de> for NodeInfoV1
impl<'de> Deserialize<'de> for NodeInfoV1
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
Source§impl From<NodeInfoV1> for NodeInfo
impl From<NodeInfoV1> for NodeInfo
Source§fn from(v1: NodeInfoV1) -> Self
fn from(v1: NodeInfoV1) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NodeInfoV1
impl RefUnwindSafe for NodeInfoV1
impl Send for NodeInfoV1
impl Sync for NodeInfoV1
impl Unpin for NodeInfoV1
impl UnsafeUnpin for NodeInfoV1
impl UnwindSafe for NodeInfoV1
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