Uses of Class
org.ldk.enums.Currency
-
Packages that use Currency Package Description org.ldk.enums org.ldk.impl org.ldk.structs -
-
Uses of Currency in org.ldk.enums
Methods in org.ldk.enums that return Currency Modifier and Type Method Description static CurrencyCurrency. valueOf(String name)Returns the enum constant of this type with the specified name.static Currency[]Currency. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Currency in org.ldk.impl
Methods in org.ldk.impl that return Currency Modifier and Type Method Description static Currencybindings. Currency_bitcoin()static Currencybindings. Currency_bitcoin_testnet()static Currencybindings. Currency_clone(long orig)static Currencybindings. Currency_regtest()static Currencybindings. Currency_signet()static Currencybindings. Currency_simnet()static Currencybindings. Invoice_currency(long this_arg)static Currencybindings. RawInvoice_currency(long this_arg)Methods in org.ldk.impl with parameters of type Currency Modifier and Type Method Description static longbindings. create_invoice_from_channelmanager(long channelmanager, long node_signer, long logger, Currency network, long amt_msat, String description, int invoice_expiry_delta_secs, long min_final_cltv_expiry_delta)static longbindings. create_invoice_from_channelmanager_and_duration_since_epoch(long channelmanager, long node_signer, long logger, Currency network, long amt_msat, String description, long duration_since_epoch, int invoice_expiry_delta_secs, long min_final_cltv_expiry_delta)static longbindings. create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(long channelmanager, long node_signer, long logger, Currency network, long amt_msat, String description, long duration_since_epoch, int invoice_expiry_delta_secs, byte[] payment_hash, long min_final_cltv_expiry_delta)static longbindings. create_invoice_from_channelmanager_with_description_hash(long channelmanager, long node_signer, long logger, Currency network, long amt_msat, long description_hash, int invoice_expiry_delta_secs, long min_final_cltv_expiry_delta)static longbindings. create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(long channelmanager, long node_signer, long logger, Currency network, long amt_msat, long description_hash, long duration_since_epoch, int invoice_expiry_delta_secs, long min_final_cltv_expiry_delta)static longbindings. create_phantom_invoice(long amt_msat, byte[] payment_hash, String description, int invoice_expiry_delta_secs, long[] phantom_route_hints, long entropy_source, long node_signer, long logger, Currency network, long min_final_cltv_expiry_delta, long duration_since_epoch)static longbindings. create_phantom_invoice_with_description_hash(long amt_msat, byte[] payment_hash, int invoice_expiry_delta_secs, long description_hash, long[] phantom_route_hints, long entropy_source, long node_signer, long logger, Currency network, long min_final_cltv_expiry_delta, long duration_since_epoch) -
Uses of Currency in org.ldk.structs
Methods in org.ldk.structs that return Currency Modifier and Type Method Description CurrencyInvoice. currency()Returns the currency for which the invoice was issuedCurrencyRawInvoice. currency()Methods in org.ldk.structs with parameters of type Currency Modifier and Type Method Description static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager(ChannelManager channelmanager, NodeSigner node_signer, Logger logger, Currency network, Option_u64Z amt_msat, String description, int invoice_expiry_delta_secs, Option_u16Z min_final_cltv_expiry_delta)Utility to construct an invoice.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_and_duration_since_epoch(ChannelManager channelmanager, NodeSigner node_signer, Logger logger, Currency network, Option_u64Z amt_msat, String description, long duration_since_epoch, int invoice_expiry_delta_secs, Option_u16Z min_final_cltv_expiry_delta)See [`create_invoice_from_channelmanager`] This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not available and the current time is supplied by the caller.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_and_duration_since_epoch_with_payment_hash(ChannelManager channelmanager, NodeSigner node_signer, Logger logger, Currency network, Option_u64Z amt_msat, String description, long duration_since_epoch, int invoice_expiry_delta_secs, byte[] payment_hash, Option_u16Z min_final_cltv_expiry_delta)See [`create_invoice_from_channelmanager_and_duration_since_epoch`] This version allows for providing a custom [`PaymentHash`] for the invoice.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_with_description_hash(ChannelManager channelmanager, NodeSigner node_signer, Logger logger, Currency network, Option_u64Z amt_msat, Sha256 description_hash, int invoice_expiry_delta_secs, Option_u16Z min_final_cltv_expiry_delta)Utility to construct an invoice.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(ChannelManager channelmanager, NodeSigner node_signer, Logger logger, Currency network, Option_u64Z amt_msat, Sha256 description_hash, long duration_since_epoch, int invoice_expiry_delta_secs, Option_u16Z min_final_cltv_expiry_delta)See [`create_invoice_from_channelmanager_with_description_hash`] This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not available and the current time is supplied by the caller.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_phantom_invoice(Option_u64Z amt_msat, byte[] payment_hash, String description, int invoice_expiry_delta_secs, PhantomRouteHints[] phantom_route_hints, EntropySource entropy_source, NodeSigner node_signer, Logger logger, Currency network, Option_u16Z min_final_cltv_expiry_delta, long duration_since_epoch)Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\" See [`PhantomKeysManager`] for more information on phantom node payments.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_phantom_invoice_with_description_hash(Option_u64Z amt_msat, byte[] payment_hash, int invoice_expiry_delta_secs, Sha256 description_hash, PhantomRouteHints[] phantom_route_hints, EntropySource entropy_source, NodeSigner node_signer, Logger logger, Currency network, Option_u16Z min_final_cltv_expiry_delta, long duration_since_epoch)Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\" See [`PhantomKeysManager`] for more information on phantom node payments.
-