[Java] Update auto-generated bindings to include ProbabilisticScorer
[ldk-java] / src / main / java / org / ldk / enums / Recipient.java
diff --git a/src/main/java/org/ldk/enums/Recipient.java b/src/main/java/org/ldk/enums/Recipient.java
new file mode 100644 (file)
index 0000000..fb51877
--- /dev/null
@@ -0,0 +1,21 @@
+package org.ldk.enums;
+
+/**
+ * Specifies the recipient of an invoice, to indicate to [`KeysInterface::sign_invoice`] what node
+ * secret key should be used to sign the invoice.
+ */
+public enum Recipient {
+       /**
+        * The invoice should be signed with the local node secret key.
+        */
+       LDKRecipient_Node,
+       /**
+        * The invoice should be signed with the phantom node secret key. This secret key must be the
+        * same for all nodes participating in the [phantom node payment].
+        * 
+        * [phantom node payment]: PhantomKeysManager
+        */
+       LDKRecipient_PhantomNode,
+       ; static native void init();
+       static { init(); }
+}
\ No newline at end of file