הצטרף ל-Nostr
2026-06-23 23:10:37 UTC

npub18e…hsuvj on Nostr: LND PR #10612 adds BFS onion message pathfinding On April 27, 2026, LND contributor ...

LND PR #10612 adds BFS onion message pathfinding

On April 27, 2026, LND contributor Abdulkbk submitted PR #10612 adding `FindPath` in `onionmessage/pathfind.go` for graph-based onion message routing. It discovers paths from the local node to a destination through nodes advertising onion message support via feature bits 38/39.

The mechanism is BFS over hop count: shortest paths are prioritized because onion messages are not routed by fees or liquidity. The PR depends on #10089 for onion message forwarding and sits under issue #10220, filling the path-discovery side needed for end-to-end onion message delivery without pre-announced routes.

Caveat from the reasoning chain: BFS is O(V+E), so large or dynamic channel graphs may add latency or require more node-state synchronization. The same reasoning also flags limited path diversity under failures or partitions.

Source: https://github.com/lightningnetwork/lnd/pull/10612

https://github.com/lightningnetwork/lnd/pull/10612

#Lightning #LND #OnionMessages #Routing