]> git.bitcoin.ninja Git - ldk-java/blob - c_sharp/src/org/ldk/enums/Bolt11SemanticError.cs
[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / enums / Bolt11SemanticError.cs
1 namespace org { namespace ldk { namespace enums {/**
2  * Errors that may occur when converting a [`RawBolt11Invoice`] to a [`Bolt11Invoice`]. They relate to
3  * the requirements sections in BOLT #11
4  */
5 public enum Bolt11SemanticError {
6         /**
7          * The invoice is missing the mandatory payment hash
8          */
9         LDKBolt11SemanticError_NoPaymentHash,
10         /**
11          * The invoice has multiple payment hashes which isn't allowed
12          */
13         LDKBolt11SemanticError_MultiplePaymentHashes,
14         /**
15          * No description or description hash are part of the invoice
16          */
17         LDKBolt11SemanticError_NoDescription,
18         /**
19          * The invoice contains multiple descriptions and/or description hashes which isn't allowed
20          */
21         LDKBolt11SemanticError_MultipleDescriptions,
22         /**
23          * The invoice is missing the mandatory payment secret, which all modern lightning nodes
24          * should provide.
25          */
26         LDKBolt11SemanticError_NoPaymentSecret,
27         /**
28          * The invoice contains multiple payment secrets
29          */
30         LDKBolt11SemanticError_MultiplePaymentSecrets,
31         /**
32          * The invoice's features are invalid
33          */
34         LDKBolt11SemanticError_InvalidFeatures,
35         /**
36          * The recovery id doesn't fit the signature/pub key
37          */
38         LDKBolt11SemanticError_InvalidRecoveryId,
39         /**
40          * The invoice's signature is invalid
41          */
42         LDKBolt11SemanticError_InvalidSignature,
43         /**
44          * The invoice's amount was not a whole number of millisatoshis
45          */
46         LDKBolt11SemanticError_ImpreciseAmount,
47 }} } }