All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ldk.enums.Recipient Maven / Gradle / Ivy

There is a newer version: 0.0.124.0
Show newest version
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(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy