Result_NoneAPIErrorZ |
ChannelManager.close_channel_with_feerate_and_script(byte[] channel_id,
byte[] counterparty_node_id,
Option_u32Z target_feerate_sats_per_1000_weight,
ShutdownScript shutdown_script) |
Begins the process of closing a channel.
|
static ChannelConfigUpdate |
ChannelConfigUpdate.of(Option_u32Z forwarding_fee_proportional_millionths_arg,
Option_u32Z forwarding_fee_base_msat_arg,
Option_u16Z cltv_expiry_delta_arg,
Option_MaxDustHTLCExposureZ max_dust_htlc_exposure_msat_arg,
Option_u64Z force_close_avoidance_max_fee_satoshis_arg) |
Constructs a new ChannelConfigUpdate 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 HTLCOutputInCommitment |
HTLCOutputInCommitment.of(boolean offered_arg,
long amount_msat_arg,
int cltv_expiry_arg,
byte[] payment_hash_arg,
Option_u32Z transaction_output_index_arg) |
Constructs a new HTLCOutputInCommitment given each field
|
static Event |
Event.payment_claimable(byte[] receiver_node_id,
byte[] payment_hash,
RecipientOnionFields onion_fields,
long amount_msat,
long counterparty_skimmed_fee_msat,
PaymentPurpose purpose,
Option_ThirtyTwoBytesZ via_channel_id,
Option_U128Z via_user_channel_id,
Option_u32Z claim_deadline) |
Utility method to constructs a new PaymentClaimable-variant Event
|
void |
ChannelDetails.set_confirmations(Option_u32Z val) |
The current number of confirmations on the funding transaction.
|
void |
ChannelDetails.set_confirmations_required(Option_u32Z val) |
The number of required confirmations on the funding transaction before the funding will be
considered \"locked\".
|
void |
ChannelDetails.set_feerate_sat_per_1000_weight(Option_u32Z val) |
The currently negotiated fee rate denominated in satoshi per 1000 weight units,
which is applied to commitment and HTLC transactions.
|
void |
ChannelConfigUpdate.set_forwarding_fee_base_msat(Option_u32Z val) |
|
void |
ChannelConfigUpdate.set_forwarding_fee_proportional_millionths(Option_u32Z val) |
|
void |
HTLCOutputInCommitment.set_transaction_output_index(Option_u32Z val) |
The position within the commitment transactions' outputs.
|
Result_TransactionNoneZ |
KeysManager.spend_spendable_outputs(SpendableOutputDescriptor[] descriptors,
TxOut[] outputs,
byte[] change_destination_script,
int feerate_sat_per_1000_weight,
Option_u32Z locktime) |
Creates a [`Transaction`] which spends the given descriptors to the given outputs, plus an
output to the given change destination (if sufficient change value remains).
|
Result_TransactionNoneZ |
PhantomKeysManager.spend_spendable_outputs(SpendableOutputDescriptor[] descriptors,
TxOut[] outputs,
byte[] change_destination_script,
int feerate_sat_per_1000_weight,
Option_u32Z locktime) |
See [`KeysManager::spend_spendable_outputs`] for documentation on this method.
|
static Result_C2Tuple_CVec_u8ZusizeZNoneZ |
UtilMethods.SpendableOutputDescriptor_create_spendable_outputs_psbt(SpendableOutputDescriptor[] descriptors,
TxOut[] outputs,
byte[] change_destination_script,
int feerate_sat_per_1000_weight,
Option_u32Z locktime) |
Creates an unsigned [`PartiallySignedTransaction`] which spends the given descriptors to
the given outputs, plus an output to the given change destination (if sufficient
change value remains).
|