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,
Option_ThirtyTwoBytesZ former_temporary_channel_id,
byte[] counterparty_node_id,
OutPoint funding_txo) |
Utility method to constructs a new ChannelPending-variant Event
|
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 MonitorEvent |
MonitorEvent.holder_force_closed(OutPoint a) |
Utility method to constructs a new HolderForceClosed-variant MonitorEvent
|
static Utxo |
Utxo.new_p2pkh(OutPoint outpoint,
long value,
byte[] pubkey_hash) |
Returns a `Utxo` with the `satisfaction_weight` estimate for a legacy P2PKH output.
|
static AnchorDescriptor |
AnchorDescriptor.of(ChannelDerivationParameters channel_derivation_parameters_arg,
OutPoint outpoint_arg) |
Constructs a new AnchorDescriptor given each field
|
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 next_outbound_htlc_minimum_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,
Option_ChannelShutdownStateZ channel_shutdown_state_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
Note that funding_txo_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
Note that channel_type_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
Note that config_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
|
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,
ChannelTypeFeatures channel_type_features_arg) |
Constructs a new ChannelTransactionParameters given each field
Note that counterparty_parameters_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
Note that funding_outpoint_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
|
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 Input |
Input.of(OutPoint outpoint_arg,
TxOut previous_utxo_arg,
long satisfaction_weight_arg) |
Constructs a new Input given each field
|
static StaticPaymentOutputDescriptor |
StaticPaymentOutputDescriptor.of(OutPoint outpoint_arg,
TxOut output_arg,
byte[] channel_keys_id_arg,
long channel_value_satoshis_arg,
ChannelTransactionParameters channel_transaction_parameters_arg) |
Constructs a new StaticPaymentOutputDescriptor given each field
Note that channel_transaction_parameters_arg (or a relevant inner pointer) may be NULL or all-0s to represent None
|
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_OutPointCVec_u8ZZ |
TwoTuple_OutPointCVec_u8ZZ.of(OutPoint a,
byte[] b) |
Creates a new C2Tuple_OutPointCVec_u8ZZ from the contained elements.
|
static Utxo |
Utxo.of(OutPoint outpoint_arg,
TxOut output_arg,
long satisfaction_weight_arg) |
Constructs a new Utxo given each field
|
static WatchedOutput |
WatchedOutput.of(Option_ThirtyTwoBytesZ 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 |
AnchorDescriptor.set_outpoint(OutPoint val) |
The transaction input's outpoint corresponding to the commitment transaction's anchor
output.
|
void |
DelayedPaymentOutputDescriptor.set_outpoint(OutPoint val) |
The outpoint which is spendable.
|
void |
Input.set_outpoint(OutPoint val) |
The unique identifier of the input.
|
void |
StaticPaymentOutputDescriptor.set_outpoint(OutPoint val) |
The outpoint which is spendable.
|
void |
Utxo.set_outpoint(OutPoint val) |
The unique identifier of the output.
|
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.
|
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.
|
Result_ChannelMonitorUpdateStatusNoneZ |
Watch.watch_channel(OutPoint funding_txo,
ChannelMonitor monitor) |
Watches a channel identified by `funding_txo` using `monitor`.
|
Result_ChannelMonitorUpdateStatusNoneZ |
Watch.WatchInterface.watch_channel(OutPoint funding_txo,
ChannelMonitor monitor) |
Watches a channel identified by `funding_txo` using `monitor`.
|