projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
enums
/
SemanticError.java
diff --git
a/src/main/java/org/ldk/enums/SemanticError.java
b/src/main/java/org/ldk/enums/SemanticError.java
index 96023bd25a5589c6925666f7b2f84b99fdd123db..57f659ff9020fc4eee240b45ea3a7c8fda8c72e8 100644
(file)
--- a/
src/main/java/org/ldk/enums/SemanticError.java
+++ b/
src/main/java/org/ldk/enums/SemanticError.java
@@
-5,15
+5,46
@@
package org.ldk.enums;
* requirements sections in BOLT #11
*/
public enum SemanticError {
* requirements sections in BOLT #11
*/
public enum SemanticError {
+ /**
+ * The invoice is missing the mandatory payment hash
+ */
LDKSemanticError_NoPaymentHash,
LDKSemanticError_NoPaymentHash,
+ /**
+ * The invoice has multiple payment hashes which isn't allowed
+ */
LDKSemanticError_MultiplePaymentHashes,
LDKSemanticError_MultiplePaymentHashes,
+ /**
+ * No description or description hash are part of the invoice
+ */
LDKSemanticError_NoDescription,
LDKSemanticError_NoDescription,
+ /**
+ * The invoice contains multiple descriptions and/or description hashes which isn't allowed
+ */
LDKSemanticError_MultipleDescriptions,
LDKSemanticError_MultipleDescriptions,
+ /**
+ * The invoice is missing the mandatory payment secret, which all modern lightning nodes
+ * should provide.
+ */
LDKSemanticError_NoPaymentSecret,
LDKSemanticError_NoPaymentSecret,
+ /**
+ * The invoice contains multiple payment secrets
+ */
LDKSemanticError_MultiplePaymentSecrets,
LDKSemanticError_MultiplePaymentSecrets,
+ /**
+ * The invoice's features are invalid
+ */
LDKSemanticError_InvalidFeatures,
LDKSemanticError_InvalidFeatures,
+ /**
+ * The recovery id doesn't fit the signature/pub key
+ */
LDKSemanticError_InvalidRecoveryId,
LDKSemanticError_InvalidRecoveryId,
+ /**
+ * The invoice's signature is invalid
+ */
LDKSemanticError_InvalidSignature,
LDKSemanticError_InvalidSignature,
+ /**
+ * The invoice's amount was not a whole number of millisatoshis
+ */
LDKSemanticError_ImpreciseAmount,
; static native void init();
static { init(); }
LDKSemanticError_ImpreciseAmount,
; static native void init();
static { init(); }