Result_NoneAPIErrorZ |
ChannelManager.accept_inbound_channel(byte[] temporary_channel_id,
byte[] counterparty_node_id,
UInt128 user_channel_id) |
Accepts a request to open a channel after a [`Event::OpenChannelRequest`].
|
Result_NoneAPIErrorZ |
ChannelManager.accept_inbound_channel_from_trusted_peer_0conf(byte[] temporary_channel_id,
byte[] counterparty_node_id,
UInt128 user_channel_id) |
Accepts a request to open a channel after a [`events::Event::OpenChannelRequest`], treating
it as confirmed immediately.
|
Result_NoneAPIErrorZ |
ChainMonitor.channel_monitor_updated(OutPoint funding_txo,
MonitorUpdateId completed_update_id) |
Indicates the persistence of a [`ChannelMonitor`] has completed after
[`ChannelMonitorUpdateStatus::InProgress`] was returned from an update operation.
|
Result_NoneAPIErrorZ |
Result_NoneAPIErrorZ.clone() |
Creates a new CResult_NoneAPIErrorZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
Result_NoneAPIErrorZ |
ChannelManager.close_channel(byte[] channel_id,
byte[] counterparty_node_id) |
Begins the process of closing a channel.
|
Result_NoneAPIErrorZ |
ChannelManager.close_channel_with_target_feerate(byte[] channel_id,
byte[] counterparty_node_id,
int target_feerate_sats_per_1000_weight) |
Begins the process of closing a channel.
|
static Result_NoneAPIErrorZ |
Result_NoneAPIErrorZ.err(APIError e) |
Creates a new CResult_NoneAPIErrorZ in the error state.
|
Result_NoneAPIErrorZ |
ChannelManager.fail_intercepted_htlc(byte[] intercept_id) |
Fails the intercepted HTLC indicated by intercept_id.
|
Result_NoneAPIErrorZ |
ChannelManager.force_close_broadcasting_latest_txn(byte[] channel_id,
byte[] counterparty_node_id) |
Force closes a channel, immediately broadcasting the latest local transaction(s) and
rejecting new HTLCs on the given channel.
|
Result_NoneAPIErrorZ |
ChannelManager.force_close_without_broadcasting_txn(byte[] channel_id,
byte[] counterparty_node_id) |
Force closes a channel, rejecting new HTLCs on the given channel but skips broadcasting
the latest local transaction(s).
|
Result_NoneAPIErrorZ |
ChannelManager.forward_intercepted_htlc(byte[] intercept_id,
byte[] next_hop_channel_id,
byte[] next_node_id,
long amt_to_forward_msat) |
Attempts to forward an intercepted HTLC over the provided channel id and with the provided
amount to forward.
|
Result_NoneAPIErrorZ |
ChannelManager.funding_transaction_generated(byte[] temporary_channel_id,
byte[] counterparty_node_id,
byte[] funding_transaction) |
Call this upon creation of a funding transaction for the given channel.
|
static Result_NoneAPIErrorZ |
Result_NoneAPIErrorZ.ok() |
Creates a new CResult_NoneAPIErrorZ in the success state.
|
Result_NoneAPIErrorZ |
ChannelManager.update_channel_config(byte[] counterparty_node_id,
byte[][] channel_ids,
ChannelConfig config) |
Atomically updates the [`ChannelConfig`] for the given channels.
|