Skip to content

onion_message: sending through trampoline, improvements#10646

Open
f321x wants to merge 5 commits into
spesmilo:masterfrom
f321x:onion_message_improvements_bolt12
Open

onion_message: sending through trampoline, improvements#10646
f321x wants to merge 5 commits into
spesmilo:masterfrom
f321x:onion_message_improvements_bolt12

Conversation

@f321x
Copy link
Copy Markdown
Member

@f321x f321x commented May 13, 2026

  • splits get_blinded_paths_to_me for more maintainability
  • handles missing remote channel updates when assembling blinded paths
  • introduces using trampoline peers to deliver onion messages if gossip is unavailable
  • changes pathfinding for onion messages to not rely on channel amount constraints
  • filter channels by features when creating blinded paths, raise exc if none are available

f321x added 4 commits May 13, 2026 11:56
Separates the payinfo creation from get_blinded_paths_to_me into a separate
function.
Handle missing remote channel_update when creating payinfo
for blinded path by skipping the affected channel.
Ignore channel amount constraints when doing pathfinding for an
onion message. Onion messages don't need to move funds so pathfinding
shouldn't penalize channels based on fake payment amounts.
@f321x f321x force-pushed the onion_message_improvements_bolt12 branch from 0651cbe to 9994bc7 Compare May 13, 2026 09:56
Filter channels/peers in `get_blinded_paths_to_me` depending on
the context (onion message or blinded payment path). Raise
according exceptions when no channel/peer is available.
@SomberNight SomberNight added this to the bolt12 milestone May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants