Uses of Class
org.ldk.structs.SpendableOutputDescriptor
-
Packages that use SpendableOutputDescriptor Package Description org.ldk.structs -
-
Uses of SpendableOutputDescriptor in org.ldk.structs
Subclasses of SpendableOutputDescriptor in org.ldk.structs Modifier and Type Class Description static classSpendableOutputDescriptor.DelayedPaymentOutputAn output to a P2WSH script which can be spent with a single signature after an `OP_CSV` delay.static classSpendableOutputDescriptor.StaticOutputAn output to a script which was provided via [`SignerProvider`] directly, either from [`get_destination_script`] or [`get_shutdown_scriptpubkey`], thus you should already know how to spend it.static classSpendableOutputDescriptor.StaticPaymentOutputAn output spendable exclusively by our payment key (i.e., the private key that corresponds to the `payment_point` in [`ChannelSigner::pubkeys`]).Fields in org.ldk.structs declared as SpendableOutputDescriptor Modifier and Type Field Description SpendableOutputDescriptor[]Event.SpendableOutputs. outputsThe outputs which you should store as spendable by you.SpendableOutputDescriptorResult_SpendableOutputDescriptorDecodeErrorZ.Result_SpendableOutputDescriptorDecodeErrorZ_OK. resMethods in org.ldk.structs that return SpendableOutputDescriptor Modifier and Type Method Description SpendableOutputDescriptorSpendableOutputDescriptor. clone()Creates a copy of the SpendableOutputDescriptorstatic SpendableOutputDescriptorSpendableOutputDescriptor. delayed_payment_output(DelayedPaymentOutputDescriptor a)Utility method to constructs a new DelayedPaymentOutput-variant SpendableOutputDescriptorSpendableOutputDescriptor[]ChannelMonitor. get_spendable_outputs(byte[] tx, int confirmation_height)Returns the descriptors for relevant outputs (i.e., those that we can spend) within the transaction if they exist and the transaction has at least [`ANTI_REORG_DELAY`] confirmations.static SpendableOutputDescriptorSpendableOutputDescriptor. static_output(OutPoint outpoint, TxOut output)Utility method to constructs a new StaticOutput-variant SpendableOutputDescriptorstatic SpendableOutputDescriptorSpendableOutputDescriptor. static_payment_output(StaticPaymentOutputDescriptor a)Utility method to constructs a new StaticPaymentOutput-variant SpendableOutputDescriptorMethods in org.ldk.structs with parameters of type SpendableOutputDescriptor Modifier and Type Method Description booleanSpendableOutputDescriptor. eq(SpendableOutputDescriptor b)Checks if two SpendableOutputDescriptors contain equal inner contents.static Result_SpendableOutputDescriptorDecodeErrorZResult_SpendableOutputDescriptorDecodeErrorZ. ok(SpendableOutputDescriptor o)Creates a new CResult_SpendableOutputDescriptorDecodeErrorZ in the success state.Result_CVec_u8ZNoneZKeysManager. sign_spendable_outputs_psbt(SpendableOutputDescriptor[] descriptors, byte[] psbt)Signs the given [`PartiallySignedTransaction`] which spends the given [`SpendableOutputDescriptor`]s.Result_TransactionNoneZKeysManager. 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_TransactionNoneZPhantomKeysManager. 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 EventEvent. spendable_outputs(SpendableOutputDescriptor[] outputs, Option_ThirtyTwoBytesZ channel_id)Utility method to constructs a new SpendableOutputs-variant Eventstatic Result_C2Tuple_CVec_u8ZusizeZNoneZUtilMethods. 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).
-