pub struct NodeStatus {
pub is_running: bool,
pub current_best_block: BestBlock,
pub latest_lightning_wallet_sync_timestamp: Option<u64>,
pub latest_onchain_wallet_sync_timestamp: Option<u64>,
pub latest_fee_rate_cache_update_timestamp: Option<u64>,
pub latest_rgs_snapshot_timestamp: Option<u64>,
pub latest_pathfinding_scores_sync_timestamp: Option<u64>,
pub latest_node_announcement_broadcast_timestamp: Option<u64>,
pub latest_channel_monitor_archival_height: Option<u32>,
}Expand description
Represents the status of the Node.
Fields§
§is_running: boolIndicates whether the Node is running.
current_best_block: BestBlockThe best block to which our Lightning wallet is currently synced.
latest_lightning_wallet_sync_timestamp: Option<u64>The timestamp, in seconds since start of the UNIX epoch, when we last successfully synced our Lightning wallet to the chain tip.
Will be None if the wallet hasn’t been synced yet.
latest_onchain_wallet_sync_timestamp: Option<u64>The timestamp, in seconds since start of the UNIX epoch, when we last successfully synced our on-chain wallet to the chain tip.
Will be None if the wallet hasn’t been synced yet.
latest_fee_rate_cache_update_timestamp: Option<u64>The timestamp, in seconds since start of the UNIX epoch, when we last successfully update our fee rate cache.
Will be None if the cache hasn’t been updated yet.
latest_rgs_snapshot_timestamp: Option<u64>The timestamp, in seconds since start of the UNIX epoch, when the last rapid gossip sync (RGS) snapshot we successfully applied was generated.
Will be None if RGS isn’t configured or the snapshot hasn’t been updated yet.
latest_pathfinding_scores_sync_timestamp: Option<u64>The timestamp, in seconds since start of the UNIX epoch, when we last successfully merged external scores.
latest_node_announcement_broadcast_timestamp: Option<u64>The timestamp, in seconds since start of the UNIX epoch, when we last broadcasted a node announcement.
Will be None if we have no public channels or we haven’t broadcasted yet.
latest_channel_monitor_archival_height: Option<u32>The block height when we last archived closed channel monitor data.
Will be None if we haven’t archived any monitors of closed channels yet.
Trait Implementations§
Source§impl Clone for NodeStatus
impl Clone for NodeStatus
Source§fn clone(&self) -> NodeStatus
fn clone(&self) -> NodeStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more