static Event |
Event.channel_ready(byte[] channel_id,
UInt128 user_channel_id,
byte[] counterparty_node_id,
ChannelTypeFeatures channel_type) |
Utility method to constructs a new ChannelReady-variant Event
|
boolean |
ChannelTypeFeatures.eq(ChannelTypeFeatures b) |
Checks if two ChannelTypeFeaturess contain equal inner contents.
|
static ChannelDetails |
ChannelDetails.of(byte[] channel_id_arg,
ChannelCounterparty counterparty_arg,
OutPoint funding_txo_arg,
ChannelTypeFeatures channel_type_arg,
Option_u64Z short_channel_id_arg,
Option_u64Z outbound_scid_alias_arg,
Option_u64Z inbound_scid_alias_arg,
long channel_value_satoshis_arg,
Option_u64Z unspendable_punishment_reserve_arg,
UInt128 user_channel_id_arg,
Option_u32Z feerate_sat_per_1000_weight_arg,
long balance_msat_arg,
long outbound_capacity_msat_arg,
long next_outbound_htlc_limit_msat_arg,
long inbound_capacity_msat_arg,
Option_u32Z confirmations_required_arg,
Option_u32Z confirmations_arg,
Option_u16Z force_close_spend_delay_arg,
boolean is_outbound_arg,
boolean is_channel_ready_arg,
boolean is_usable_arg,
boolean is_public_arg,
Option_u64Z inbound_htlc_minimum_msat_arg,
Option_u64Z inbound_htlc_maximum_msat_arg,
ChannelConfig config_arg) |
Constructs a new ChannelDetails given each field
|
static Result_ChannelTypeFeaturesDecodeErrorZ |
Result_ChannelTypeFeaturesDecodeErrorZ.ok(ChannelTypeFeatures o) |
Creates a new CResult_ChannelTypeFeaturesDecodeErrorZ in the success state.
|
static Event |
Event.open_channel_request(byte[] temporary_channel_id,
byte[] counterparty_node_id,
long funding_satoshis,
long push_msat,
ChannelTypeFeatures channel_type) |
Utility method to constructs a new OpenChannelRequest-variant Event
|
void |
AcceptChannel.set_channel_type(ChannelTypeFeatures val) |
The channel type that this channel will represent.
|
void |
ChannelDetails.set_channel_type(ChannelTypeFeatures val) |
The features which this channel operates with.
|
void |
OpenChannel.set_channel_type(ChannelTypeFeatures val) |
The channel type that this channel will represent
If this is `None`, we derive the channel type from the intersection of our
feature bits with our counterparty's feature bits from the [`Init`] message.
|