Lightning Routing

Reading

Discussion Questions

  1. What exactly is the negative impact of a routing failure?

  2. How might payments get stuck/unstuck due to a routing failure?

  3. What kinds of routing failures are there and are some more severe than others?"

  4. Is the Lightning routing problem NP-hard?

Network topology creation & maintenance

  1. On the base layer, the quality of the nodes you connect to is largely irrelevant provided they are an honest peer. How does this differ in Lightning when opening a channel to a peer?

  2. What practical measures can nodes wishing to route on Lightning take to improve their success? Does this cause issues for new entrants?

Onion Routing - deep dive

  1. How do we combine two partial onions?

  2. When and why are ephemeral keys rotated? What would change if ephemeral keys were fully generated by the sender?

Routing problems and solutions (trampoline)

  1. What privacy tradeoffs do trampoline payments have? How can they be mitigated?

  2. Can trampoline payments be combined with atomic multi-path payments to mitigate privacy issues?

Multi-path payments (MPP)

  1. What is the difference between MPP and AMP payment splitting?

  2. What are the advantages and disadvantages of multipath routing?

  3. What problems could arise if a node participates in multiple paths of a multi-path payment?

Route Blinding

  1. Blinded routes over-estimate sender fees and time locks to provide better receiver privacy. Discuss this trade-off.

  2. Routing strategies such as route blinding and trampoline all add extra information to routing onions. Does this reduce privacy?

Gossip Protocol/Path Finding

  1. How can just-in-time routing help with routing payments?

  2. How can a griefing attack affect routing nodes and what are possible counter measures?

Last updated