Chaincode Seminars
  • Seminar for Bitcoin and Lightning protocol
  • Bitcoin Protocol Development
    • Welcome to the Bitcoin Protocol Development Seminar
    • SegWit
    • Mining and Network Block Propagation
    • P2P
    • Scripts and Wallets
  • Lightning Protocol Development
    • Payment Channels, Intro to Lightning, and HTLCs
    • How the layers of Lightning Fit Together
    • Lightning Routing
    • Lightning Limitations
    • The Future of Lightning
Powered by GitBook
On this page
  • Reading
  • Discussion Questions
  • Network topology creation & maintenance
  • Onion Routing - deep dive
  • Routing problems and solutions (trampoline)
  • Multi-path payments (MPP)
  • Route Blinding
  • Gossip Protocol/Path Finding
Edit on GitHub
  1. Lightning Protocol Development

Lightning Routing

Reading

Content
Time (min)

30

15

50

20

35

25

15

20

40

20

20

80

30

60

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?

PreviousHow the layers of Lightning Fit TogetherNextLightning Limitations

Last updated 2 months ago

(optional)

Network topology creation & maintenance
Onion Routing (video)
Onion Routing - deep dive
Payment Pathfinding for Reliability
Routing problems and solutions (ignore rendezvous except for historical comparison)
Trampoline Onion Routing
Amount-independent payment routing in Lightning Networks
Multi-path payments: Making Channel Balances Add Up
Route Blinding
Improving error attribution
Rapid Gossip Sync
Gossip Protocol/Path Finding
Sphinx
Optimally Reliable & Cheap Payment Flows on the Lightning Network