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 UserConfigUserConfig. clone()Creates a copy of the UserConfigUserConfigChannelManager. get_current_default_configuration()Gets the current configuration applied to all new channels, asUserConfigChannelManagerReadArgs. get_default_config()Default settings used for new channels.static UserConfigUserConfig. 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 UserConfigUserConfig. with_default()Creates a "default" UserConfig.Methods in org.ldk.structs with parameters of type UserConfig Modifier and Type Method Description static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZUtilMethods. 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_NoneAPIErrorZChannelManager. 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 ChannelManagerChannelManager. 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 ChannelManagerReadArgsChannelManagerReadArgs. 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.voidChannelManagerReadArgs. set_default_config(UserConfig val)Default settings used for new channels.
-