static byte[] |
UtilMethods.build_closing_transaction(long to_holder_value_sat,
long to_counterparty_value_sat,
byte[] to_holder_script,
byte[] to_counterparty_script,
OutPoint funding_outpoint) |
Build a closing transaction
|
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.
|
static Event |
Event.channel_pending(byte[] channel_id,
UInt128 user_channel_id,
byte[] former_temporary_channel_id,
byte[] counterparty_node_id,
OutPoint funding_txo) |
Utility method to constructs a new ChannelPending-variant Event
|
static MonitorEvent |
MonitorEvent.commitment_tx_confirmed(OutPoint a) |
Utility method to constructs a new CommitmentTxConfirmed-variant MonitorEvent
|
static MonitorEvent |
MonitorEvent.completed(OutPoint funding_txo,
long monitor_update_id) |
Utility method to constructs a new Completed-variant MonitorEvent
|
boolean |
OutPoint.eq(OutPoint b) |
Checks if two OutPoints contain equal inner contents.
|
Result_LockedChannelMonitorNoneZ |
ChainMonitor.get_monitor(OutPoint funding_txo) |
Gets the [`LockedChannelMonitor`] for a given funding outpoint, returning an `Err` if no
such [`ChannelMonitor`] is currently being monitored for.
|
static ChannelDetails |
ChannelDetails.of(byte[] channel_id_arg,
ChannelCounterparty counterparty_arg,
OutPoint funding_txo_arg,
ChannelTypeFeatures channel_type_arg,
Option_u64Z short_channel_id_arg,
Option_u64Z outbound_scid_alias_arg,
Option_u64Z inbound_scid_alias_arg,
long channel_value_satoshis_arg,
Option_u64Z unspendable_punishment_reserve_arg,
UInt128 user_channel_id_arg,
Option_u32Z feerate_sat_per_1000_weight_arg,
long balance_msat_arg,
long outbound_capacity_msat_arg,
long next_outbound_htlc_limit_msat_arg,
long inbound_capacity_msat_arg,
Option_u32Z confirmations_required_arg,
Option_u32Z confirmations_arg,
Option_u16Z force_close_spend_delay_arg,
boolean is_outbound_arg,
boolean is_channel_ready_arg,
boolean is_usable_arg,
boolean is_public_arg,
Option_u64Z inbound_htlc_minimum_msat_arg,
Option_u64Z inbound_htlc_maximum_msat_arg,
ChannelConfig config_arg) |
Constructs a new ChannelDetails given each field
|
static ChannelTransactionParameters |
ChannelTransactionParameters.of(ChannelPublicKeys holder_pubkeys_arg,
short holder_selected_contest_delay_arg,
boolean is_outbound_from_holder_arg,
CounterpartyChannelTransactionParameters counterparty_parameters_arg,
OutPoint funding_outpoint_arg,
COption_NoneZ opt_anchors_arg,
COption_NoneZ opt_non_zero_fee_anchors_arg) |
Constructs a new ChannelTransactionParameters given each field
|
static ClosingTransaction |
ClosingTransaction.of(long to_holder_value_sat,
long to_counterparty_value_sat,
byte[] to_holder_script,
byte[] to_counterparty_script,
OutPoint funding_outpoint) |
Construct an object of the class
|
static DelayedPaymentOutputDescriptor |
DelayedPaymentOutputDescriptor.of(OutPoint outpoint_arg,
byte[] per_commitment_point_arg,
short to_self_delay_arg,
TxOut output_arg,
byte[] revocation_pubkey_arg,
byte[] channel_keys_id_arg,
long channel_value_satoshis_arg) |
Constructs a new DelayedPaymentOutputDescriptor given each field
|
static StaticPaymentOutputDescriptor |
StaticPaymentOutputDescriptor.of(OutPoint outpoint_arg,
TxOut output_arg,
byte[] channel_keys_id_arg,
long channel_value_satoshis_arg) |
Constructs a new StaticPaymentOutputDescriptor given each field
|
static ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ |
ThreeTuple_OutPointCVec_MonitorEventZPublicKeyZ.of(OutPoint a,
MonitorEvent[] b,
byte[] c) |
Creates a new C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ from the contained elements.
|
static TwoTuple_OutPointCVec_MonitorUpdateIdZZ |
TwoTuple_OutPointCVec_MonitorUpdateIdZZ.of(OutPoint a,
MonitorUpdateId[] b) |
Creates a new C2Tuple_OutPointCVec_MonitorUpdateIdZZ from the contained elements.
|
static TwoTuple_OutPointScriptZ |
TwoTuple_OutPointScriptZ.of(OutPoint a,
byte[] b) |
Creates a new C2Tuple_OutPointScriptZ from the contained elements.
|
static WatchedOutput |
WatchedOutput.of(byte[] block_hash_arg,
OutPoint outpoint_arg,
byte[] script_pubkey_arg) |
Constructs a new WatchedOutput given each field
|
static Result_OutPointDecodeErrorZ |
Result_OutPointDecodeErrorZ.ok(OutPoint o) |
Creates a new CResult_OutPointDecodeErrorZ in the success state.
|
ChannelMonitorUpdateStatus |
Persist.persist_new_channel(OutPoint channel_id,
ChannelMonitor data,
MonitorUpdateId update_id) |
Persist a new channel's data in response to a [`chain::Watch::watch_channel`] call.
|
ChannelMonitorUpdateStatus |
Persist.PersistInterface.persist_new_channel(OutPoint channel_id,
ChannelMonitor data,
MonitorUpdateId update_id) |
Persist a new channel's data in response to a [`chain::Watch::watch_channel`] call.
|
void |
ChannelTransactionParameters.set_funding_outpoint(OutPoint val) |
The late-bound funding outpoint
Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
|
void |
ChannelDetails.set_funding_txo(OutPoint val) |
The Channel's funding transaction output, if we've negotiated the funding transaction with
our counterparty already.
|
void |
DelayedPaymentOutputDescriptor.set_outpoint(OutPoint val) |
The outpoint which is spendable.
|
void |
StaticPaymentOutputDescriptor.set_outpoint(OutPoint val) |
The outpoint which is spendable.
|
void |
WatchedOutput.set_outpoint(OutPoint val) |
Outpoint identifying the transaction output.
|
static SpendableOutputDescriptor |
SpendableOutputDescriptor.static_output(OutPoint outpoint,
TxOut output) |
Utility method to constructs a new StaticOutput-variant SpendableOutputDescriptor
|
ChannelMonitorUpdateStatus |
Watch.update_channel(OutPoint funding_txo,
ChannelMonitorUpdate update) |
Updates a channel identified by `funding_txo` by applying `update` to its monitor.
|
ChannelMonitorUpdateStatus |
Watch.WatchInterface.update_channel(OutPoint funding_txo,
ChannelMonitorUpdate update) |
Updates a channel identified by `funding_txo` by applying `update` to its monitor.
|
static MonitorEvent |
MonitorEvent.update_failed(OutPoint a) |
Utility method to constructs a new UpdateFailed-variant MonitorEvent
|
ChannelMonitorUpdateStatus |
Persist.PersistInterface.update_persisted_channel(OutPoint channel_id,
ChannelMonitorUpdate update,
ChannelMonitor data,
MonitorUpdateId update_id) |
Update one channel's data.
|
ChannelMonitorUpdateStatus |
Persist.update_persisted_channel(OutPoint channel_id,
ChannelMonitorUpdate update,
ChannelMonitor data,
MonitorUpdateId update_id) |
Update one channel's data.
|
Result_TrustedClosingTransactionNoneZ |
ClosingTransaction.verify(OutPoint funding_outpoint) |
Verify our pre-built transaction.
|
ChannelMonitorUpdateStatus |
Watch.watch_channel(OutPoint funding_txo,
ChannelMonitor monitor) |
Watches a channel identified by `funding_txo` using `monitor`.
|
ChannelMonitorUpdateStatus |
Watch.WatchInterface.watch_channel(OutPoint funding_txo,
ChannelMonitor monitor) |
Watches a channel identified by `funding_txo` using `monitor`.
|