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 Sha256Sha256. clone()Creates a copy of the Sha256Sha256RawInvoice. description_hash()Note that the return value (or a relevant inner pointer) may be NULL or all-0s to represent NoneSha256RawInvoice. 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_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_with_description_hash(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, Sha256 description_hash, int invoice_expiry_delta_secs)Utility to construct an invoice.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, Sha256 description_hash, long duration_since_epoch, int invoice_expiry_delta_secs)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_with_description_hash(Option_u64Z amt_msat, byte[] payment_hash, int invoice_expiry_delta_secs, Sha256 description_hash, PhantomRouteHints[] phantom_route_hints, KeysInterface keys_manager, Currency network)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.booleanSha256. eq(Sha256 b)Checks if two Sha256s contain equal inner contents.
-