Struct lightning_signer::invoice::bolt12::BlindedPayInfo
source · pub struct BlindedPayInfo {
pub fee_base_msat: u32,
pub fee_proportional_millionths: u32,
pub cltv_expiry_delta: u16,
pub htlc_minimum_msat: u64,
pub htlc_maximum_msat: u64,
pub features: Features<BlindedHopContext>,
}Expand description
Information needed to route a payment across a BlindedPath.
Fields§
§fee_base_msat: u32Base fee charged (in millisatoshi) for the entire blinded path.
fee_proportional_millionths: u32Liquidity fee charged (in millionths of the amount transferred) for the entire blinded path (i.e., 10,000 is 1%).
cltv_expiry_delta: u16Number of blocks subtracted from an incoming HTLC’s cltv_expiry for the entire blinded
path.
htlc_minimum_msat: u64The minimum HTLC value (in millisatoshi) that is acceptable to all channel peers on the blinded path from the introduction node to the recipient, accounting for any fees, i.e., as seen by the recipient.
htlc_maximum_msat: u64The maximum HTLC value (in millisatoshi) that is acceptable to all channel peers on the blinded path from the introduction node to the recipient, accounting for any fees, i.e., as seen by the recipient.
features: Features<BlindedHopContext>Features set in encrypted_data_tlv for the encrypted_recipient_data TLV record in an
onion payload.
Trait Implementations§
source§impl Clone for BlindedPayInfo
impl Clone for BlindedPayInfo
source§fn clone(&self) -> BlindedPayInfo
fn clone(&self) -> BlindedPayInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BlindedPayInfo
impl Debug for BlindedPayInfo
source§impl Hash for BlindedPayInfo
impl Hash for BlindedPayInfo
source§impl PartialEq for BlindedPayInfo
impl PartialEq for BlindedPayInfo
source§fn eq(&self, other: &BlindedPayInfo) -> bool
fn eq(&self, other: &BlindedPayInfo) -> bool
self and other values to be equal, and is used
by ==.source§impl Readable for BlindedPayInfo
impl Readable for BlindedPayInfo
source§fn read<R>(r: &mut R) -> Result<BlindedPayInfo, DecodeError>where
R: Read,
fn read<R>(r: &mut R) -> Result<BlindedPayInfo, DecodeError>where R: Read,
Self in from the given Read.