org.ldk.enums.Recipient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ldk-java Show documentation
Show all versions of ldk-java Show documentation
LDK Java Bindings and Release Binaries
package org.ldk.enums;
/**
* Specifies the recipient of an invoice.
*
* This indicates to [`NodeSigner::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(); }
}