static Result_C2Tuple_BlockHashChannelManagerZDecodeErrorZ |
UtilMethods.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_write
|
Result_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.
|
static TwoTuple_BlockHashChannelManagerZ |
TwoTuple_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.
|
void |
ChannelManagerReadArgs.set_default_config(UserConfig val) |
Default settings used for new channels.
|