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(byte[] channel_manager_serialized, byte[][] channel_monitors_serialized, UserConfig config, KeysInterface keys_interface, FeeEstimator fee_estimator, ChainMonitor chain_monitor, Filter filter, byte[] net_graph_serialized, BroadcasterInterface tx_broadcaster, Logger logger)Deserializes a channel manager and a set of channel monitors from the given serialized copies and interface implementationsChannelManagerConstructor(Network network, UserConfig config, byte[] current_blockchain_tip_hash, int current_blockchain_tip_height, KeysInterface keys_interface, FeeEstimator fee_estimator, ChainMonitor chain_monitor, NetworkGraph net_graph, 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 channel_handshake_config_arg, ChannelHandshakeLimits channel_handshake_limits_arg, ChannelConfig channel_config_arg, boolean accept_forwards_to_priv_channels_arg, boolean accept_inbound_channels_arg, boolean manually_accept_inbound_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. C2Tuple_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__u832APIErrorZChannelManager. create_channel(byte[] their_network_key, long channel_value_satoshis, long push_msat, long user_channel_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.static TwoTuple_BlockHashChannelManagerZTwoTuple_BlockHashChannelManagerZ. of(byte[] a, FeeEstimator b_fee_est, Watch b_chain_monitor, BroadcasterInterface b_tx_broadcaster, Logger b_logger, KeysInterface b_keys_manager, UserConfig b_config, ChainParameters b_params)Creates a new C2Tuple_BlockHashChannelManagerZ from the contained elements.voidChannelManagerReadArgs. set_default_config(UserConfig val)Default settings used for new channels.
-