Uses of Class
org.ldk.structs.Sha256
-
Packages that use Sha256 Package Description org.ldk.structs -
-
Uses of Sha256 in org.ldk.structs
Methods in org.ldk.structs that return Sha256 Modifier and Type Method Description Sha256
Sha256. clone()
Creates a copy of the Sha256Sha256
RawInvoice. description_hash()
Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent Nonestatic Sha256
Sha256. from_bytes(byte[] bytes)
Constructs a new [`Sha256`] from the given bytes, which are assumed to be the output of a single sha256 hash.Sha256
RawInvoice. payment_hash()
Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent NoneMethods in org.ldk.structs with parameters of type Sha256 Modifier and Type Method Description static Result_InvoiceSignOrCreationErrorZ
UtilMethods. 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_InvoiceSignOrCreationErrorZ
UtilMethods. 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_InvoiceSignOrCreationErrorZ
UtilMethods. 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.boolean
Sha256. eq(Sha256 b)
Checks if two Sha256s contain equal inner contents.
-