breez_sdk_liquid::lightning_125::ln::channelmanager

Constant MAX_SHORT_LIVED_RELATIVE_EXPIRY

pub const MAX_SHORT_LIVED_RELATIVE_EXPIRY: Duration;
Expand description

The maximum expiration from the current time where an Offer or Refund is considered short-lived, while anything with a greater expiration is considered long-lived.

Using ChannelManager::create_offer_builder or ChannelManager::create_refund_builder, will included a BlindedMessagePath created using:

Using compact BlindedMessagePaths may provide better privacy as the MessageRouter could select more hops. However, since they use short channel ids instead of pubkeys, they are more likely to become invalid over time as channels are closed. Thus, they are only suitable for short-term use.