Uses of Class
org.ldk.structs.Option_CVec_u8ZZ
-
Packages that use Option_CVec_u8ZZ Package Description org.ldk.structs -
-
Uses of Option_CVec_u8ZZ in org.ldk.structs
Subclasses of Option_CVec_u8ZZ in org.ldk.structs Modifier and Type Class Description static classOption_CVec_u8ZZ.NoneWhen we're in this state, this COption_CVec_u8ZZ contains nothingstatic classOption_CVec_u8ZZ.SomeWhen we're in this state, this COption_CVec_u8ZZ contains a crate::c_types::derived::CVec_u8ZMethods in org.ldk.structs that return Option_CVec_u8ZZ Modifier and Type Method Description Option_CVec_u8ZZOption_CVec_u8ZZ. clone()Creates a new COption_CVec_u8ZZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.Option_CVec_u8ZZRecipientOnionFields. get_payment_metadata()The payment metadata serves a similar purpose as [`Self::payment_secret`] but is of arbitrary length.Option_CVec_u8ZZAcceptChannel. get_shutdown_scriptpubkey()A request to pre-set the to-sender output's scriptPubkey for when we collaboratively closeOption_CVec_u8ZZAcceptChannelV2. get_shutdown_scriptpubkey()Optionally, a request to pre-set the to-channel-acceptor output's scriptPubkey for when we collaboratively closeOption_CVec_u8ZZOpenChannel. get_shutdown_scriptpubkey()A request to pre-set the to-sender output's `scriptPubkey` for when we collaboratively closeOption_CVec_u8ZZOpenChannelV2. get_shutdown_scriptpubkey()Optionally, a request to pre-set the to-channel-initiator output's scriptPubkey for when we collaboratively closeOption_CVec_u8ZZErroneousField. get_suggested_value()A value to use for the TLV field to avoid the error.Option_CVec_u8ZZBolt12Invoice. metadata()Opaque bytes set by the originating [`Offer`].Option_CVec_u8ZZInvoiceRequest. metadata()Opaque bytes set by the originator.Option_CVec_u8ZZOffer. metadata()Opaque bytes set by the originator.Option_CVec_u8ZZUnsignedBolt12Invoice. metadata()Opaque bytes set by the originating [`Offer`].Option_CVec_u8ZZUnsignedInvoiceRequest. metadata()Opaque bytes set by the originator.Option_CVec_u8ZZVerifiedInvoiceRequest. metadata()Opaque bytes set by the originator.static Option_CVec_u8ZZOption_CVec_u8ZZ. none()Constructs a new COption_CVec_u8ZZ containing nothingOption_CVec_u8ZZBolt11Invoice. payment_metadata()Get the payment metadata blob if one was included in the invoiceOption_CVec_u8ZZRawBolt11Invoice. payment_metadata()static Option_CVec_u8ZZOption_CVec_u8ZZ. some(byte[] o)Constructs a new COption_CVec_u8ZZ containing a crate::c_types::derived::CVec_u8ZOption_CVec_u8ZZStaticPaymentOutputDescriptor. witness_script()Returns the `witness_script` of the spendable output.Methods in org.ldk.structs with parameters of type Option_CVec_u8ZZ Modifier and Type Method Description static AcceptChannelAcceptChannel. of(byte[] temporary_channel_id_arg, long dust_limit_satoshis_arg, long max_htlc_value_in_flight_msat_arg, long channel_reserve_satoshis_arg, long htlc_minimum_msat_arg, int minimum_depth_arg, short to_self_delay_arg, short max_accepted_htlcs_arg, byte[] funding_pubkey_arg, byte[] revocation_basepoint_arg, byte[] payment_point_arg, byte[] delayed_payment_basepoint_arg, byte[] htlc_basepoint_arg, byte[] first_per_commitment_point_arg, Option_CVec_u8ZZ shutdown_scriptpubkey_arg, ChannelTypeFeatures channel_type_arg)Constructs a new AcceptChannel given each field Note that channel_type_arg (or a relevant inner pointer) may be NULL or all-0s to represent Nonestatic AcceptChannelV2AcceptChannelV2. of(byte[] temporary_channel_id_arg, long funding_satoshis_arg, long dust_limit_satoshis_arg, long max_htlc_value_in_flight_msat_arg, long htlc_minimum_msat_arg, int minimum_depth_arg, short to_self_delay_arg, short max_accepted_htlcs_arg, byte[] funding_pubkey_arg, byte[] revocation_basepoint_arg, byte[] payment_basepoint_arg, byte[] delayed_payment_basepoint_arg, byte[] htlc_basepoint_arg, byte[] first_per_commitment_point_arg, byte[] second_per_commitment_point_arg, Option_CVec_u8ZZ shutdown_scriptpubkey_arg, ChannelTypeFeatures channel_type_arg, COption_NoneZ require_confirmed_inputs_arg)Constructs a new AcceptChannelV2 given each field Note that channel_type_arg (or a relevant inner pointer) may be NULL or all-0s to represent Nonestatic ErroneousFieldErroneousField. of(long tlv_fieldnum_arg, Option_CVec_u8ZZ suggested_value_arg)Constructs a new ErroneousField given each fieldstatic OpenChannelOpenChannel. of(byte[] chain_hash_arg, byte[] temporary_channel_id_arg, long funding_satoshis_arg, long push_msat_arg, long dust_limit_satoshis_arg, long max_htlc_value_in_flight_msat_arg, long channel_reserve_satoshis_arg, long htlc_minimum_msat_arg, int feerate_per_kw_arg, short to_self_delay_arg, short max_accepted_htlcs_arg, byte[] funding_pubkey_arg, byte[] revocation_basepoint_arg, byte[] payment_point_arg, byte[] delayed_payment_basepoint_arg, byte[] htlc_basepoint_arg, byte[] first_per_commitment_point_arg, byte channel_flags_arg, Option_CVec_u8ZZ shutdown_scriptpubkey_arg, ChannelTypeFeatures channel_type_arg)Constructs a new OpenChannel given each field Note that channel_type_arg (or a relevant inner pointer) may be NULL or all-0s to represent Nonestatic OpenChannelV2OpenChannelV2. of(byte[] chain_hash_arg, byte[] temporary_channel_id_arg, int funding_feerate_sat_per_1000_weight_arg, int commitment_feerate_sat_per_1000_weight_arg, long funding_satoshis_arg, long dust_limit_satoshis_arg, long max_htlc_value_in_flight_msat_arg, long htlc_minimum_msat_arg, short to_self_delay_arg, short max_accepted_htlcs_arg, int locktime_arg, byte[] funding_pubkey_arg, byte[] revocation_basepoint_arg, byte[] payment_basepoint_arg, byte[] delayed_payment_basepoint_arg, byte[] htlc_basepoint_arg, byte[] first_per_commitment_point_arg, byte[] second_per_commitment_point_arg, byte channel_flags_arg, Option_CVec_u8ZZ shutdown_scriptpubkey_arg, ChannelTypeFeatures channel_type_arg, COption_NoneZ require_confirmed_inputs_arg)Constructs a new OpenChannelV2 given each field Note that channel_type_arg (or a relevant inner pointer) may be NULL or all-0s to represent NonevoidRecipientOnionFields. set_payment_metadata(Option_CVec_u8ZZ val)The payment metadata serves a similar purpose as [`Self::payment_secret`] but is of arbitrary length.voidAcceptChannel. set_shutdown_scriptpubkey(Option_CVec_u8ZZ val)A request to pre-set the to-sender output's scriptPubkey for when we collaboratively closevoidAcceptChannelV2. set_shutdown_scriptpubkey(Option_CVec_u8ZZ val)Optionally, a request to pre-set the to-channel-acceptor output's scriptPubkey for when we collaboratively closevoidOpenChannel. set_shutdown_scriptpubkey(Option_CVec_u8ZZ val)A request to pre-set the to-sender output's `scriptPubkey` for when we collaboratively closevoidOpenChannelV2. set_shutdown_scriptpubkey(Option_CVec_u8ZZ val)Optionally, a request to pre-set the to-channel-initiator output's scriptPubkey for when we collaboratively closevoidErroneousField. set_suggested_value(Option_CVec_u8ZZ val)A value to use for the TLV field to avoid the error.
-