Struct lightning::ln::channelmanager::ChannelDetails [] [src]

pub struct ChannelDetails {
    pub channel_id: Uint256,
    pub short_channel_id: Option<u64>,
    pub remote_network_id: PublicKey,
    pub channel_value_satoshis: u64,
    pub user_id: u64,
}

Fields

The channel's ID (prior to funding transaction generation, this is a random 32 bytes, thereafter this is the txid of the funding transaction xor the funding transaction output). Note that this means this value is not persistent - it can change once during the lifetime of the channel.

The position of the funding transaction in the chain. None if the funding transaction has not yet been confirmed and the channel fully opened.

The user_id passed in to create_channel, or 0 if the channel was inbound.

Trait Implementations

Auto Trait Implementations