Uses of Class
org.ldk.structs.InitFeatures
-
Packages that use InitFeatures Package Description org.ldk.structs -
-
Uses of InitFeatures in org.ldk.structs
Fields in org.ldk.structs declared as InitFeatures Modifier and Type Field Description InitFeatures
Result_InitFeaturesDecodeErrorZ.Result_InitFeaturesDecodeErrorZ_OK. res
Methods in org.ldk.structs that return InitFeatures Modifier and Type Method Description InitFeatures
InitFeatures. clone()
Creates a copy of the InitFeaturesstatic InitFeatures
InitFeatures. empty()
Create a blank Features with no features setInitFeatures
ChannelCounterparty. get_features()
The Features the channel counterparty provided upon last connection.InitFeatures
Init. get_features()
The relevant features which the sender supports.InitFeatures
ChannelManager. init_features()
Fetches the set of [`InitFeatures`] flags which are provided by or required by [`ChannelManager`].InitFeatures
ChannelMessageHandler.ChannelMessageHandlerInterface. provided_init_features(byte[] their_node_id)
Gets the init feature flags which should be sent to the given peer.InitFeatures
ChannelMessageHandler. provided_init_features(byte[] their_node_id)
Gets the init feature flags which should be sent to the given peer.InitFeatures
OnionMessageHandler.OnionMessageHandlerInterface. provided_init_features(byte[] their_node_id)
Gets the init feature flags which should be sent to the given peer.InitFeatures
OnionMessageHandler. provided_init_features(byte[] their_node_id)
Gets the init feature flags which should be sent to the given peer.InitFeatures
RoutingMessageHandler. provided_init_features(byte[] their_node_id)
Gets the init feature flags which should be sent to the given peer.InitFeatures
RoutingMessageHandler.RoutingMessageHandlerInterface. provided_init_features(byte[] their_node_id)
Gets the init feature flags which should be sent to the given peer.static InitFeatures
UtilMethods. provided_init_features(UserConfig _config)
Fetches the set of [`InitFeatures`] flags which are provided by or required by [`ChannelManager`].Methods in org.ldk.structs with parameters of type InitFeatures Modifier and Type Method Description boolean
InitFeatures. eq(InitFeatures b)
Checks if two InitFeaturess contain equal inner contents.boolean
ShutdownScript. is_compatible(InitFeatures features)
Returns whether the shutdown script is compatible with the features as defined by BOLT #2.static ChannelCounterparty
ChannelCounterparty. of(byte[] node_id_arg, InitFeatures features_arg, long unspendable_punishment_reserve_arg, CounterpartyForwardingInfo forwarding_info_arg, Option_u64Z outbound_htlc_minimum_msat_arg, Option_u64Z outbound_htlc_maximum_msat_arg)
Constructs a new ChannelCounterparty given each fieldstatic Init
Init. of(InitFeatures features_arg, Option_NetAddressZ remote_network_address_arg)
Constructs a new Init given each fieldstatic Result_InitFeaturesDecodeErrorZ
Result_InitFeaturesDecodeErrorZ. ok(InitFeatures o)
Creates a new CResult_InitFeaturesDecodeErrorZ in the success state.void
ChannelCounterparty. set_features(InitFeatures val)
The Features the channel counterparty provided upon last connection.void
Init. set_features(InitFeatures val)
The relevant features which the sender supports.
-