Enum lightning::chain::keysinterface::Recipient
source · pub enum Recipient {
Node,
PhantomNode,
}
Expand description
Specifies the recipient of an invoice.
This indicates to NodeSigner::sign_invoice
what node secret key should be used to sign
the invoice.
Variants§
Node
The invoice should be signed with the local node secret key.
PhantomNode
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.