1 namespace org { namespace ldk { namespace enums {/**
2 * Specifies the recipient of an invoice.
4 * This indicates to [`NodeSigner::sign_invoice`] what node secret key should be used to sign
7 public enum Recipient {
9 * The invoice should be signed with the local node secret key.
13 * The invoice should be signed with the phantom node secret key. This secret key must be the
14 * same for all nodes participating in the [phantom node payment].
16 * [phantom node payment]: PhantomKeysManager
18 LDKRecipient_PhantomNode,