[][src]Struct lnrpc::GetInfoResponse

pub struct GetInfoResponse {
    pub version: String,
    pub commit_hash: String,
    pub identity_pubkey: String,
    pub alias: String,
    pub color: String,
    pub num_pending_channels: u32,
    pub num_active_channels: u32,
    pub num_inactive_channels: u32,
    pub num_peers: u32,
    pub block_height: u32,
    pub block_hash: String,
    pub best_header_timestamp: i64,
    pub synced_to_chain: bool,
    pub synced_to_graph: bool,
    pub testnet: bool,
    pub chains: Vec<Chain>,
    pub uris: Vec<String>,
    pub features: HashMap<u32, Feature>,
}

Fields

version: Stringcommit_hash: Stringidentity_pubkey: Stringalias: Stringcolor: Stringnum_pending_channels: u32num_active_channels: u32num_inactive_channels: u32num_peers: u32block_height: u32block_hash: Stringbest_header_timestamp: i64synced_to_chain: boolsynced_to_graph: bool

Whether we consider ourselves synced with the public channel graph.

testnet: bool

Whether the current node is connected to testnet. This field is deprecated and the network field should be used instead

chains: Vec<Chain>uris: Vec<String>features: HashMap<u32, Feature>

Features that our node has advertised in our init message, node announcements and invoices.

Trait Implementations

impl Clone for GetInfoResponse[src]

impl Debug for GetInfoResponse[src]

impl Default for GetInfoResponse[src]

impl Message for GetInfoResponse[src]

impl PartialEq<GetInfoResponse> for GetInfoResponse[src]

impl StructuralPartialEq for GetInfoResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]