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, EntropySource entropy_source, NodeSigner node_signer, SignerProvider signer_provider, FeeEstimator fee_estimator, ChainMonitor chain_monitor, Filter filter, byte[] net_graph_serialized, ProbabilisticScoringParameters scoring_params, byte[] probabilistic_scorer_bytes, ChannelManagerConstructor.RouterWrapper router_wrapper, 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, EntropySource entropy_source, NodeSigner node_signer, SignerProvider signer_provider, FeeEstimator fee_estimator, ChainMonitor chain_monitor, NetworkGraph net_graph, ProbabilisticScoringParameters scoring_params, ChannelManagerConstructor.RouterWrapper router_wrapper, 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.UserConfig
ChannelManagerReadArgs. get_default_config()
Default settings used for new channels.static UserConfig
UserConfig. 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, boolean accept_intercept_htlcs_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. C2Tuple_BlockHashChannelManagerZ_read(byte[] ser, EntropySource arg_entropy_source, NodeSigner arg_node_signer, SignerProvider arg_signer_provider, FeeEstimator arg_fee_estimator, Watch arg_chain_monitor, BroadcasterInterface arg_tx_broadcaster, Router arg_router, Logger arg_logger, UserConfig arg_default_config, ChannelMonitor[] arg_channel_monitors)
Read a C2Tuple_BlockHashChannelManagerZ from a byte array, created by C2Tuple_BlockHashChannelManagerZ_writeResult__u832APIErrorZ
ChannelManager. create_channel(byte[] their_network_key, long channel_value_satoshis, long push_msat, UInt128 user_channel_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, Router router, Logger logger, EntropySource entropy_source, NodeSigner node_signer, SignerProvider signer_provider, UserConfig config, ChainParameters params)
Constructs a new `ChannelManager` to hold several channels and route between them.static ChannelManagerReadArgs
ChannelManagerReadArgs. of(EntropySource entropy_source, NodeSigner node_signer, SignerProvider signer_provider, FeeEstimator fee_estimator, Watch chain_monitor, BroadcasterInterface tx_broadcaster, Router router, Logger logger, UserConfig default_config, ChannelMonitor[] channel_monitors)
Simple utility function to create a ChannelManagerReadArgs which creates the monitor HashMap for you.static TwoTuple_BlockHashChannelManagerZ
TwoTuple_BlockHashChannelManagerZ. of(byte[] a, FeeEstimator b_fee_est, Watch b_chain_monitor, BroadcasterInterface b_tx_broadcaster, Router b_router, Logger b_logger, EntropySource b_entropy_source, NodeSigner b_node_signer, SignerProvider b_signer_provider, UserConfig b_config, ChainParameters b_params)
Creates a new C2Tuple_BlockHashChannelManagerZ from the contained elements.static InitFeatures
UtilMethods. provided_init_features(UserConfig _config)
Fetches the set of [`InitFeatures`] flags which are provided by or required by [`ChannelManager`].void
ChannelManagerReadArgs. set_default_config(UserConfig val)
Default settings used for new channels.
-