Uses of Class
org.ldk.structs.Watch
-
Packages that use Watch Package Description org.ldk.structs -
-
Uses of Watch in org.ldk.structs
Methods in org.ldk.structs that return Watch Modifier and Type Method Description WatchChainMonitor. as_Watch()Constructs a new Watch which calls the relevant methods on this_arg.WatchChannelManagerReadArgs. get_chain_monitor()The chain::Watch for use in the ChannelManager in the future.static WatchWatch. new_impl(Watch.WatchInterface arg)Methods in org.ldk.structs with parameters of type Watch 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_writestatic 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_chain_monitor(Watch val)The chain::Watch for use in the ChannelManager in the future.
-