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
channel_id: Uint256
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.
short_channel_id: Option<u64>
The position of the funding transaction in the chain. None if the funding transaction has not yet been confirmed and the channel fully opened.
remote_network_id: PublicKey
channel_value_satoshis: u64
user_id: u64
The user_id passed in to create_channel, or 0 if the channel was inbound.