Uses of Class
org.ldk.structs.UserConfig
-
Packages that use UserConfig Package Description org.ldk.batteries org.ldk.structs -
-
Uses of UserConfig in org.ldk.batteries
Constructors in org.ldk.batteries with parameters of type UserConfig Constructor Description ChannelManagerConstructor(Network network, UserConfig config, byte[] current_blockchain_tip_hash, int current_blockchain_tip_height, KeysInterface keys_interface, FeeEstimator fee_estimator, ChainMonitor chain_monitor, NetGraphMsgHandler router, BroadcasterInterface tx_broadcaster, Logger logger)
Constructs a channel manager from the given interface implementations -
Uses of UserConfig in org.ldk.structs
Methods in org.ldk.structs that return UserConfig Modifier and Type Method Description UserConfig
UserConfig. clone()
Creates a copy of the UserConfigUserConfig
ChannelManager. get_current_default_configuration()
Gets the current configuration applied to all new channels, asUserConfig
ChannelManagerReadArgs. get_default_config()
Default settings used for new channels.static UserConfig
UserConfig. of(ChannelHandshakeConfig own_channel_config_arg, ChannelHandshakeLimits peer_channel_config_limits_arg, ChannelConfig channel_options_arg, boolean accept_forwards_to_priv_channels_arg)
Constructs a new UserConfig given each fieldstatic UserConfig
UserConfig. with_default()
Creates a "default" UserConfig.Methods in org.ldk.structs with parameters of type UserConfig Modifier and Type Method Description static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ
UtilMethods. BlockHashChannelManagerZ_read(byte[] ser, KeysInterface arg_keys_manager, FeeEstimator arg_fee_estimator, Watch arg_chain_monitor, BroadcasterInterface arg_tx_broadcaster, Logger arg_logger, UserConfig arg_default_config, ChannelMonitor[] arg_channel_monitors)
Read a C2Tuple_BlockHashChannelManagerZ from a byte array, created by C2Tuple_BlockHashChannelManagerZ_writeResult_NoneAPIErrorZ
ChannelManager. create_channel(byte[] their_network_key, long channel_value_satoshis, long push_msat, long user_id, UserConfig override_config)
Creates a new outbound channel to the given remote node and with the given value.static ChannelManager
ChannelManager. of(FeeEstimator fee_est, Watch chain_monitor, BroadcasterInterface tx_broadcaster, Logger logger, KeysInterface keys_manager, UserConfig config, ChainParameters params)
Constructs a new ChannelManager to hold several channels and route between them.static ChannelManagerReadArgs
ChannelManagerReadArgs. of(KeysInterface keys_manager, FeeEstimator fee_estimator, Watch chain_monitor, BroadcasterInterface tx_broadcaster, Logger logger, UserConfig default_config, ChannelMonitor[] channel_monitors)
Simple utility function to create a ChannelManagerReadArgs which creates the monitor HashMap for you.void
ChannelManagerReadArgs. set_default_config(UserConfig val)
Default settings used for new channels.
-