pub enum Payee {
Blinded {
route_hints: Vec<BlindedPaymentPath>,
features: Option<Bolt12InvoiceFeatures>,
},
Clear {
node_id: PublicKey,
route_hints: Vec<RouteHint>,
features: Option<Bolt11InvoiceFeatures>,
final_cltv_expiry_delta: u32,
},
}Expand description
The recipient of a payment, differing based on whether they’ve hidden their identity with route blinding.
Variants§
Blinded
The recipient provided blinded paths and payinfo to reach them. The blinded paths themselves
will be included in the final Route.
Fields
route_hints: Vec<BlindedPaymentPath>Aggregated routing info and blinded paths, for routing to the payee without knowing their node id.
features: Option<Bolt12InvoiceFeatures>Features supported by the payee.
May be set from the payee’s invoice. May be None if the invoice does not contain any
features.
Clear
The recipient included these route hints in their BOLT11 invoice.
Fields
route_hints: Vec<RouteHint>Hints for routing to the payee, containing channels connecting the payee to public nodes.
features: Option<Bolt11InvoiceFeatures>Features supported by the payee.
May be set from the payee’s invoice or via for_keysend. May be None if the invoice
does not contain any features.