cbbfd7859e766f8646a68f1a8efe8ea6426f83f8
[ldk-java] / c_sharp / src / org / ldk / enums / Recipient.cs
1 namespace org { namespace ldk { namespace enums {/**
2  * Specifies the recipient of an invoice.
3  * 
4  * This indicates to [`KeysInterface::sign_invoice`] what node secret key should be used to sign
5  * the invoice.
6  */
7 public enum Recipient {
8         /**
9          * The invoice should be signed with the local node secret key.
10          */
11         LDKRecipient_Node,
12         /**
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].
15          * 
16          * [phantom node payment]: PhantomKeysManager
17          */
18         LDKRecipient_PhantomNode,
19 }} } }