X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FSignedRawInvoice.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FSignedRawInvoice.java;h=7c3252cbc9de50225ae3eed6f17081923fd48d62;hb=4a36fa97d4eee96099c4a176ea845c52db27e64c;hp=248ffc6b4dc98efde7b586455bed9cb040360c64;hpb=46763b974f120d1795fca6c1e757578784f3305a;p=ldk-java diff --git a/src/main/java/org/ldk/structs/SignedRawInvoice.java b/src/main/java/org/ldk/structs/SignedRawInvoice.java index 248ffc6b..7c3252cb 100644 --- a/src/main/java/org/ldk/structs/SignedRawInvoice.java +++ b/src/main/java/org/ldk/structs/SignedRawInvoice.java @@ -9,11 +9,11 @@ import javax.annotation.Nullable; /** - * Represents a signed `RawInvoice` with cached hash. The signature is not checked and may be + * Represents a signed [`RawInvoice`] with cached hash. The signature is not checked and may be * invalid. * * # Invariants - * The hash has to be either from the deserialized invoice or from the serialized `raw_invoice`. + * The hash has to be either from the deserialized invoice or from the serialized [`RawInvoice`]. */ @SuppressWarnings("unchecked") // We correctly assign various generic arrays public class SignedRawInvoice extends CommonBase { @@ -60,7 +60,7 @@ public class SignedRawInvoice extends CommonBase { } /** - * Checks if two SignedRawInvoices contain equal inner contents. + * Generates a non-cryptographic 64-bit hash of the SignedRawInvoice. */ public long hash() { long ret = bindings.SignedRawInvoice_hash(this.ptr); @@ -88,7 +88,7 @@ public class SignedRawInvoice extends CommonBase { } /** - * The `RawInvoice` which was signed. + * The [`RawInvoice`] which was signed. */ public RawInvoice raw_invoice() { long ret = bindings.SignedRawInvoice_raw_invoice(this.ptr); @@ -100,7 +100,7 @@ public class SignedRawInvoice extends CommonBase { } /** - * The hash of the `RawInvoice` that was signed. + * The hash of the [`RawInvoice`] that was signed. */ public byte[] signable_hash() { byte[] ret = bindings.SignedRawInvoice_signable_hash(this.ptr); @@ -109,7 +109,7 @@ public class SignedRawInvoice extends CommonBase { } /** - * InvoiceSignature for the invoice. + * Signature for the invoice. */ public InvoiceSignature signature() { long ret = bindings.SignedRawInvoice_signature(this.ptr);