[][src]Struct lightning::util::config::UserConfig

pub struct UserConfig {
    pub own_channel_config: ChannelHandshakeConfig,
    pub peer_channel_config_limits: ChannelHandshakeLimits,
    pub channel_options: ChannelConfig,
}

Top-level config which holds ChannelHandshakeLimits and ChannelConfig.

Default::default() provides sane defaults for most configurations (but currently with 0 relay fees!)

Fields

own_channel_config: ChannelHandshakeConfig

Channel config that we propose to our counterparty.

peer_channel_config_limits: ChannelHandshakeLimits

Limits applied to our counterparty's proposed channel config settings.

channel_options: ChannelConfig

Channel config which affects behavior during channel lifetime.

Trait Implementations

impl Clone for UserConfig[src]

impl Debug for UserConfig[src]

impl Default for UserConfig[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, U> Into<U> for T where
    U: From<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 = !

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.